diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 05ad3bd4..1b46ea30 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -76,6 +76,8 @@ jobs: - name: Create kube directory run: | mkdir -p $HOME/.kube + touch $HOME/.kube/config + chmod 755 $HOME/.kube/config - name: Run tests env: VENOM_VAR_provider: gcp @@ -128,6 +130,7 @@ jobs: - file: ${{ env.TESTOUT_PATH }}/test_results.html filename: rest_results.html plural-up-azure: + if: false name: plural up / Azure runs-on: ubuntu-latest steps: diff --git a/test/plural/lib/cluster-setup.yml b/test/plural/lib/cluster-setup.yml index ebeb7457..41475c02 100644 --- a/test/plural/lib/cluster-setup.yml +++ b/test/plural/lib/cluster-setup.yml @@ -3,13 +3,17 @@ input: name: '' provider: '' region: '' + project: '' steps: - - script: plural ops cluster + - script: gcloud container clusters get-credentials {{ .input.name }} --region {{ .input.region }} --project {{ .input.project }} 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 + - script: plural ops cluster assertions: - - result.code ShouldEqual 0 \ No newline at end of file + - 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 diff --git a/test/plural/up.yml b/test/plural/up.yml index 96d2a7d5..d0abdc5e 100644 --- a/test/plural/up.yml +++ b/test/plural/up.yml @@ -106,7 +106,8 @@ testcases: provider: {{ .provider }} region: {{ .region }} name: {{ .username }} - - type: cluster-services + project: {{ .project }} +# - type: cluster-services - name: Azure teardown skip: