Skip to content

Commit

Permalink
comment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sallyom committed Oct 3, 2023
1 parent b3689c5 commit 1562fef
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml

- name: Create KinD Cluster
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
with:
config: ./kind/config.yaml
# - name: Create KinD Cluster
# uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
# with:
# config: ./kind/config.yaml

- name: Configure KinD
run: |
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl apply -f ./kind/servicemonitor-crd.yaml
kubectl create ns fulcio-system
kubectl create ns rekor-system
kubectl -n fulcio-system create secret generic fulcio-secret-rh --from-file=private=./kind/testing-only-cert-key/file_ca_key.pem --from-file=public=./kind/testing-only-cert-key/file_ca_pub.pem --from-file=cert=./kind/testing-only-cert-key/fulcio-root.pem --from-literal=password=secure --dry-run=client -o yaml | oc apply -f-
kubectl -n rekor-system create secret generic rekor-private-key --from-file=private=./kind/testing-only-cert-key/rekor_key.pem --dry-run=client -o yaml | oc apply -f-
kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=90s
shell: bash
# - name: Configure KinD
# run: |
# kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
# kubectl apply -f ./kind/servicemonitor-crd.yaml
# kubectl create ns fulcio-system
# kubectl create ns rekor-system
# kubectl -n fulcio-system create secret generic fulcio-secret-rh --from-file=private=./kind/testing-only-cert-key/file_ca_key.pem --from-file=public=./kind/testing-only-cert-key/file_ca_pub.pem --from-file=cert=./kind/testing-only-cert-key/fulcio-root.pem --from-literal=password=secure --dry-run=client -o yaml | oc apply -f-
# kubectl -n rekor-system create secret generic rekor-private-key --from-file=private=./kind/testing-only-cert-key/rekor_key.pem --dry-run=client -o yaml | oc apply -f-
# kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=90s
# shell: bash

- name: Run chart-testing (install)
run: ct install --helm-extra-args "--wait --wait-for-jobs" --config ct-install.yaml
# - name: Run chart-testing (install)
# run: ct install --helm-extra-args "--wait --wait-for-jobs" --config ct-install.yaml

0 comments on commit 1562fef

Please sign in to comment.