Skip to content

Commit e0046e9

Browse files
committed
Test patch for running CI on new docker image
Signed-off-by: Gowtham Suresh Kumar <[email protected]>
1 parent beb51b4 commit e0046e9

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/ci.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Continuous Integration
33
on: [push, pull_request, workflow_dispatch]
44

55
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'
88

99
jobs:
1010
build-and-export-test-all-docker:
@@ -13,11 +13,12 @@ jobs:
1313
# the following condition must evaluate true to execute this job
1414
# Else it must evaluate false to NOT execute this job
1515
# 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'
1717
steps:
1818
- uses: actions/checkout@v3
1919
- 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
2122
- name: Export the docker container
2223
run: docker save parsec-service-test-all > /tmp/parsec-service-test-all.tar
2324
- name: Upload artifact
@@ -183,10 +184,10 @@ jobs:
183184
steps:
184185
- uses: actions/checkout@v2
185186
- 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
188189
# 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
190191

191192
links:
192193
name: Check links

0 commit comments

Comments
 (0)