Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit 6bd4039

Browse files
authored
Update grabl automation yaml syntax (#146)
## What is the goal of this PR? Recently we added the support for background `monitor` script. Therefore we change the foreground job script from `script` to `command`.
1 parent 33f019b commit 6bd4039

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.grabl/automation.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ build:
3030
branch: master
3131
dependency-analysis:
3232
image: graknlabs-ubuntu-20.04
33-
script: |
33+
command: |
3434
bazel run @graknlabs_dependencies//grabl/analysis:dependency-analysis
3535
correctness:
3636
build:
3737
image: graknlabs-ubuntu-20.04
3838
type: foreground
39-
script: |
39+
command: |
4040
pyenv global 3.6.10
4141
sudo unlink /usr/bin/python3
4242
sudo ln -s $(which python3) /usr/bin/python3
@@ -50,7 +50,7 @@ build:
5050
# test-concept:
5151
# image: graknlabs-ubuntu-20.04
5252
# type: foreground
53-
# script: |
53+
# command: |
5454
# pyenv global 3.6.10
5555
# sudo unlink /usr/bin/python3
5656
# sudo ln -s $(which python3) /usr/bin/python3
@@ -62,7 +62,7 @@ build:
6262
# test-connection:
6363
# image: graknlabs-ubuntu-20.04
6464
# type: foreground
65-
# script: |
65+
# command: |
6666
# pyenv global 3.6.10
6767
# sudo unlink /usr/bin/python3
6868
# sudo ln -s $(which python3) /usr/bin/python3
@@ -74,7 +74,7 @@ build:
7474
# test-query:
7575
# image: graknlabs-ubuntu-20.04
7676
# type: foreground
77-
# script: |
77+
# command: |
7878
# pyenv global 3.6.10
7979
# sudo unlink /usr/bin/python3
8080
# sudo ln -s $(which python3) /usr/bin/python3
@@ -91,7 +91,7 @@ build:
9191
owner: graknlabs
9292
branch: master
9393
type: foreground
94-
script: |
94+
command: |
9595
pyenv global 3.6.10
9696
sudo unlink /usr/bin/python3
9797
sudo ln -s $(which python3) /usr/bin/python3
@@ -110,7 +110,7 @@ build:
110110
# owner: graknlabs
111111
# branch: master
112112
# type: foreground
113-
# script: |
113+
# command: |
114114
# pyenv global 3.6.10
115115
# sudo unlink /usr/bin/python3
116116
# sudo ln -s $(which python3) /usr/bin/python3
@@ -135,11 +135,11 @@ release:
135135
validation:
136136
validate-dependencies:
137137
image: graknlabs-ubuntu-20.04
138-
script: bazel test //:release-validate-python-deps --test_output=streamed
138+
command: bazel test //:release-validate-python-deps --test_output=streamed
139139
deployment:
140140
deploy-github:
141141
image: graknlabs-ubuntu-20.04
142-
script: |
142+
command: |
143143
pyenv global 3.6.10
144144
sudo unlink /usr/bin/python3
145145
sudo ln -s $(which python3) /usr/bin/python3
@@ -152,7 +152,7 @@ release:
152152
bazel run --define version=$(cat VERSION) //:deploy-github -- $GRABL_COMMIT
153153
deploy-pip-release:
154154
image: graknlabs-ubuntu-20.04
155-
script: |
155+
command: |
156156
pyenv global 3.6.10
157157
sudo unlink /usr/bin/python3
158158
sudo ln -s $(which python3) /usr/bin/python3

0 commit comments

Comments
 (0)