mirror of
https://github.com/bitnami/charts.git
synced 2026-03-12 14:57:18 +08:00
Description of the change This PR adds integration with the VMware Image Builder Github actions for package, lint and trivy. It will also remove the redundant actions from helm/ct. The conditions for launching the VIB pipeline are: PRs need to affect only one chart PRs need to bump the chart version It has been tested with the following examples: Successful chart bumps (the pipeline runs): Bump argo-workflows javsalgar/charts-1#1 Bump bitnami/nginx-ingress-controller javsalgar/charts-1#7 Two chart bumps (the pipeline gets skipped): Bump bitnami/pytorch and bitnami/haproxy javsalgar/charts-1#3 Changes without version bump (the action fails): Update grafana readme javsalgar/charts-1#5 Change wavefront-prometheus-adapter README javsalgar/charts-1#2 Change bitnami/drupal description javsalgar/charts-1#8 Changes in the repo root (the action does not run): Change root repo license javsalgar/charts-1#4 Create a file in the bitnami/ folder without affecting a chart (the pipeline gets skipped): Change root repo license javsalgar/charts-1#4
35 lines
747 B
YAML
35 lines
747 B
YAML
name: Test Charts
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Fetch history
|
|
run: git fetch --prune --unshallow
|
|
|
|
- name: Set up chart-testing
|
|
uses: helm/chart-testing-action@v2.1.0
|
|
|
|
- name: Create kind cluster
|
|
uses: helm/kind-action@v1.2.0
|
|
|
|
- name: Run chart-testing (install)
|
|
run: ct install --config .github/ct-install.yaml
|
|
|
|
check-categories:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Fetch history
|
|
run: git fetch --prune --unshallow
|
|
|
|
- name: Check categories
|
|
uses: bitnami/chart-categories-action@master
|