Bump ruff from 0.7.2 to 0.7.3 in /components/api_server #757
Workflow file for this run
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
--- | |
name: Helm Chart CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set yaml value change dict with random generated secrets | |
run: | | |
echo "VALUE_CHANGES={\"[0].data.DATABASE_USERNAME\":\"$(echo ${RANDOM} | base64)\",\"[0].data.DATABASE_PASSWORD\":\"$(echo ${RANDOM} | base64)\",\"[1].data.LDAP_LOOKUP_USER_PASSWORD\":\"$(echo ${RANDOM} | base64)\"}" >> $GITHUB_ENV | |
- name: Update values.yaml | |
uses: fjogeleit/[email protected] | |
with: | |
valueFile: "helm/deploy-ci.yaml" | |
commitChange: false | |
changes: ${{ env.VALUE_CHANGES }} | |
- name: Start minikube | |
uses: medyagh/[email protected] | |
with: | |
driver: docker | |
container-runtime: containerd | |
minikube-version: latest | |
kubernetes-version: stable | |
timeout-minutes: 2 | |
- name: Build and run chart | |
run: | | |
eval $(minikube -p minikube docker-env) | |
kubectl apply -f helm/deploy-ci.yaml | |
helm dependency build helm | |
helm upgrade --install --render-subchart-notes quality-time helm | |
kubectl wait --all pods --timeout=2m --for=condition=Ready | |
kubectl wait --all deployments --timeout=30s --for=condition=Available | |
timeout-minutes: 3 |