mirror of
https://github.com/bitnami/charts.git
synced 2026-03-09 15:38:00 +08:00
[bitnami/redis] Revisit tests and remove extra pipelines (#12797)
* [bitnami/redis] Revisit tests and remove extra pipelines Signed-off-by: FraPazGal <fdepaz@vmware.com> * Apply suggestions Signed-off-by: FraPazGal <fdepaz@vmware.com> Signed-off-by: FraPazGal <fdepaz@vmware.com>
This commit is contained in:
committed by
GitHub
parent
d3ec8fa952
commit
62fef5dd52
53
.github/workflows/ci-pipeline-extra-redis.yml
vendored
53
.github/workflows/ci-pipeline-extra-redis.yml
vendored
@@ -1,53 +0,0 @@
|
||||
# Multiple deployments pipelines are custom per asset. All single deployments pipelines are handled by ci-pipeline.yaml
|
||||
name: '[CI/CD] CI Pipeline extra Redis'
|
||||
on: # rebuild any PRs and main branch changes
|
||||
pull_request_target:
|
||||
types:
|
||||
- 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:
|
||||
# Given performance issues of the action feature on GH's side, we need to be very restrictive in the job's triggers:
|
||||
# -> The pipeline was triggered due to a label addition and said label was the 'verify' one OR
|
||||
# -> The pipeline was NOT triggered due to a label addition but the PR already contains the 'verify' one
|
||||
if: |
|
||||
github.event.action == 'labeled' && github.event.label.name == 'verify' ||
|
||||
github.event.action != 'labeled' && 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: |
|
||||
github.event.action == 'labeled' && github.event.label.name == 'verify' ||
|
||||
github.event.action != 'labeled' && 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 }}
|
||||
Reference in New Issue
Block a user