PTFE-886 Correcting dependabot update v4 to v3 #590
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: test-deployment | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
docker-build: | |
permissions: | |
contents: read | |
packages: write | |
uses: scality/workflows/.github/workflows/docker-build.yaml@v1 | |
with: | |
name: runner-manager | |
namespace: scality | |
test-deployment: | |
needs: docker-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: helm/kind-action@v1 | |
- name: Edit the runner-manager image | |
working-directory: manifests | |
run: kustomize edit set image ghcr.io/scality/runner-manager:${{ github.sha }} | |
- name: Deploy runner-manager | |
run: kubectl apply -k manifests | |
- name: Check if deployment is ready | |
run: | | |
kubectl rollout status statefulset runner-manager-redis --timeout=90s | |
kubectl rollout status deployment runner-manager-api --timeout=120s | |
kubectl rollout status deployment runner-manager-worker --timeout=120s | |
kubectl rollout status deployment runner-manager-scheduler --timeout=120s | |
- name: get all resources | |
if: failure() | |
run: kubectl get all | |
- name: describe all resources | |
if: failure() | |
run: kubectl describe all | |
- name: get logs | |
if: failure() | |
run: | | |
kubectl logs -l app.kubernetes.io/name=runner-manager | |
kubectl logs -l app.kubernetes.io/component=worker | |
kubectl logs -l app.kubernetes.io/component=scheduler | |
kubectl logs -l app.kubernetes.io/component=redis |