mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-04-05 09:10:46 +00:00
.gitea/workflows/e2e.yml aktualisiert
This commit is contained in:
@ -3,7 +3,7 @@ jobs:
|
|||||||
k8s-test:
|
k8s-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CLUSTER_NAME: helm-actions-cluster
|
CLUSTER_NAME: test-cluster
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -22,6 +22,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create kind cluster
|
- name: Create kind cluster
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
docker inspect ${CLUSTER_NAME}-control-plane && mkdir -p ~/.kube && kind get kubeconfig --name ${CLUSTER_NAME} > ~/.kube/config || kind create cluster --name ${CLUSTER_NAME} --wait 5m
|
docker inspect ${CLUSTER_NAME}-control-plane && mkdir -p ~/.kube && kind get kubeconfig --name ${CLUSTER_NAME} > ~/.kube/config || kind create cluster --name ${CLUSTER_NAME} --wait 5m
|
||||||
|
|
||||||
- name: Connect kind to the job container's network and fix kubeconfig
|
- name: Connect kind to the job container's network and fix kubeconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user