Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add unique backend url into create and destroy instance steps #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/podman-desktop-e2e-nightly-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 }}' \
Expand Down Expand Up @@ -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

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/podman-desktop-e2e-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 }}' \
Expand Down Expand Up @@ -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

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/podman-e2e-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}' \
Expand Down Expand Up @@ -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

Expand Down