Skip to content

Commit

Permalink
Spin up cluster for cert-manager (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe authored Dec 11, 2024
1 parent 91df679 commit 9fcb6a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,11 @@ jobs:
with:
version: v2.5.0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup KinD cluster
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
with:
cluster_name: kind-integration-tests-${{ matrix.language }}
node_image: kindest/node:v1.29.2
- name: Run tests
run: >-
set -euo pipefail
Expand Down
5 changes: 4 additions & 1 deletion native-provider-ci/src/steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,10 @@ export function FreeDiskSpace(runner: string): Step {
}

export function CreateKindCluster(provider: string, name: string): Step {
if (provider === "kubernetes" && name === "run-acceptance-tests") {
if (
(provider === "kubernetes" || provider == "kubernetes-cert-manager") &&
name === "run-acceptance-tests"
) {
return {
name: "Setup KinD cluster",
uses: action.createKindCluster,
Expand Down

0 comments on commit 9fcb6a1

Please sign in to comment.