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

changed to support better testing across multi-os

Former-commit-id: 4ffea44f
parent 3d5f96c1
No related branches found
No related tags found
No related merge requests found
...@@ -9,34 +9,14 @@ do-build: ...@@ -9,34 +9,14 @@ do-build:
tags: tags:
- ubuntu18 - ubuntu18
script: script:
- "# update submodules" - ./cicd_testing/do-build.sh
- "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"
- "cd /tmp/peasoup_test"
- "source set_env_vars"
- "sudo ./get-peasoup-packages.sh all"
- "./build-all.sh --debug"
- "./postgres_setup.sh"
xform-ls: xform-ls:
stage: test stage: test
tags: tags:
- ubuntu18 - ubuntu18
script: script:
- "cd /tmp/peasoup_test" - ./cicd_testing/xform-ls.sh
- "source set_env_vars"
- "cd /tmp"
- "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"
basic-pgms-rida: basic-pgms-rida:
...@@ -44,18 +24,12 @@ basic-pgms-rida: ...@@ -44,18 +24,12 @@ basic-pgms-rida:
tags: tags:
- ubuntu18 - ubuntu18
script: script:
- "cd /tmp/peasoup_test" - ./cicd_testing/basic-pgms-rida.sh
- "source set_env_vars"
- "cd $CICD_TO_TEST_DIR/peasoup_examples/tests"
- "cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida"
basic-pgms-rida-p1: basic-pgms-rida-p1:
stage: test stage: test
tags: tags:
- ubuntu18 - ubuntu18
script: script:
- "cd /tmp/peasoup_test" - ./cicd_testing/basic-pgms-rida-p1.sh
- "source set_env_vars"
- "cd $CICD_TO_TEST_DIR/peasoup_examples/tests"
- "cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida_p1"
#/bin/bash
set -e
cd /tmp/peasoup_test
source set_env_vars
cd $CICD_TO_TEST_DIR/peasoup_examples/tests
cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida_p1
#!/bin/bash
set -e
cd /tmp/peasoup_test
source set_env_vars
cd $CICD_TO_TEST_DIR/peasoup_examples/tests
cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida
#!/bin/bash
set -e
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
cd /tmp/peasoup_test
source set_env_vars
sudo ./get-peasoup-packages.sh all
build-all.sh --debug
postgres_setup.sh
#!/bin/bash
set -e
cd /tmp/peasoup_test
source set_env_vars
cd /tmp
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
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