mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-21 08:29:23 +00:00
Co-authored-by: Lewis Llobera <billobera@gmail.com>
This commit is contained in:
parent
4a93bb36a7
commit
95e2d15420
21 changed files with 32 additions and 32 deletions
2
.github/workflows/appengine-deploy-it.yml
vendored
2
.github/workflows/appengine-deploy-it.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }}
|
||||
export_default_credentials: true
|
||||
|
|
|
|||
6
.github/workflows/deploy-cf-it.yml
vendored
6
.github/workflows/deploy-cf-it.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC for credentials
|
||||
- uses: google-github-actions/setup-gcloud@master # Set up ADC for credentials
|
||||
with:
|
||||
service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }}
|
||||
service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_JSON }}
|
||||
|
|
@ -75,7 +75,7 @@ jobs:
|
|||
node-version: 12.x
|
||||
- run: npm install
|
||||
working-directory: ./deploy-cloud-functions
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
- uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
with:
|
||||
service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }}
|
||||
service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_JSON }}
|
||||
|
|
@ -116,7 +116,7 @@ jobs:
|
|||
node-version: 12.x
|
||||
- run: npm install
|
||||
working-directory: ./deploy-cloud-functions
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
- uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
with:
|
||||
service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }}
|
||||
service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_JSON }}
|
||||
|
|
|
|||
2
.github/workflows/deploy-cf-unit.yml
vendored
2
.github/workflows/deploy-cf-unit.yml
vendored
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: npm run lint
|
||||
working-directory: ./deploy-cloud-functions
|
||||
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }}
|
||||
service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_B64 }}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- id: service
|
||||
run: echo ::set-output name=service::run-gcloud-$GITHUB_SHA
|
||||
- uses: actions/checkout@v2
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
- uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
node-version: 12.x
|
||||
- run: npm install
|
||||
working-directory: ./deploy-cloudrun
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
- uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
node-version: 12.x
|
||||
- run: npm install
|
||||
working-directory: ./deploy-cloudrun
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
- uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
@ -95,7 +95,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: [json, gcloud, b64_json]
|
||||
steps:
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
project_id: ${{ secrets.DEPLOY_CLOUDRUN_PROJECT_ID }}
|
||||
|
|
|
|||
8
.github/workflows/deploy-cloudrun-it.yml
vendored
8
.github/workflows/deploy-cloudrun-it.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
service: ${{ steps.service.outputs.service }}
|
||||
env_vars: TEST_ENV=TEST_VAR
|
||||
- name: Setup Authentication with gcloud
|
||||
uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
service: ${{ steps.service.outputs.service }}
|
||||
metadata: ./deploy-cloudrun/tests/unit/service.basic.yaml
|
||||
- name: Setup Authentication with gcloud
|
||||
uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
@ -114,7 +114,7 @@ jobs:
|
|||
service: ${{ steps.service.outputs.service }}
|
||||
metadata: ./deploy-cloudrun/tests/unit/service.full.yaml
|
||||
- name: Setup Authentication with gcloud
|
||||
uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
@ -148,7 +148,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: [envvars, metadata, yaml]
|
||||
steps:
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
project_id: ${{ secrets.DEPLOY_CLOUDRUN_PROJECT_ID }}
|
||||
|
|
|
|||
2
.github/workflows/deploy-cloudrun.yml
vendored
2
.github/workflows/deploy-cloudrun.yml
vendored
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: npm run lint
|
||||
working-directory: ./deploy-cloudrun
|
||||
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
|
|||
2
.github/workflows/get-gke-credentials-it.yml
vendored
2
.github/workflows/get-gke-credentials-it.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC for credentials
|
||||
- uses: google-github-actions/setup-gcloud@master # Set up ADC for credentials
|
||||
with:
|
||||
service_account_key: ${{ secrets.GET_GKE_CRED_SA_KEY_JSON }}
|
||||
export_default_credentials: true
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: npm run lint
|
||||
working-directory: ./get-gke-credentials
|
||||
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.GET_GKE_CRED_SA_KEY_JSON }}
|
||||
export_default_credentials: true
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.GET_SECRETMANAGER_SECRETS_SA_KEY_B64 }}
|
||||
export_default_credentials: true
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
run: |-
|
||||
npm install
|
||||
npm run build
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_email: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_EMAIL }}
|
||||
service_account_key: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_KEY_B64 }}
|
||||
|
|
@ -93,7 +93,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
- uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_email: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_EMAIL }}
|
||||
service_account_key: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_KEY_B64 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue