From 0ab073be8447cedd9a04591ad6cb0a6514a84f8f Mon Sep 17 00:00:00 2001 From: DK Date: Thu, 9 Nov 2023 15:07:29 -0800 Subject: [PATCH] test the permissions --- .github/workflows/go.yml | 4 ++++ .github/workflows/temp.yml | 34 ++++++++++++++++++++++++++++++++++ docs/static/openapi.yml | 30 ++++++++++++++---------------- 3 files changed, 52 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/temp.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b46298728..b0c0a9b8c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,6 +12,10 @@ concurrency: group: ${{ github.head_ref || github.ref_name }} cancel-in-progress: true +env: + GKE_CLUSTER: protocol-us-central1 + GKE_ZONE: us-central1 + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/temp.yml b/.github/workflows/temp.yml new file mode 100644 index 000000000..5d70422bd --- /dev/null +++ b/.github/workflows/temp.yml @@ -0,0 +1,34 @@ +name: Temp CI job + +on: + push: + branches: ["main"] + pull_request: + +concurrency: + group: ${{ github.head_ref || github.ref_name }} + cancel-in-progress: true + +env: + GKE_CLUSTER: protocol-us-central1 + GKE_ZONE: us-central1 + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: Set up Cloud SDK + if: contains(github.event.pull_request.labels.*.name, 'devnet-test-e2e') + uses: 'google-github-actions/setup-gcloud@v1' + with: + service_account_key: ${{ secrets.GKE_PROTOCOL_US_CENTRAL }} + project_id: ${{ secrets.GKE_PROTOCOL_PROJECT }} + + - uses: google-github-actions/get-gke-credentials@v1 + with: + cluster_name: ${{ env.GKE_CLUSTER }} + location: ${{ env.GKE_ZONE }} + credentials: ${{ secrets.GKE_PROTOCOL_US_CENTRAL }} + + - run: kubectl get pod \ No newline at end of file diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index f55a851f2..d82f777d7 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -46480,7 +46480,7 @@ paths: service: title: >- The Service for which the application is - configured for + configured type: object properties: id: @@ -46660,9 +46660,7 @@ paths: type: object properties: service: - title: >- - The Service for which the application is configured - for + title: The Service for which the application is configured type: object properties: id: @@ -47178,7 +47176,7 @@ paths: service: title: >- The Service for which the application is - configured for + configured type: object properties: id: @@ -47245,7 +47243,7 @@ paths: service: title: >- The Service for which the supplier is - configured for + configured type: object properties: id: @@ -76789,7 +76787,7 @@ definitions: type: object properties: service: - title: The Service for which the application is configured for + title: The Service for which the application is configured type: object properties: id: @@ -76873,7 +76871,7 @@ definitions: type: object properties: service: - title: The Service for which the application is configured for + title: The Service for which the application is configured type: object properties: id: @@ -76967,7 +76965,7 @@ definitions: type: object properties: service: - title: The Service for which the application is configured for + title: The Service for which the application is configured type: object properties: id: @@ -77018,7 +77016,7 @@ definitions: type: object properties: service: - title: The Service for which the application is configured for + title: The Service for which the application is configured type: object properties: id: @@ -77286,7 +77284,7 @@ definitions: type: object properties: service: - title: The Service for which the application is configured for + title: The Service for which the application is configured type: object properties: id: @@ -77350,7 +77348,7 @@ definitions: type: object properties: service: - title: The Service for which the supplier is configured for + title: The Service for which the supplier is configured type: object properties: id: @@ -77540,7 +77538,7 @@ definitions: type: object properties: service: - title: The Service for which the application is configured for + title: The Service for which the application is configured type: object properties: id: @@ -77602,7 +77600,7 @@ definitions: type: object properties: service: - title: The Service for which the supplier is configured for + title: The Service for which the supplier is configured type: object properties: id: @@ -77816,7 +77814,7 @@ definitions: type: object properties: service: - title: The Service for which the supplier is configured for + title: The Service for which the supplier is configured type: object properties: id: @@ -77945,7 +77943,7 @@ definitions: type: object properties: service: - title: The Service for which the supplier is configured for + title: The Service for which the supplier is configured type: object properties: id: