Prune admin-ui-dist artifacts; drop Playwright report zips.
Refs EventHub/EventHubFrontAdmin#42
This commit is contained in:
+6
-24
@@ -86,14 +86,6 @@ jobs:
|
||||
path: dist/
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload Playwright report
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
retention-days: 7
|
||||
|
||||
- name: Mark test complete
|
||||
id: mark_test
|
||||
if: success()
|
||||
@@ -122,6 +114,12 @@ jobs:
|
||||
name: admin-ui-dist
|
||||
path: dist
|
||||
|
||||
- name: Prune admin-ui-dist artifacts
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
run: bash scripts/prune-gitea-artifacts.sh EventHub/EventHubFrontAdmin admin-ui-dist 0
|
||||
|
||||
- name: Wait for Docker daemon
|
||||
run: bash scripts/ensure-docker-daemon.sh 240
|
||||
|
||||
@@ -273,14 +271,6 @@ jobs:
|
||||
E2E_IFT_BASE_URL: ${{ secrets.E2E_IFT_BASE_URL }}
|
||||
run: npm run test:e2e:ift
|
||||
|
||||
- name: Upload Playwright report
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: playwright-ift-report
|
||||
path: playwright-report/
|
||||
retention-days: 7
|
||||
|
||||
deploy-stage:
|
||||
needs: e2e-ift
|
||||
if: |
|
||||
@@ -395,14 +385,6 @@ jobs:
|
||||
E2E_STAGE_BASE_URL: ${{ secrets.E2E_STAGE_BASE_URL }}
|
||||
run: npm run test:e2e:stage
|
||||
|
||||
- name: Upload Playwright report
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: playwright-stage-report
|
||||
path: playwright-report/
|
||||
retention-days: 7
|
||||
|
||||
ci-done:
|
||||
needs: [test, push-image]
|
||||
if: |
|
||||
|
||||
Reference in New Issue
Block a user