Files
charts/.github/workflows/vib-redis.yaml
superaleks f1b572a51d [bitnami/redis] Fixing the Redis VIB workflow (#8974)
* Testing the VIB workflow, please ignore

Signed-off-by: Aleksandra Lukic <alukic@vmware.com>

* First test failed. Launching second test

Signed-off-by: Aleksandra Lukic <alukic@vmware.com>

* Trigger the Redis VIB

Signed-off-by: Aleksandra Lukic <alukic@vmware.com>

* Added a validate pipeline for redis

Signed-off-by: Aleksandra Lukic <alukic@vmware.com>

* Pointing to the validate pipeline for Redis this time

Signed-off-by: Aleksandra Lukic <alukic@vmware.com>

* Removed the added new line in Readme. No real changes. Ready to merge

Signed-off-by: Aleksandra Lukic <alukic@vmware.com>
2022-02-14 09:03:25 +01:00

75 lines
2.4 KiB
YAML

name: 'vib'
on: # rebuild any PRs and main branch changes
pull_request_target:
branches:
- master
types:
- opened
- reopened
- synchronize
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-validate: # make sure chart is linted/safe
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: vmware-samples/vmware-image-builder-examples/vib-action@main
with:
pipeline: redis/vib-pipeline.json
vib-verify-standalone: # verify in GKE
runs-on: ubuntu-latest
environment: vmware-image-builder
needs: [vib-validate]
name: Redis Standalone
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: vmware-samples/vmware-image-builder-examples/vib-action@main
with:
pipeline: redis/standalone/vib-platform-verify.json
env:
TARGET_PLATFORM: 91d398a2-25c4-4cda-8732-75a3cfc179a1
vib-verify-sentinel: # verify in AKS
runs-on: ubuntu-latest
environment: vmware-image-builder
needs: [vib-validate]
name: Redis Sentinel
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: vmware-samples/vmware-image-builder-examples/vib-action@main
with:
pipeline: redis/sentinel/vib-platform-verify.json
env:
TARGET_PLATFORM: 7b13a7bb-011c-474f-ad71-8152fc321b9e
vib-verify-replica: # verify in TKG
runs-on: ubuntu-latest
environment: vmware-image-builder
needs: [vib-validate]
name: Redis Replica
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: vmware-samples/vmware-image-builder-examples/vib-action@main
with:
pipeline: redis/replicas/vib-platform-verify.json
env:
TARGET_PLATFORM: 7ddab896-2e4e-4d58-a501-f79897eba3a0