-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (39 loc) · 1.27 KB
/
pr.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
48
49
50
name: pr
on:
pull_request:
branches:
- main
jobs:
helm-quality:
uses: CloudNativeEntrepreneur/actions/.github/workflows/helm-quality.yaml@main
with:
helm_path: helm
preview-helm-quality:
uses: CloudNativeEntrepreneur/actions/.github/workflows/helm-quality.yaml@main
with:
helm_path: preview/helm
promote-helm-quality:
uses: CloudNativeEntrepreneur/actions/.github/workflows/helm-quality.yaml@main
with:
helm_path: promote/helm
node-quality:
uses: CloudNativeEntrepreneur/actions/.github/workflows/node-quality.yaml@main
preview:
needs:
- helm-quality
- preview-helm-quality
- promote-helm-quality
- node-quality
uses: CloudNativeEntrepreneur/actions/.github/workflows/gitops-preview.yaml@main
secrets: inherit
with:
container: true
environment_repository: CloudNativeEntrepreneur/example-preview-envs
project: example-preview-envs
comment: |
Your preview environment has been published! :rocket:
This service doesn't have a public URL.
You can verify the PR is ready with `kubectl`:
```bash
kubectl get ksvc -n ${{ github.event.repository.name }}-pr-${{ github.event.pull_request.number }}-preview
```