-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use composite kind with registry action
- Loading branch information
Showing
3 changed files
with
4 additions
and
63 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 |
---|---|---|
|
@@ -15,43 +15,14 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Helm | ||
run: | | ||
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash | ||
- name: Install jq | ||
uses: dcarbone/[email protected] | ||
- name: Install yq | ||
uses: dcarbone/[email protected] | ||
|
||
- name: Set up Registry Container | ||
run: | | ||
docker run -d --restart=always -p "127.0.0.1:5001:5000" --name kind-registry registry:2 | ||
- name: Install kind with registry | ||
uses: bakito/kind-with-registry-action@main | ||
with: | ||
ingress_enabled: true | ||
|
||
- name: Build image | ||
run: ./testdata/e2e/buildImage.sh | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.17.0 | ||
kubectl_version: v1.25.3 | ||
config: testdata/e2e/kind/config.yaml | ||
- name: Set up Local Registry | ||
run: | | ||
# https://kind.sigs.k8s.io/docs/user/local-registry/ | ||
docker network connect kind kind-registry | ||
kubectl apply -f testdata/e2e/kind/configmap-registry.yaml | ||
# image registry: localhost:5001/ | ||
- name: Set up Ingress | ||
run: | | ||
# https://kind.sigs.k8s.io/docs/user/ingress/ | ||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml | ||
kubectl wait --namespace ingress-nginx \ | ||
--for=condition=ready pod \ | ||
--selector=app.kubernetes.io/component=controller \ | ||
--timeout=90s | ||
- name: Install sealed-secrets | ||
run: | | ||
helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.