*1677 Allow Succeeded and Failed states in PodLifeTime #1162
Workflow file for this run
This file contains hidden or 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: manifests | |
on: | |
pull_request: | |
jobs: | |
deploy: | |
strategy: | |
matrix: | |
k8s-version: ["v1.33.0"] | |
descheduler-version: ["v0.33.0"] | |
descheduler-api: ["v1alpha2"] | |
manifest: ["deployment"] | |
kind-version: ["v0.27.0"] # keep in sync with test/run-e2e-tests.sh | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Create kind cluster | |
uses: helm/[email protected] | |
with: | |
node_image: kindest/node:${{ matrix.k8s-version }} | |
kubectl_version: ${{ matrix.k8s-version }} | |
config: test/kind-config.yaml | |
version: ${{ matrix.kind-version }} | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- name: Build image | |
run: | | |
VERSION="dev" make dev-image | |
docker tag descheduler:dev registry.k8s.io/descheduler/descheduler:${{ matrix.descheduler-version }} | |
- name: Kind load image | |
run: | | |
kind load docker-image registry.k8s.io/descheduler/descheduler:${{ matrix.descheduler-version }} --name chart-testing | |
- name: Create k8s manifests | |
run: | | |
kubectl create -f kubernetes/base/rbac.yaml | |
kubectl create -f test/manifests/${{ matrix.descheduler-api }}/configmap.yaml | |
kubectl create -f kubernetes/${{ matrix.manifest }}/${{ matrix.manifest }}.yaml | |
- name: Wait for ready condition | |
run: | | |
kubectl wait --for=condition=Available --timeout=60s ${{ matrix.manifest }} descheduler -n kube-system |