Skip to content

Commit

Permalink
Merge branch 'master' into renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lakhdar authored Apr 21, 2023
2 parents 714c702 + 5ce3cda commit 0014082
Show file tree
Hide file tree
Showing 50 changed files with 3,501 additions and 1,778 deletions.
6 changes: 3 additions & 3 deletions .github/actions/e2e-clean/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ runs:
shell: bash
env:
DISPLAY: ':1'
if: always()
if: cancelled() || failure() || success()
run: |
Xvfb :1 -screen 0 1024x768x16 & sleep 1
xdg-settings set default-web-browser google-chrome.desktop
node -r ts-node/register/transpile-only packages/cli-e2e/cleaning.ts
- name: Delete test orgs
shell: bash
if: always()
if: cancelled() || failure() || success()
run: node ./scripts/cleaning/delete-orgs.js
- name: Delete test API key
shell: bash
if: always()
if: cancelled() || failure() || success()
run: node ./scripts/cleaning/delete-api-keys.js
2 changes: 1 addition & 1 deletion .github/actions/e2e-login/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
echo "${{ env.E2E_TOKEN_PASSPHRASE }}" | gpg -a --batch --passphrase-fd 0 --symmetric --cipher-algo AES256 --output encodedConfig $CLI_CONFIG_PATH
echo "cliConfigJson=$(base64 -w 0 encodedConfig)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: always()
if: cancelled() || failure() || success()
with:
name: login-test-artifacts
path: ./packages/cli-e2e/artifacts
2 changes: 1 addition & 1 deletion .github/actions/e2e-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
working-directory: packages/cli-e2e
run: npm run jest:ci -- ${{inputs.spec}}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: always()
if: cancelled() || failure() || success()
with:
name: ${{inputs.os}}-${{inputs.spec}}-test-artifacts
path: ./packages/cli-e2e/artifacts
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Setup E2E tests
run: node -r ts-node/register/transpile-only packages/cli-e2e/setup/ci-verdaccio.ts
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: always()
if: cancelled() || failure() || success()
with:
name: ${{matrix.os}}-verdaccio-publish-artifacts
path: ./packages/cli-e2e/artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/delete-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
- run: npm ci
- name: Resume org
timeout-minutes: 30
if: always()
if: cancelled() || failure() || success()
run: node ./scripts/cleaning/wake-org.mjs || true
- name: Delete test API keys
timeout-minutes: 30
if: always()
if: cancelled() || failure() || success()
run: node ./scripts/cleaning/delete-api-keys.js --olderThan 1d
- name: Delete test orgs
timeout-minutes: 30
if: always()
if: cancelled() || failure() || success()
run: |
Xvfb :1 -screen 0 1024x768x16 & sleep 1
xdg-settings set default-web-browser google-chrome.desktop
Expand All @@ -42,7 +42,7 @@ jobs:
env:
DISPLAY: ':1'
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: always()
if: cancelled() || failure() || success()
with:
name: cleaning-artifacts
path: ./packages/cli-e2e/artifacts
Expand Down
Loading

0 comments on commit 0014082

Please sign in to comment.