Skip to content

Commit

Permalink
test the permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
okdas committed Nov 9, 2023
1 parent 9874e6a commit 0ab073b
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/temp.yml
Original file line number Diff line number Diff line change
@@ -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
30 changes: 14 additions & 16 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46480,7 +46480,7 @@ paths:
service:
title: >-
The Service for which the application is
configured for
configured
type: object
properties:
id:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -47178,7 +47176,7 @@ paths:
service:
title: >-
The Service for which the application is
configured for
configured
type: object
properties:
id:
Expand Down Expand Up @@ -47245,7 +47243,7 @@ paths:
service:
title: >-
The Service for which the supplier is
configured for
configured
type: object
properties:
id:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0ab073b

Please sign in to comment.