From db23435eb4f412f24b89cca2208107640403642c Mon Sep 17 00:00:00 2001 From: William Lam Date: Tue, 20 Feb 2024 07:53:44 -0800 Subject: [PATCH] chore: Cleanup unused GH workflows Closes: #1102 Signed-off-by: William Lam --- .github/workflows/router-helm.yml | 106 ------------------------------ 1 file changed, 106 deletions(-) diff --git a/.github/workflows/router-helm.yml b/.github/workflows/router-helm.yml index f72e0460..39072a95 100644 --- a/.github/workflows/router-helm.yml +++ b/.github/workflows/router-helm.yml @@ -17,112 +17,6 @@ env: KO_DOCKER_REPO: kind.local jobs: - openfaas: - name: OpenFaaS Event Processor - runs-on: ubuntu-latest - timeout-minutes: 15 - - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - - - name: Set up Go - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 - with: - go-version: 1.19 - cache-dependency-path: vmware-event-router/go.sum - - - name: Setup ko - uses: ko-build/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa - - - name: Get short COMMIT and TAG (used by ko) - run: | - echo "KO_COMMIT=$(echo -n $GITHUB_SHA | cut -c -8)" >> $GITHUB_ENV - echo "KO_TAG=$(basename "${{ github.ref }}")" >> $GITHUB_ENV - - - name: Setup KinD Cluster - run: | - set -x - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - # KinD configuration. - cat > kind.yaml <> $GITHUB_ENV - - - name: Install vCenter Simulator - working-directory: ./vmware-event-router - run: | - kubectl create ns ${NAMESPACE} - kubectl -n ${NAMESPACE} apply -f deploy/vcsim.yaml - kubectl wait --timeout=3m --for=condition=Available -n ${NAMESPACE} deploy/vcsim - - - name: Install VMware Event Router with Helm - working-directory: ./vmware-event-router - run: | - echo "::group::Create override.yaml" - cat << EOF > override.yaml - image: - fullImage: kind.local/router:latest - pullPolicy: IfNotPresent - eventrouter: - config: - logLevel: debug - vcenter: - address: https://vcsim.${NAMESPACE}.svc.cluster.local - username: user - password: pass - insecure: true # ignore TLS certs - eventProcessor: openfaas - openfaas: - address: http://gateway.openfaas.svc.cluster.local:8080 - basicAuth: true - username: admin - password: ${OF_PASS} - EOF - echo "::endgroup::" - - echo "::group::Deploy VMware Event Router" - helm install veba-openfaas -n ${NAMESPACE} --wait -f override.yaml ./chart - - # assert it deployed correctly - kubectl wait --timeout=3m --for=condition=Available -n ${NAMESPACE} deploy/router - echo "::endgroup::" - - - name: "Debug" - if: ${{ always() }} - run: | - kubectl get pods --all-namespaces - kubectl -n ${NAMESPACE} describe pods - kubectl -n ${NAMESPACE} get events - knative: name: Knative Event Processor runs-on: ubuntu-latest