diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80a2d6c7aaa537569d7ff4e97e22f0e3d4104bd1..8bd982f755c89b10bc642ce38ad6f5810907ceb4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -283,7 +283,7 @@ jug_xl:nightly: rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: never - - when: on_success + - when: manual artifacts: expire_in: 1 days paths: @@ -314,12 +314,6 @@ jug_xl:singularity:nightly: needs: - version - jug_xl:nightly - rules: - - if: '$CI_COMMIT_BRANCH == "master"' - when: on_success - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - when: on_success - - when: never variables: BUILD_IMAGE: "jug_xl" script: @@ -348,16 +342,21 @@ juggler:master: allow_failure: true .test: + image: eicweb.phy.anl.gov:4567/containers/eic_container/jug_xl:${NIGHTLY_TAG} stage: test needs: - version - - jug_xl:singularity:nightly + - jug_xl:nightly rules: - if: '$CI_COMMIT_BRANCH == "master"' when: on_success - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: on_success - when: never + before_script: + - echo "Testing the new container setup" + after_script: + - echo "Testing completed" include: - local: 'tests/tutorial/config.yml' diff --git a/tests/tutorial/config.yml b/tests/tutorial/config.yml index c9933e23cf942f9669061c0c86c9408a33ff2673..068ad03789c7098b2452de05cb4ea3416364b7c4 100644 --- a/tests/tutorial/config.yml +++ b/tests/tutorial/config.yml @@ -5,15 +5,5 @@ test:tutorial: extends: .test script: - - mkdir eic && cd eic - - mkdir -p .gitlab-ci && mv ../build/jug_xl.sif .gitlab-ci/jug_xl-ci-test.sif - # setup our environment to be weird - - | - echo ROOTSYS=/invalid-path >> ~/.bashrc - echo CC=`which gfortran` >> ~/.bashrc - echo CXX=`which gfortran` >> ~/.bashrc - # setup tutorial starting position - - bash ../install.sh -v ci-test - # now attempt the tutorial - - ./eic-shell -- ../tests/tutorial/quick-start.sh - - ./eic-shell -- ../tests/tutorial/part1.sh + - tests/tutorial/quick-start.sh + - tests/tutorial/part1.sh