This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
forked from bitnami/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (46 loc) · 1.64 KB
/
vib-verify-extra-redis.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
# Multiple deployments pipelines are custom per asset. All single deployments pipelines are handled by vib-verify.yaml
name: 'VIB extra Redis'
on: # rebuild any PRs and main branch changes
pull_request_target:
types:
- opened
- reopened
- synchronize
- labeled
branches:
- master
paths:
- 'bitnami/redis/*'
env:
CSP_API_URL: https://console.cloud.vmware.com
CSP_API_TOKEN: ${{ secrets.CSP_API_TOKEN }}
VIB_PUBLIC_URL: https://cp.bromelia.vmware.com
jobs:
vib-verify-sentinel:
if: ${{ contains(github.event.pull_request.labels.*.name, 'verify') }}
runs-on: ubuntu-latest
name: Verify Redis Sentinel on Tanzu Kubernetes Grid
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: vmware-labs/vmware-image-builder-action@main
with:
pipeline: redis/sentinel/vib-verify.json
env:
VIB_ENV_TARGET_PLATFORM: ${{ secrets.VIB_ENV_TARGET_PLATFORM }}
vib-verify-replica:
if: ${{ contains(github.event.pull_request.labels.*.name, 'verify') }}
runs-on: ubuntu-latest
name: Verify Redis Replica on Tanzu Kubernetes Grid
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: vmware-labs/vmware-image-builder-action@main
with:
pipeline: redis/replicas/vib-verify.json
env:
VIB_ENV_TARGET_PLATFORM: ${{ secrets.VIB_ENV_TARGET_PLATFORM }}