Newer
Older
before_script:
- "source ~gitlab-runner/cicd_support/cicd_support.shinc"
stages:
- clean
- build
- gather_bins
- protect_bins
#
# Cleaning
#
.do-nightly-clean: &do-nightly-clean
stage: clean
script:
- ./cicd_testing/do-clean.sh
do-nightly-clean-ubuntu18:
<<: *do-nightly-clean
tags:
- ubuntu18
# per os items
do-nightly-clean-ubuntu16:
<<: *do-nightly-clean
tags:
- ubuntu16
# per os items
do-nightly-clean-centos76:
<<: *do-nightly-clean
tags:
- centos76
do-nightly-clean-arm32:
<<: *do-nightly-clean
tags:
- arm32

Jason Hiser
committed
# template
.do-build: &do-build
stage: build
do-build-ubuntu18:
<<: *do-build
tags:
- ubuntu18
do-build-ubuntu16:
<<: *do-build
tags:
- ubuntu16
do-build-centos76:
<<: *do-build
tags:
- centos76
do-build-arm32:
<<: *do-build
tags:
- arm32

Jason Hiser
committed

Jason Hiser
committed
#
# gather artifacts and ship them tox 86 boxes
#
stage: gather_bins
script:

Jason Hiser
committed
- artifacts/

Jason Hiser
committed
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#
# gather artifacts and ship them tox 86 boxes
#
.protect-arm-bins: &prot_bins
stage: protect_bins
script:
- ./cicd_testing/do-prot-bins.sh
artifacts:
expire_in: 1 day
paths:
- artifacts/
protect-arm-ubuntu18:
<<: *prot_bins
tags:
- ubuntu18
protect-bins-ubuntu16:
<<: *prot_bins
tags:
- ubuntu16
protect-bins-centos76:
<<: *prot_bins
tags:
- centos76
#
# gather artifacts and ship them tox 86 boxes
#

Jason Hiser
committed
.test_arm_bins: &test_arm_bins

Jason Hiser
committed
stage: test
script:
- ./cicd_testing/do-test-bins.sh
artifacts:
expire_in: 1 day
paths:
- artifacts/

Jason Hiser
committed
test-bins-arm32:
<<: *testtest_arm_bins

Jason Hiser
committed
tags:
- arm32

Jason Hiser
committed
test-bins-arm64:
<<: *test_arm_bins

Jason Hiser
committed
tags:
- arm64

Jason Hiser
committed
# test_quick for EH handling
.basic_eh_tests: &basic_eh-tests
basic_eh-tests-ubuntu18:
<<: *basic_eh-tests
tags:
- ubuntu18
basic_eh-tests-ubuntu16:
<<: *basic_eh-tests
tags:
- ubuntu16
basic_eh-tests-centos76:
<<: *basic_eh-tests
tags:
- centos76
.builtin-xforms: &builtin-xforms
- ./cicd_testing/builtin-xforms.sh
builtin-xforms-ubuntu18:
<<: *builtin-xforms
tags:
- ubuntu18
builtin-xforms-ubuntu16:
<<: *builtin-xforms
tags:
- ubuntu16
builtin-xforms-centos76:
<<: *builtin-xforms
tags:
- centos76
# doesn't work yet
#builtin-xforms-arm32:
# <<: *builtin-xforms
# tags:
# - arm32
builtin-xforms-arm64:
<<: *builtin-xforms
tags:
- arm64
.elfdep: &elfdep
stage: test
script:
- ./cicd_testing/elfdep.sh
elfdep-ubuntu18:
<<: *elfdep
tags:
- ubuntu18
elfdep-ubuntu16:
<<: *elfdep
tags:
- ubuntu16
elfdep-centos76:
<<: *elfdep
tags:
- centos76
#
# deploy a docker image
#
deploy-u18:
stage: deploy
script:
- ./cicd_testing/deploy.sh
tags:
- ubuntu18