-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Niccolò Fei <[email protected]>
- Loading branch information
1 parent
534144c
commit 6e5431f
Showing
2 changed files
with
34 additions
and
50 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Setup Kind | ||
description: Sets up a kind cluster and installs Helm and kubectl | ||
outputs: | ||
helm-path: | ||
description: The path to the Helm binary | ||
value: ${{ steps.helm.outputs.helm-path }} | ||
kubectl-path: | ||
description: The path to the kubectl binary | ||
value: ${{ steps.kubectl.outputs.kubectl-path }} | ||
runs: | ||
using: composite | ||
steps: | ||
- id: helm | ||
name: Set up Helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.16.2 | ||
|
||
- id: kubectl | ||
name: Install kubectl | ||
uses: azure/setup-kubectl@v4 | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,13 +41,8 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.11.3 | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
- name: Setup kind | ||
uses: ./.github/actions/setup-kind | ||
|
||
- name: Deploy using helm chart | ||
run: | | ||
|
@@ -57,9 +52,6 @@ jobs: | |
--set image.imageCredentials.password=${{ secrets.CS_PASSWORD }} \ | ||
--wait --timeout 10m | ||
- name: Install kubectl | ||
uses: azure/setup-kubectl@v4 | ||
|
||
- name: Deploy a cluster | ||
run: | | ||
kubectl apply -f hack/samples/ep4k-cluster.yaml | ||
|
@@ -78,13 +70,8 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.11.3 | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
- name: Setup kind | ||
uses: ./.github/actions/setup-kind | ||
|
||
- name: Deploy using helm chart | ||
run: | | ||
|
@@ -95,9 +82,6 @@ jobs: | |
--set image.imageCredentials.password=${{ secrets.CS_PASSWORD }} \ | ||
--wait --timeout 10m | ||
- name: Install kubectl | ||
uses: azure/setup-kubectl@v4 | ||
|
||
- name: Deploy a cluster | ||
run: | | ||
kubectl apply -f hack/samples/ep4k-cluster.yaml | ||
|
@@ -116,13 +100,8 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.11.3 | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
- name: Setup kind | ||
uses: ./.github/actions/setup-kind | ||
|
||
- name: Deploy using helm chart | ||
run: | | ||
|
@@ -134,9 +113,6 @@ jobs: | |
--set image.imageCredentials.password=${{ secrets.CS_PASSWORD }} \ | ||
--wait --timeout 10m | ||
- name: Install kubectl | ||
uses: azure/setup-kubectl@v4 | ||
|
||
- name: Deploy a cluster | ||
run: | | ||
kubectl apply -f hack/samples/issuer-selfsigned.yaml | ||
|
@@ -158,13 +134,8 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.11.3 | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
- name: Setup kind | ||
uses: ./.github/actions/setup-kind | ||
|
||
- name: Deploy in single-namespace mode using helm chart | ||
run: | | ||
|
@@ -175,9 +146,6 @@ jobs: | |
--set image.imageCredentials.password=${{ secrets.CS_PASSWORD }} \ | ||
--wait --timeout 10m | ||
- name: Install kubectl | ||
uses: azure/setup-kubectl@v4 | ||
|
||
- name: Deploy a cluster in the watched namespace | ||
run: | | ||
kubectl -n single-install apply -f hack/samples/ep4k-cluster.yaml | ||
|
@@ -201,13 +169,8 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.11.3 | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
- name: Setup kind | ||
uses: ./.github/actions/setup-kind | ||
|
||
- name: Deploy in single-namespace mode using helm chart use different namespace | ||
run: | | ||
|
@@ -220,9 +183,6 @@ jobs: | |
--set image.imageCredentials.password=${{ secrets.CS_PASSWORD }} \ | ||
--wait --timeout 10m | ||
- name: Install kubectl | ||
uses: azure/setup-kubectl@v4 | ||
|
||
- name: Deploy a cluster in the watched namespace | ||
run: | | ||
kubectl -n single-install apply -f hack/samples/ep4k-cluster.yaml | ||
|