Loading .gitlab-ci.yml +12 −0 Original line number Diff line number Diff line stages: - test - deploy test: script: - ./tests/run.sh tags: - titan deploy: script: - ./deploy.sh tags: - titan only: - master tests/integration/build_with_spack.sh→deploy.sh +2 −1 Original line number Diff line number Diff line Loading @@ -8,10 +8,11 @@ module load PrgEnv-gnu module swap gcc gcc/7.1.0 set -x export HOME=$(pwd) rm -rf $HOME/.spack unset CRAYPE_VERSION SPACKROOT=tests/artifacts/.spack SPACKROOT=/sw/xk6/container-builder/$(git rev-parse HEAD) if [ ! -d $SPACKROOT ]; then git clone https://github.com/spack/spack.git $SPACKROOT Loading tests/run.sh +4 −2 Original line number Diff line number Diff line #!/bin/bash -e virtualenv .venv source .venv/bin/activate pip install openstack echo "## Testing building with spack" ./tests/integration/build_with_spack.sh find tests -name "test_*.sh" -exec {} + Loading
.gitlab-ci.yml +12 −0 Original line number Diff line number Diff line stages: - test - deploy test: script: - ./tests/run.sh tags: - titan deploy: script: - ./deploy.sh tags: - titan only: - master
tests/integration/build_with_spack.sh→deploy.sh +2 −1 Original line number Diff line number Diff line Loading @@ -8,10 +8,11 @@ module load PrgEnv-gnu module swap gcc gcc/7.1.0 set -x export HOME=$(pwd) rm -rf $HOME/.spack unset CRAYPE_VERSION SPACKROOT=tests/artifacts/.spack SPACKROOT=/sw/xk6/container-builder/$(git rev-parse HEAD) if [ ! -d $SPACKROOT ]; then git clone https://github.com/spack/spack.git $SPACKROOT Loading
tests/run.sh +4 −2 Original line number Diff line number Diff line #!/bin/bash -e virtualenv .venv source .venv/bin/activate pip install openstack echo "## Testing building with spack" ./tests/integration/build_with_spack.sh find tests -name "test_*.sh" -exec {} +