@@ -3,8 +3,8 @@ name: Continuous Integration
3
3
on : [push, pull_request, workflow_dispatch]
4
4
5
5
env :
6
- # TEST_ALL_DOCKER_IMAGE: 'parsec-service-test-all'
7
- TEST_ALL_DOCKER_IMAGE : ' ghcr.io/parallaxsecond/parsec-service-test-all'
6
+ TEST_ALL_DOCKER_IMAGE : ' parsec-service-test-all'
7
+ # TEST_ALL_DOCKER_IMAGE: 'ghcr.io/parallaxsecond/parsec-service-test-all'
8
8
9
9
jobs :
10
10
build-and-export-test-all-docker :
@@ -13,11 +13,12 @@ jobs:
13
13
# the following condition must evaluate true to execute this job
14
14
# Else it must evaluate false to NOT execute this job
15
15
# Unfortunately, env.TEST_ALL_DOCKER_IMAGE cannot be used here as the `env` context is not recognized at this level.
16
- if : ${{ false }} # env.TEST_ALL_DOCKER_IMAGE == 'parsec-service-test-all'
16
+ if : ${{ true }} # env.TEST_ALL_DOCKER_IMAGE == 'parsec-service-test-all'
17
17
steps :
18
18
- uses : actions/checkout@v3
19
19
- name : Build the docker container
20
- run : pushd e2e_tests/docker_image && docker build -t parsec-service-test-all -f parsec-service-test-all.Dockerfile . && popd
20
+ run : pushd e2e_tests/docker_image && docker build -t parsec-service-test-all -f parsec-service-test-all.Dockerfile . \
21
+ docker build -t parsec-service-test-cross-compile -f parsec-service-test-cross-compile.Dockerfile . && popd
21
22
- name : Export the docker container
22
23
run : docker save parsec-service-test-all > /tmp/parsec-service-test-all.tar
23
24
- name : Upload artifact
@@ -183,10 +184,10 @@ jobs:
183
184
steps :
184
185
- uses : actions/checkout@v2
185
186
- name : Run the container to execute the test script
186
- run :
187
- docker run -v $(pwd):/tmp/parsec -w /tmp/parsec ghcr.io/parallaxsecond/parsec-service-test-cross-compile /tmp/parsec/test/cross-compile.sh
187
+ # run:
188
+ # docker run -v $(pwd):/tmp/parsec -w /tmp/parsec ghcr.io/parallaxsecond/parsec-service-test-cross-compile /tmp/parsec/test/cross-compile.sh
188
189
# When running the container built on the CI
189
- # run: docker run -v $(pwd):/tmp/parsec -w /tmp/parsec -t parsec-service-test-cross-compile /tmp/parsec/test/cross-compile.sh
190
+ run : docker run -v $(pwd):/tmp/parsec -w /tmp/parsec -t parsec-service-test-cross-compile /tmp/parsec/test/cross-compile.sh
190
191
191
192
links :
192
193
name : Check links
0 commit comments