Skip to content

Commit 4d8466c

Browse files
committed
Switch back to array syntax
1 parent fdd2da0 commit 4d8466c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

app.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ services:
7373
image: registry.gitlab.com/finestructure/swiftpackageindex:${VERSION}
7474
<<: *shared
7575
depends_on:
76-
migrate:
77-
condition: service_completed_successfully
76+
- migrate:
77+
condition: service_completed_successfully
7878
ports:
7979
- '80:80'
8080
command: ["serve", "--env", "${ENV}", "--hostname", "0.0.0.0", "--port", "80"]
@@ -90,8 +90,8 @@ services:
9090
image: registry.gitlab.com/finestructure/swiftpackageindex:${VERSION}
9191
<<: *shared
9292
depends_on:
93-
migrate:
94-
condition: service_completed_successfully
93+
- migrate:
94+
condition: service_completed_successfully
9595
entrypoint: ["/bin/bash"]
9696
command: ["-c", "--",
9797
"trap : TERM INT; while true; do ./Run reconcile --env ${ENV}; sleep ${RECONCILE_SLEEP:-120}; done"
@@ -110,8 +110,8 @@ services:
110110
image: registry.gitlab.com/finestructure/swiftpackageindex:${VERSION}
111111
<<: *shared
112112
depends_on:
113-
migrate:
114-
condition: service_completed_successfully
113+
- migrate:
114+
condition: service_completed_successfully
115115
entrypoint: ["/bin/bash"]
116116
command: ["-c", "--",
117117
"trap : TERM INT; while true; do ./Run ingest --env ${ENV} --limit ${INGEST_LIMIT:-100}; sleep ${INGEST_SLEEP:-280}; done"
@@ -130,8 +130,8 @@ services:
130130
image: registry.gitlab.com/finestructure/swiftpackageindex:${VERSION}
131131
<<: *shared
132132
depends_on:
133-
migrate:
134-
condition: service_completed_successfully
133+
- migrate:
134+
condition: service_completed_successfully
135135
entrypoint: ["/bin/bash"]
136136
command: ["-c", "--",
137137
"trap : TERM INT; while true; do ./Run analyze --env ${ENV} --limit ${ANALYZE_LIMIT:-5}; sleep ${ANALYZE_SLEEP:-10}; done"
@@ -150,8 +150,8 @@ services:
150150
image: registry.gitlab.com/finestructure/swiftpackageindex:${VERSION}
151151
<<: *shared
152152
depends_on:
153-
migrate:
154-
condition: service_completed_successfully
153+
- migrate:
154+
condition: service_completed_successfully
155155
entrypoint: ["/bin/bash"]
156156
command: ["-c", "--",
157157
"trap : TERM INT; while true; do ./Run trigger-builds --env ${ENV} --limit ${BUILD_TRIGGER_LIMIT:-1}; sleep ${BUILD_TRIGGER_SLEEP:-60}; done"
@@ -169,8 +169,8 @@ services:
169169
image: registry.gitlab.com/finestructure/swiftpackageindex:${VERSION}
170170
<<: *shared
171171
depends_on:
172-
migrate:
173-
condition: service_completed_successfully
172+
- migrate:
173+
condition: service_completed_successfully
174174
entrypoint: ["/bin/bash"]
175175
command: ["-c", "--",
176176
"trap : TERM INT; while true; do ./Run alerting --env ${ENV} --time-period ${ALERTING_TIME_PERIOD:-4} --limit ${ALERTING_LIMIT:-2000}; sleep ${ALERTING_SLEEP:-300}; done"

0 commit comments

Comments
 (0)