Fix 'This server does not support the system graph components' error caused by Docker tag mismatch (#37)
Browse files- .github/workflows/ci-cd.yaml +17 -5
- Dockerfile +2 -3
- german.yaml +32 -0
.github/workflows/ci-cd.yaml
CHANGED
@@ -131,7 +131,12 @@ jobs:
|
|
131 |
with:
|
132 |
python-version: ${{ env.PYTHON_VERSION }}
|
133 |
- name: Startup a Neo4J database
|
134 |
-
run:
|
|
|
|
|
|
|
|
|
|
|
135 |
- name: Wait for database to be ready
|
136 |
uses: iFaxity/wait-on-action@v1
|
137 |
with:
|
@@ -159,7 +164,14 @@ jobs:
|
|
159 |
with:
|
160 |
python-version: ${{ env.PYTHON_VERSION }}
|
161 |
- name: Startup a Neo4J database
|
162 |
-
run:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
- name: Wait for database to be ready
|
164 |
uses: iFaxity/wait-on-action@v1
|
165 |
with:
|
@@ -186,7 +198,7 @@ jobs:
|
|
186 |
if: github.ref == 'refs/heads/master'
|
187 |
uses: docker/login-action@v2
|
188 |
with:
|
189 |
-
username:
|
190 |
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
191 |
- name: Push image to DockerHub
|
192 |
if: github.ref == 'refs/heads/master'
|
@@ -194,14 +206,14 @@ jobs:
|
|
194 |
with:
|
195 |
context: .
|
196 |
push: true
|
197 |
-
tags:
|
198 |
- name: Push image Description
|
199 |
if: github.ref == 'refs/heads/master'
|
200 |
uses: peter-evans/dockerhub-description@v4
|
201 |
with:
|
202 |
username: jack20191124
|
203 |
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
204 |
-
repository:
|
205 |
readme-filepath: README.md
|
206 |
|
207 |
cleanup-neo4j:
|
|
|
131 |
with:
|
132 |
python-version: ${{ env.PYTHON_VERSION }}
|
133 |
- name: Startup a Neo4J database
|
134 |
+
run: |
|
135 |
+
docker run \
|
136 |
+
--publish=7474:7474 \
|
137 |
+
--publish=7687:7687 \
|
138 |
+
--env=NEO4J_AUTH=none \
|
139 |
+
--env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes neo4j:${{ env.NEO4J_ENTERPRISE_VERSION }} &
|
140 |
- name: Wait for database to be ready
|
141 |
uses: iFaxity/wait-on-action@v1
|
142 |
with:
|
|
|
164 |
with:
|
165 |
python-version: ${{ env.PYTHON_VERSION }}
|
166 |
- name: Startup a Neo4J database
|
167 |
+
run: |
|
168 |
+
docker run \
|
169 |
+
--publish=7474:7474 \
|
170 |
+
--publish=7687:7687 \
|
171 |
+
--env=NEO4J_AUTH=none \
|
172 |
+
--env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
|
173 |
+
--name data-loader \
|
174 |
+
neo4j:${{ env.NEO4J_ENTERPRISE_VERSION }} &
|
175 |
- name: Wait for database to be ready
|
176 |
uses: iFaxity/wait-on-action@v1
|
177 |
with:
|
|
|
198 |
if: github.ref == 'refs/heads/master'
|
199 |
uses: docker/login-action@v2
|
200 |
with:
|
201 |
+
username: jack20191124
|
202 |
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
203 |
- name: Push image to DockerHub
|
204 |
if: github.ref == 'refs/heads/master'
|
|
|
206 |
with:
|
207 |
context: .
|
208 |
push: true
|
209 |
+
tags: jack20191124/wilhelm-vocabulary:latest
|
210 |
- name: Push image Description
|
211 |
if: github.ref == 'refs/heads/master'
|
212 |
uses: peter-evans/dockerhub-description@v4
|
213 |
with:
|
214 |
username: jack20191124
|
215 |
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
216 |
+
repository: jack20191124/wilhelm-vocabulary
|
217 |
readme-filepath: README.md
|
218 |
|
219 |
cleanup-neo4j:
|
Dockerfile
CHANGED
@@ -11,10 +11,9 @@
|
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
-
FROM neo4j:5.
|
15 |
|
16 |
LABEL maintainer="Jiaqi (Jack) Liu"
|
17 |
LABEL maintainer-email="jack20220723@gmail.com"
|
18 |
|
19 |
-
|
20 |
-
COPY data/ /var/lib/neo4j/data
|
|
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
+
FROM neo4j:5.24-enterprise
|
15 |
|
16 |
LABEL maintainer="Jiaqi (Jack) Liu"
|
17 |
LABEL maintainer-email="jack20220723@gmail.com"
|
18 |
|
19 |
+
COPY data/ /data
|
|
german.yaml
CHANGED
@@ -1617,6 +1617,14 @@ vocabulary:
|
|
1617 |
- [genitive, Stadtzentrums, Stadtzentren]
|
1618 |
- [dative, Stadtzentrum, Stadtzentren]
|
1619 |
- [accusative, Stadtzentrum, Stadtzentren]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1620 |
- term: die Sprachschule
|
1621 |
definition: language school
|
1622 |
declension:
|
@@ -2341,6 +2349,14 @@ vocabulary:
|
|
2341 |
- (gymnasium) to work out
|
2342 |
- term: fotografieren
|
2343 |
definition: to take photos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2344 |
- term: die Fotografie
|
2345 |
definition:
|
2346 |
- (uncountable) the photography
|
@@ -2952,6 +2968,10 @@ vocabulary:
|
|
2952 |
- [accusative, Feierabend, Feierabende ]
|
2953 |
- term: Feierabend haben
|
2954 |
definition: call it a day (hat sie Feierabend, she finishes work)
|
|
|
|
|
|
|
|
|
2955 |
- term: einkaufen
|
2956 |
definition:
|
2957 |
- (intransitive) to shop
|
@@ -3599,6 +3619,18 @@ vocabulary:
|
|
3599 |
- (Physics) the space
|
3600 |
- term: leben
|
3601 |
definition: to be alive
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3602 |
|
3603 |
|
3604 |
|
|
|
1617 |
- [genitive, Stadtzentrums, Stadtzentren]
|
1618 |
- [dative, Stadtzentrum, Stadtzentren]
|
1619 |
- [accusative, Stadtzentrum, Stadtzentren]
|
1620 |
+
- term: die Schule
|
1621 |
+
definition: the school
|
1622 |
+
declension:
|
1623 |
+
- ["", singular, plural ]
|
1624 |
+
- [nominative, Schule, Schulen]
|
1625 |
+
- [genitive, Schule, Schulen]
|
1626 |
+
- [dative, Schule, Schulen]
|
1627 |
+
- [accusative, Schule, Schulen]
|
1628 |
- term: die Sprachschule
|
1629 |
definition: language school
|
1630 |
declension:
|
|
|
2349 |
- (gymnasium) to work out
|
2350 |
- term: fotografieren
|
2351 |
definition: to take photos
|
2352 |
+
- term: das Foto
|
2353 |
+
definition: the photograph
|
2354 |
+
declension:
|
2355 |
+
- ["", singular, plural]
|
2356 |
+
- [nominative, Foto, Fotos ]
|
2357 |
+
- [genitive, Fotos, Fotos ]
|
2358 |
+
- [dative, Foto, Fotos ]
|
2359 |
+
- [accusative, Foto, Fotos ]
|
2360 |
- term: die Fotografie
|
2361 |
definition:
|
2362 |
- (uncountable) the photography
|
|
|
2968 |
- [accusative, Feierabend, Feierabende ]
|
2969 |
- term: Feierabend haben
|
2970 |
definition: call it a day (hat sie Feierabend, she finishes work)
|
2971 |
+
- term: Wann hast du Feierabend?
|
2972 |
+
definition: When do finish work?
|
2973 |
+
- term: Ich habe um vier Uhr Feierabend.
|
2974 |
+
definition: I finish work at four o'clock.
|
2975 |
- term: einkaufen
|
2976 |
definition:
|
2977 |
- (intransitive) to shop
|
|
|
3619 |
- (Physics) the space
|
3620 |
- term: leben
|
3621 |
definition: to be alive
|
3622 |
+
- term: stellen
|
3623 |
+
definition: to put
|
3624 |
+
- term: hinten
|
3625 |
+
definition: (adv.) behind
|
3626 |
+
- term: das Regal
|
3627 |
+
definition: the shelf
|
3628 |
+
declension:
|
3629 |
+
- ["", singular, plural ]
|
3630 |
+
- [nominative, Regal, Regale ]
|
3631 |
+
- [genitive, "Regales, Regals", Regale ]
|
3632 |
+
- [dative, Regal, Regalen]
|
3633 |
+
- [accusative, Regal, Regale ]
|
3634 |
|
3635 |
|
3636 |
|