-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add kubeconform gha to validate k8s manifests (#12865)
* add kubeconform gha to validate k8s manifests * add regexSkipDir input * fix * use .github action instead * fix metrics-job-name * fix * split job * use yq for helm repo add * fix needs * add checkout * refactor without add-helm-repos step * edit * pin versio * update ci-kubeconform version with summary
- Loading branch information
1 parent
facaf9a
commit 36c5ca6
Showing
1 changed file
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,24 +9,29 @@ on: | |
jobs: | ||
ci-lint-helm-charts: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: read | ||
actions: read | ||
steps: | ||
- name: Add repositories | ||
run: | | ||
helm repo add mockserver https://www.mock-server.com | ||
helm repo add opentelemetry-collector https://open-telemetry.github.io/opentelemetry-helm-charts | ||
helm repo add tempo https://grafana.github.io/helm-charts | ||
helm repo add grafana https://grafana.github.io/helm-charts | ||
- name: ci-lint-helm-charts | ||
uses: smartcontractkit/.github/actions/ci-lint-charts@6b08487b176ef7cad086526d0b54ddff6691c044 # ci-lint-charts@0.1.2 | ||
uses: smartcontractkit/.github/actions/ci-lint-charts@7fa39741b11e66ed59f8aad786d4b9356c389f3f # ci-lint-charts@0.2.0 | ||
with: | ||
# chart testing inputs | ||
chart-testing-extra-args: "--lint-conf=lintconf.yaml" | ||
charts-dir: charts/chainlink-cluster | ||
# grafana inputs | ||
metrics-job-name: ci-lint-helm-charts | ||
gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | ||
gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} | ||
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | ||
|
||
ci-kubeconform: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ci-kubeconform | ||
uses: smartcontractkit/.github/actions/ci-kubeconform@1ae8a9a984814c4daf50aa96f03be2cba0ef3fec # [email protected] | ||
with: | ||
# kubeform inputs | ||
charts-dir: charts/chainlink-cluster | ||
# grafana inputs | ||
metrics-job-name: ci-kubeconform | ||
gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | ||
gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} | ||
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} |