Skip to content

Commit 8c51bd6

Browse files
committed
moved all setup-commands to new object syntax
1 parent 56b4f35 commit 8c51bd6

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

drupal/usage_scenario.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
- 3306:3306
1212
# This command is needed, cause the container needs a bootup time to work
1313
setup-commands:
14-
- sleep 20
14+
- command: sleep 20
1515
networks:
1616
- drupal-mariadb-network
1717
drupal-apache:
@@ -23,7 +23,7 @@ services:
2323
gcb-puppeteer:
2424
image: greencoding/puppeteer-chrome
2525
setup-commands:
26-
- cp /tmp/repo/drupal/puppeteer-flow.js /var/www/puppeteer-flow.js
26+
- command: cp /tmp/repo/drupal/puppeteer-flow.js /var/www/puppeteer-flow.js
2727
networks:
2828
- drupal-mariadb-network
2929

firefox-X11/usage_scenario.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
gcb-puppeteer:
1313
image: greencoding/puppeteer-firefox
1414
setup-commands:
15-
- cp /tmp/repo/puppeteer-flow.js /var/www/puppeteer-flow.js
15+
- command: cp /tmp/repo/puppeteer-flow.js /var/www/puppeteer-flow.js
1616
volumes:
1717
- /tmp/.X11-unix:/tmp/.X11-unix
1818
environment:

green-software-foundation-sci/static-algorithm/usage_scenario.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ compose-file: !include compose.yml
88
services:
99
gcb-alpine-sysbench:
1010
setup-commands:
11-
- apk add gawk
11+
- command: apk add gawk
1212

1313

1414
sci:

jmeter/usage_scenario.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ compose-file: !include compose.yml
88
services:
99
gcb-postgres:
1010
setup-commands:
11-
- sleep 5 # wait some time to ensure that the database is ready
11+
- command: sleep 5 # wait some time to ensure that the database is ready
1212
gcb-backend:
1313
setup-commands:
14-
- sleep 10 # wait some time to ensure that the backend is ready
14+
- command: sleep 10 # wait some time to ensure that the backend is ready
1515

1616
sci:
1717
R_d: order

shell-commands/usage_scenario.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ services:
77
gcb-alpine:
88
image: alpine
99
setup-commands:
10-
- echo "asd" && echo "123"
11-
shell: sh
10+
- command: echo "asd" && echo "123"
11+
shell: sh
1212

1313
flow:
1414
- name: Dump filesystem async

wordpress-official-data/usage_scenario.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- 3306:3306
1515
# This command is needed, cause the container needs a bootup time to work
1616
setup-commands:
17-
- sleep 20
17+
- command: sleep 20
1818
networks:
1919
- gcb-wordpress-mariadb-network
2020
deploy:
@@ -37,7 +37,7 @@ services:
3737
gcb-puppeteer:
3838
image: greencoding/puppeteer-chrome
3939
setup-commands:
40-
- cp /tmp/repo/wordpress-official-data/puppeteer-flow.js /var/www/puppeteer-flow.js
40+
- command: cp /tmp/repo/wordpress-official-data/puppeteer-flow.js /var/www/puppeteer-flow.js
4141
networks:
4242
- gcb-wordpress-mariadb-network
4343
deploy:

wordpress-vs-hugo/hugo-apache/usage_scenario.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
networks:
1010
- gcb-hugo-apache-network
1111
setup-commands:
12-
- cp -R /tmp/repo/wordpress-vs-hugo/hugo-apache/htdocs /usr/local/apache2/
12+
- command: cp -R /tmp/repo/wordpress-vs-hugo/hugo-apache/htdocs /usr/local/apache2/
1313
gcb-curl:
1414
# Newer version of the curl image lead to an error with Docker rootless https://github.com/curl/curl-container/issues/55
1515
image: curlimages/curl:8.1.0

wordpress-vs-hugo/wordpress-minimal/usage_scenario.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- wordpress-minimal-network
1616
# Sleep command cause container needs bootup time to ingest SQL dump
1717
setup-commands:
18-
- sleep 20
18+
- command: sleep 20
1919
build: .
2020
gcb-wordpress:
2121
image: wordpress:latest
@@ -35,7 +35,7 @@ services:
3535
networks:
3636
- wordpress-minimal-network
3737
setup-commands:
38-
- sleep 20
38+
- command: sleep 20
3939
command: sh
4040

4141
flow:

wordpress-vs-hugo/wordpress-minimal/usage_scenario_5.9.3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- wordpress-minimal-network
1616
# Sleep command cause container needs bootup time to ingest SQL dump
1717
setup-commands:
18-
- sleep 20
18+
- command: sleep 20
1919
build: .
2020
gcb-wordpress:
2121
image: wordpress:5.9.3

wordpress-vs-hugo/wordpress-minimal/usage_scenario_6.0.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- wordpress-minimal-network
1616
# Sleep command cause container needs bootup time to ingest SQL dump
1717
setup-commands:
18-
- sleep 20
18+
- command: sleep 20
1919
build: .
2020
gcb-wordpress:
2121
image: wordpress:6.0.0

0 commit comments

Comments
 (0)