-
Notifications
You must be signed in to change notification settings - Fork 691
47 lines (45 loc) · 1.48 KB
/
helm-vib.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
42
43
44
45
46
47
name: Verify Helm Chart
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'helm/**'
env:
CSP_API_URL: https://console.tanzu.broadcom.com
CSP_API_TOKEN: ${{ secrets.CSP_API_TOKEN }}
VIB_PUBLIC_URL: https://cp.bromelia.vmware.com
jobs:
# verify chart in multiple target platforms
vib-k8s-verify:
runs-on: ubuntu-latest
environment: vmware-image-builder
strategy:
matrix:
include:
- name: GKE
target-platform: gke
target-platform-id: 91d398a2-25c4-4cda-8732-75a3cfc179a1
target-pipeline: vib-platform-verify.json
- name: GKE Skip Recreate
target-platform: gke
target-platform-id: 91d398a2-25c4-4cda-8732-75a3cfc179a1
target-pipeline: vib-platform-verify-skip-recreate.json
- name: Openshift
target-platform: openshift
target-platform-id: ebac9e0d-3931-4515-ba54-e6adada1f174
target-pipeline: vib-platform-verify-openshift.json
fail-fast: false
name: Verify chart (${{ matrix.name }})
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: vmware-labs/[email protected]
with:
pipeline: ${{ matrix.target-pipeline }}
max-pipeline-duration: 7200
env:
TARGET_PLATFORM: ${{ matrix.target-platform-id }}