From 996fc7d8a085074477b40dbdc6891772b9ff9055 Mon Sep 17 00:00:00 2001 From: Lukasz Zajaczkowski Date: Fri, 29 Nov 2024 10:22:49 +0100 Subject: [PATCH] run all tests --- .github/workflows/e2e.yaml | 1 - test/plural/lib/cluster-setup.yml | 13 +++++-------- test/plural/up.yml | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index d57c2a08..07229ea5 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -25,7 +25,6 @@ env: VENOM_VAR_pluralKey: ${{ secrets.E2E_PLURAL_PRIVATE_KEY }} jobs: plural-up-gcp: - if: false name: plural up / GCP permissions: contents: 'read' diff --git a/test/plural/lib/cluster-setup.yml b/test/plural/lib/cluster-setup.yml index e118c424..f6a94b2d 100644 --- a/test/plural/lib/cluster-setup.yml +++ b/test/plural/lib/cluster-setup.yml @@ -6,14 +6,11 @@ input: project: '' steps: - - script: az aks get-credentials --overwrite-existing --name {{ .input.name }} --resource-group {{ .input.project }} - assertions: - - result.code ShouldEqual 0 - script: plural ops cluster assertions: - result.code ShouldEqual 0 -# - script: | -# export PLURAL_CONSOLE_TOKEN=$(kubectl get secret console-auth-token -n plrl-console -o jsonpath='{.data.access-token}' | base64 --decode) ;\ -# plural cd login --url https://console.{{ .input.name }}.onplural.sh/gql --token $PLURAL_CONSOLE_TOKEN -# assertions: -# - result.code ShouldEqual 0 \ No newline at end of file + - script: | + export PLURAL_CONSOLE_TOKEN=$(kubectl get secret console-auth-token -n plrl-console -o jsonpath='{.data.access-token}' | base64 --decode) ;\ + plural cd login --url https://console.{{ .input.name }}.onplural.sh/gql --token $PLURAL_CONSOLE_TOKEN + assertions: + - result.code ShouldEqual 0 \ No newline at end of file diff --git a/test/plural/up.yml b/test/plural/up.yml index d0abdc5e..0f70df32 100644 --- a/test/plural/up.yml +++ b/test/plural/up.yml @@ -107,7 +107,7 @@ testcases: region: {{ .region }} name: {{ .username }} project: {{ .project }} -# - type: cluster-services + - type: cluster-services - name: Azure teardown skip: