Skip to content

Bump PostgreSQL from 14.3.0 to 14.13.0 #176

Bump PostgreSQL from 14.3.0 to 14.13.0

Bump PostgreSQL from 14.3.0 to 14.13.0 #176

---
name: Lint and Test Prometheus Prefect Exporter Chart
"on":
pull_request_target:
branches:
- main
permissions: {}
jobs:
lint_test:
name: "lint-test (${{ matrix.kubernetes }})"
runs-on: ubuntu-latest
permissions:
# required to read from the repo
contents: read
strategy:
matrix:
kubernetes:
- "1.26.0"
- "1.27.0"
- "1.28.0"
- "1.29.0"
fail-fast: false
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Helm
uses: azure/setup-helm@v4
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
- name: Run chart-testing (lint)
run: ct lint --config .github/linters/prometheus-prefect-exporter-ct.yaml
- name: Create kind cluster
uses: helm/kind-action@v1.10.0
with:
node_image: "kindest/node:v${{ matrix.kubernetes }}"
- name: Install Prefect Server
run: |
helm dependency build ./charts/prefect-server/
helm install prefect-server -n default ./charts/prefect-server/ --set=postgresql.auth.password=TESTING
- name: Run chart-testing (install)
run: |
ct install --config .github/linters/prometheus-prefect-exporter-ct.yaml --helm-extra-set-args "--set=prefectApiUrl=http://prefect-server.default.svc.cluster.local:4200/api"