Skip to content
Snippets Groups Projects
Commit 5dd66a80 authored by Jason Hiser's avatar Jason Hiser
Browse files

change to do ubuntu 16 testing, and nightly cleaning

parent 2d172c98
No related branches found
No related tags found
No related merge requests found
...@@ -4,32 +4,105 @@ before_script: ...@@ -4,32 +4,105 @@ before_script:
after_script: after_script:
- "source ~gitlab-runner/cicd_support/cicd_support.shinc" - "source ~gitlab-runner/cicd_support/cicd_support.shinc"
do-build: stages:
stage: build - clean
- build
- test
#
# Cleaning
#
.do-nightly-clean: &do-nightly-clean
stage: clean
script:
- ./cicd_testing/do-clean.sh
do-nightly-clean-ubuntu18:
<<: *do-nightly-clean
tags: tags:
- ubuntu18 - ubuntu18
do-nightly-clean-ubuntu16:
<<: *do-nightly-clean
tags:
- ubuntu16
#
# Building
#
.do-build: &do-build
stage: build
script: script:
- ./cicd_testing/do-build.sh - ./cicd_testing/do-build.sh
xform-ls: do-build-ubuntu18:
stage: test <<: *do-build
tags: tags:
- ubuntu18 - ubuntu18
do-build-ubuntu16:
<<: *do-build
tags:
- ubuntu16
#
# $PSZ ls
#
.xform-ls: &xform-ls
stage: test
script: script:
- ./cicd_testing/xform-ls.sh - ./cicd_testing/xform-ls.sh
basic-pgms-rida: xform-ls-ubuntu18:
stage: test <<: *xform-ls
tags: tags:
- ubuntu18 - ubuntu18
xform-ls-ubuntu16:
<<: *xform-ls
tags:
- ubuntu16
#
# test_cmds.sh rida
#
.basic-pgms-rida: &basic-pgms-rida
stage: test
script: script:
- ./cicd_testing/basic-pgms-rida.sh - ./cicd_testing/basic-pgms-rida.sh
basic-pgms-rida-p1: basic-pgms-rida-ubuntu18:
stage: test <<: *basic-pgms-rida
tags: tags:
- ubuntu18 - ubuntu18
basic-pgms-rida-ubuntu16:
<<: *basic-pgms-rida
tags:
- ubuntu16
#
# test_cmds.sh rida-p1
#
.basic-pgms-rida-p1: &basic-pgms-rida-p1
stage: test
script: script:
- ./cicd_testing/basic-pgms-rida-p1.sh - ./cicd_testing/basic-pgms-rida-p1.sh
basic-pgms-rida-p1-ubuntu18:
<<: *basic-pgms-rida-p1
tags:
- ubuntu18
basic-pgms-rida-p1-ubuntu16:
<<: *basic-pgms-rida-p1
tags:
- ubuntu16
#!/bin/bash
set -e
set -x
main()
{
if [[ $CICD_NIGHTLY == 1 ]] ; then
# gather info for debugging later, probably not necessary
pwd
hostname
whoami
env|grep CICD
rm -rf /tmp/peasoup_test
fi
}
main "$@"
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