forked from eraser-dev/eraser
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 883 Bytes
/
upgrade.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: upgrade
on:
push:
paths:
- "manifest_staging/charts/**"
- ".github/workflows/upgrade.yaml"
pull_request:
paths:
- "manifest_staging/charts/**"
- ".github/workflows/upgrade.yaml"
env:
REGISTRY: ghcr.io
permissions: read-all
jobs:
generate-bucket-id:
name: "Generate build id for storage"
uses: ./.github/workflows/build-id.yaml
build-images:
name: "Build images for e2e tests"
uses: ./.github/workflows/e2e-build.yaml
needs:
- generate-bucket-id
with:
bucket-id: ${{ needs.generate-bucket-id.outputs.bucket-id }}
e2e-test:
name: "Run e2e tests"
uses: ./.github/workflows/e2e-test.yaml
permissions:
contents: write
needs:
- build-images
- generate-bucket-id
with:
upgrade-test: "1"
bucket-id: ${{ needs.generate-bucket-id.outputs.bucket-id }}