diff --git a/.github/workflows/podman-desktop-e2e-nightly-windows.yaml b/.github/workflows/podman-desktop-e2e-nightly-windows.yaml index 4a705e5..adfecc9 100644 --- a/.github/workflows/podman-desktop-e2e-nightly-windows.yaml +++ b/.github/workflows/podman-desktop-e2e-nightly-windows.yaml @@ -45,6 +45,9 @@ jobs: echo "FORK=${{ github.event.inputs.fork || env.DEFAULT_FORK }}" >> $GITHUB_ENV echo "BRANCH=${{ github.event.inputs.branch || env.DEFAULT_BRANCH }}" >> $GITHUB_ENV echo "NPM_TARGET=${{ github.event.inputs.npm_target || env.DEFAULT_NPM_TARGET }}" >> $GITHUB_ENV + + - name: Set Backend URL Storage ID + run: echo "STORAGE_ID=${{ github.workflow// / }}_${{ matrix.windows-version }}_${{ matrix.windows-featurepack }}_${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV - name: Create instance run: | @@ -58,7 +61,7 @@ jobs: quay.io/rhqp/qenvs:v0.6.0 azure \ windows create \ --project-name 'windows-desktop' \ - --backed-url 'file:///workspace' \ + --backed-url 'file:///${STORAGE_ID}' \ --conn-details-output '/workspace' \ --windows-version '${{ matrix.windows-version }}' \ --windows-featurepack '${{ matrix.windows-featurepack }}' \ @@ -172,7 +175,7 @@ jobs: quay.io/rhqp/qenvs:v0.6.0 azure \ windows destroy \ --project-name 'windows-desktop' \ - --backed-url 'file:///workspace' + --backed-url 'file:///${STORAGE_ID}' # Check logs podman logs -f windows-destroy diff --git a/.github/workflows/podman-desktop-e2e-windows.yaml b/.github/workflows/podman-desktop-e2e-windows.yaml index 9ee158d..d4e9e90 100644 --- a/.github/workflows/podman-desktop-e2e-windows.yaml +++ b/.github/workflows/podman-desktop-e2e-windows.yaml @@ -36,6 +36,9 @@ jobs: windows-featurepack: '22h2-ent' steps: + - name: Set Backend URL Storage ID + run: echo "STORAGE_ID=${{ github.workflow// / }}_${{ matrix.windows-version }}_${{ matrix.windows-featurepack }}_${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV + - name: Set the default env. variables env: DEFAULT_FORK: 'containers' @@ -58,7 +61,7 @@ jobs: quay.io/rhqp/qenvs:v0.6.0 azure \ windows create \ --project-name 'windows-desktop' \ - --backed-url 'file:///workspace' \ + --backed-url 'file:///${STORAGE_ID}' \ --conn-details-output '/workspace' \ --windows-version '${{ matrix.windows-version }}' \ --windows-featurepack '${{ matrix.windows-featurepack }}' \ @@ -166,7 +169,7 @@ jobs: quay.io/rhqp/qenvs:v0.6.0 azure \ windows destroy \ --project-name 'windows-desktop' \ - --backed-url 'file:///workspace' + --backed-url 'file:///${STORAGE_ID}' # Check logs podman logs -f windows-destroy diff --git a/.github/workflows/podman-e2e-windows.yaml b/.github/workflows/podman-e2e-windows.yaml index 982d6c4..c14b57c 100644 --- a/.github/workflows/podman-e2e-windows.yaml +++ b/.github/workflows/podman-e2e-windows.yaml @@ -20,6 +20,10 @@ jobs: windows-featurepack: '22h2-ent' steps: + + - name: Set Backend URL Storage ID + run: echo "STORAGE_ID=${{ github.workflow// / }}_${{ matrix.windows-version }}_${{ matrix.windows-featurepack }}_${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV + - name: Create instance run: | # Create instance @@ -32,7 +36,7 @@ jobs: quay.io/rhqp/qenvs:v0.6.0 azure \ windows create \ --project-name 'windows-desktop' \ - --backed-url 'file:///workspace' \ + --backed-url 'file:///${STORAGE_ID}' \ --conn-details-output '/workspace' \ --windows-version '${{ matrix.windows-version }}' \ --windows-featurepack '${{ matrix.windows-featurepack }}' \ @@ -123,7 +127,7 @@ jobs: quay.io/rhqp/qenvs:v0.6.0 azure \ windows destroy \ --project-name 'windows-desktop' \ - --backed-url 'file:///workspace' + --backed-url 'file:///${STORAGE_ID}' # Check logs podman logs -f windows-destroy