Newer
Older
before_script:
- "source ~gitlab-runner/cicd_support/cicd_support.shinc"
after_script:
- "source ~gitlab-runner/cicd_support/cicd_support.shinc"
- "# update submodules"
- "git submodule sync --recursive"
- "git submodule update --recursive --init"
- "# gather info for debugging later, probably not necessary "
- "pwd"
- "hostname"
- "whoami"
- "env|grep CICD"
- ""
- "time rsync -a --exclude='.git' $CICD_TO_TEST_DIR/ /tmp/peasoup_test"
- "source set_env_vars"
- "sudo ./get-peasoup-packages.sh all"
- "./build-all.sh --debug"
- "./postgres_setup.sh"
xform-ls:
stage: test
tags:
- "source set_env_vars"
- "rm -rf xxx ped_ls; $PSZ /bin/ls ./xxx -c rida=on -s meds_static=off --tempdir ped_ls || true"
- "if [[ ! -x ./xxx ]]; then cat ped_ls/logs/*; fi"
- "rm -rf ped_ls"
- "./xxx"
stage: test
tags:
- "source set_env_vars"
- "cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida"
stage: test
tags:
- "source set_env_vars"
- "cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida_p1"