From c1e851421ee65913ab72b18f9713cebbdd380415 Mon Sep 17 00:00:00 2001 From: Trey Dockendorf Date: Sat, 7 Oct 2023 12:14:04 -0400 Subject: [PATCH] Fix e2e tests for OnDemand --- .github/workflows/e2e.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 4cd868b..a863fa0 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -162,7 +162,12 @@ jobs: run: docker load --input /tmp/ood_packaging-${{ matrix.dist }}.tar.gz - name: Clone ${{ matrix.package }} run: | + if [ "${{ matrix.package }}" = "ondemand" ]; then + BRANCH="--branch release_3.0" + else + BRANCH="" + fi mkdir -p ./tmp - git clone https://github.com/OSC/${{ matrix.package }}.git ./tmp/${{ matrix.package }} + git clone $BRANCH https://github.com/OSC/${{ matrix.package }}.git ./tmp/${{ matrix.package }} - name: Build ${{ matrix.package }} package run: ./bin/ood_packaging -w ./tmp/work -o ./tmp/output -d ${{ matrix.dist }} -V v3.0.0 -T --debug $(pwd)/tmp/${{ matrix.package }}