diff --git a/.github/actions/kots-e2e/action.yml b/.github/actions/kots-e2e/action.yml index 81e9cd4fa2..173895fba2 100644 --- a/.github/actions/kots-e2e/action.yml +++ b/.github/actions/kots-e2e/action.yml @@ -61,9 +61,6 @@ inputs: description: 'AWS region for uploading support bundle' default: 'us-east-1' required: false - gke-service-key: - description: 'Service key to authenticate a Google Cloud service account' - required: false replicated-api-token: description: 'Replicated API token for C11y matrix' required: false @@ -76,12 +73,6 @@ outputs: runs: using: "composite" steps: - # - name: Create a GKE cluster - # if: inputs.k8s-distribution == 'gke' - # uses: ./.github/actions/kots-gke-create - # with: - # service-key: ${{ inputs.gke-service-key }} - - name: Create a local k3s cluster if: inputs.k8s-distribution == 'k3s-local' uses: replicatedhq/action-k3s@main @@ -159,9 +150,3 @@ runs: with: api-token: ${{ inputs.replicated-api-token }} cluster-id: ${{ steps.create-cluster.outputs.cluster-id }} - - # - name: Delete GKE cluster if created - # if: ${{ always() && inputs.platform == 'gke' }} - # uses: ./.github/actions/kots-gke-delete - # with: - # service-key: ${{ inputs.gke-service-key }} diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 13c3e826ee..8130a7d2af 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -1151,87 +1151,6 @@ jobs: cluster-id: ${{ steps.create-cluster.outputs.cluster-id }} - # validate-gke-install: - # runs-on: ubuntu-20.04 - # needs: [ enable-tests, can-run-ci, build-kots, build-kurl-proxy, build-migrations, push-minio, push-mc, push-rqlite ] - # env: - # APP_SLUG: helm-install-order - # steps: - # - name: Checkout - # uses: actions/checkout@v3 - - # - name: Create cluster - # uses: ./.github/actions/kots-gke-create - # with: - # service-key: ${{ secrets.GOOGLE_CLOUD_CREDENTIALS }} - - # - name: download kots binary - # uses: actions/download-artifact@v3 - # with: - # name: kots - # path: bin/ - - # - run: chmod +x bin/kots - - # - name: reserve capacity - # run: | - # # https://cloud.google.com/kubernetes-engine/docs/how-to/capacity-provisioning - # kubectl apply -f ./.github/actions/kots-gke-create/reserve-capacity.yaml - # sleep 10 - # kubectl wait pod -l app=capacity-res-job --for=condition=Ready --timeout=600s --all - - # - name: run the test - # run: | - # set +e - # echo ${{ secrets.HELM_INSTALL_ORDER_LICENSE }} | base64 -d > license.yaml - # ./bin/kots \ - # install "$APP_SLUG/automated" \ - # --license-file license.yaml \ - # --no-port-forward \ - # --namespace "$APP_SLUG" \ - # --shared-password password \ - # --kotsadm-registry ttl.sh \ - # --kotsadm-namespace automated-${{ github.run_id }} \ - # --wait-duration 5m \ - # --kotsadm-tag 24h - - # EXIT_CODE=$? - # if [ $EXIT_CODE -ne 0 ]; then - # echo "------pods:" - # kubectl -n "$APP_SLUG" get pods - # echo "------kotsadm logs" - # kubectl logs -l app=kotsadm --tail=100 --namespace "$APP_SLUG" - # exit $EXIT_CODE - # fi - - # COUNTER=1 - # while [ "$(./bin/kots get apps --namespace "$APP_SLUG" | awk 'NR>1{print $2}')" != "ready" ]; do - # ((COUNTER += 1)) - # if [ $COUNTER -gt 600 ]; then - # echo "Timed out waiting for app to be ready" - # ./bin/kots get apps --namespace "$APP_SLUG" - # echo "kotsadm logs:" - # kubectl logs -l app=kotsadm --tail=100 --namespace "$APP_SLUG" - # exit 1 - # fi - # sleep 1 - # done - - # - name: Generate support bundle on failure - # if: failure() - # uses: ./.github/actions/generate-support-bundle - # with: - # kots-namespace: "$APP_SLUG" - # aws-access-key-id: '${{ secrets.E2E_SUPPORT_BUNDLE_AWS_ACCESS_KEY_ID }}' - # aws-secret-access-key: '${{ secrets.E2E_SUPPORT_BUNDLE_AWS_SECRET_ACCESS_KEY }}' - - # - name: Delete the GKE cluster - # if: always() - # uses: ./.github/actions/kots-gke-delete - # with: - # service-key: ${{ secrets.GOOGLE_CLOUD_CREDENTIALS }} - - validate-kots-pull: runs-on: ubuntu-20.04 needs: [ enable-tests, can-run-ci, cmx-versions, build-push-kotsadm-image, build-kurl-proxy, build-migrations, push-minio, push-mc, push-rqlite ] @@ -3467,7 +3386,6 @@ jobs: - validate-kots-upgrade - validate-remove-app - validate-registry-check - # - validate-gke-install - validate-kots-helm-release-secret-migration - validate-native-helm-v2 - validate-deployment-orchestration