Skip to content

chore(deps): update quay.io/prometheus-operator/prometheus-operator docker tag to v0.78.1 #1174

chore(deps): update quay.io/prometheus-operator/prometheus-operator docker tag to v0.78.1

chore(deps): update quay.io/prometheus-operator/prometheus-operator docker tag to v0.78.1 #1174

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
jobs:
endpoint-controller-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Bazel
uses: actions/cache@v3
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
restore-keys: ${{ runner.os }}-bazel-
- name: Test Endpoint Controller
run: |
cd controllers/endpoint-controller
bazel test //...
charts-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.23.0'
- name: Install extra tooling
run: |
go install github.com/google/go-jsonnet/cmd/jsonnet@latest
go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
go install github.com/norwoodj/helm-docs/cmd/[email protected]
- name: Render jsonnet rules for Netic OaaS chart
run: |
export PATH=$PATH:$(go env GOPATH)/bin
$GITHUB_WORKSPACE/charts/oaas-observability/scripts/update-rules.sh
- name: Render documentation
run: |
export PATH=$PATH:$(go env GOPATH)/bin
helm-docs
git update-index -q --ignore-submodules --refresh
if ! git diff-files --quiet --ignore-submodules -- ; then
echo Generating documentation caused a change - did you forget to run 'helm-docs' before commit?
exit 1
fi
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.15.3
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/[email protected]
- name: Setup polaris
uses: fairwindsops/polaris/.github/actions/setup-polaris@master
with:
version: 9.2.1
- name: Run chart-testing (lint)
run: |
export PATH=$GITHUB_WORKSPACE/polaris:$PATH
ct lint --config ct.yaml
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch main --excluded-charts aoi)
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Create kind cluster
uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'
- name: Install cert-manager
run: |
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.6.1 --set installCRDs=true
if: steps.list-changed.outputs.changed == 'true'
- name: Install priority class
run: |
cat <<EOF | kubectl apply -f -
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: secure-cloud-stack-technical-operations-critical
value: 500000000
preemptionPolicy: "PreemptLowerPriority"
globalDefault: false
description: "Secure Cloud Stack Technical Operations Critical Units"
EOF
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
run: ct install --config ct.yaml --excluded-charts aoi