Skip to content
Snippets Groups Projects
Commit 545f251b authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Update .gitlab-ci.yml file. Correct syntax, organize pipeline parallelism

parent d43d9e23
No related branches found
No related tags found
1 merge request!36Update libEHP to test for update of ELFIO.
Pipeline #20392 failed
......@@ -13,56 +13,6 @@ stages:
- deploy
#
# Cleaning, build, test
#
.test: &test
needs: []
stage: clean
script:
- ./cicd_testing/do-clean.sh
- ./cicd_testing/do-build.sh
- ./cicd_testing/eh-tests.sh
- ./cicd_testing/builtin-xforms.sh
- ./cicd_testing/elfdep.sh
test-arm32:
needs: []
stage: clean
script:
- ./cicd_testing/do-clean.sh
- ./cicd_testing/do-build.sh
test-arm64:
needs: []
stage: clean
script:
- ./cicd_testing/do-clean.sh
- ./cicd_testing/do-build.sh
- ./cicd_testing/builtin-xforms.sh
# per os items
test-ubuntu18:
<<: *test
tags:
- ubuntu18
test-coss9:
<<: *test
tags:
- coss9
test-ubuntu20:
<<: *test
tags:
- ubuntu20
test-ubuntu22:
<<: *test
tags:
- ubuntu22
#
# gather artifacts and ship them tox 86 boxes
......@@ -114,11 +64,12 @@ protect-arm-ubuntu22:
stage: test
script:
- ./cicd_testing/do-test-bins.sh
artifacts:
artifacts:
expire_in: 1 day
paths:
- artifacts/
test-bins-arm32:
<<: *test_arm_bins
tags:
......@@ -129,11 +80,78 @@ test-bins-arm64:
tags:
- arm64
#
# Cleaning, build, test
#
.test: &test
needs: []
stage: test
script:
- ./cicd_testing/do-clean.sh
- ./cicd_testing/do-build.sh
- ./cicd_testing/eh-tests.sh
- ./cicd_testing/builtin-xforms.sh
- ./cicd_testing/elfdep.sh
#
# gather artifacts and ship them tox 86 boxes
#
.test_arm_bins: &test_arm_bins
needs: [protect-arm-ubuntu22]
stage: test
script:
- ./cicd_testing/do-test-bins.sh
artifacts:
expire_in: 1 day
paths:
- artifacts/
test-arm32:
needs: []
stage: test
script:
- ./cicd_testing/do-clean.sh
- ./cicd_testing/do-build.sh
test-arm64:
needs: []
stage: test
script:
- ./cicd_testing/do-clean.sh
- ./cicd_testing/do-build.sh
- ./cicd_testing/builtin-xforms.sh
# per os items
test-ubuntu18:
<<: *test
tags:
- ubuntu18
test-coss9:
<<: *test
tags:
- coss9
test-ubuntu20:
<<: *test
tags:
- ubuntu20
test-ubuntu22:
<<: *test
tags:
- ubuntu22
#
# deploy a docker image
#
deploy-u22:
needs: [test-coss9, test-ubuntu18, test-ubuntu20, test-ubuntu22, test-arm32, test-arm64, test-bins-arm32, test-bins-arm64]
stage: deploy
script:
- ./cicd_testing/do-clean.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment