Build & Deploy Cloudrun Function POC #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Deploy Cloudrun Function POC | ||
on: | ||
push: | ||
branches: | ||
- poc | ||
paths: | ||
- 'fivetran-trigger/**' | ||
workflow_dispatch: | ||
inputs: | ||
function_name: | ||
description: 'The name of the Cloud Function to deploy' | ||
required: true | ||
default: 'fivetran-trigger' | ||
entry_point: | ||
description: 'The python function serving as the entry point' | ||
required: true | ||
default: 'hello_http' | ||
runtime: | ||
description: 'The function runtime' | ||
required: true | ||
default: 'python312' | ||
jobs: | ||
build_and_deploy: | ||
uses: CruGlobal/.github/.github/workflows/build-deploy-cloudrun-function.yml@gcp-cloudrun #temporarily using branch for testing | ||
with: | ||
function_name: ${{ github.event.inputs.function_name }} | ||
entry_point: hello_http | ||
runtime: python312 | ||
environment: poc | ||
GCP_PROJECT_ID: ${{ vars.GCP_PROJECT_ID }} | ||
Check failure on line 33 in .github/workflows/build-deploy-cloudrun-function_poc.yml
|
||
GCP_PROJECT_NUMBER: ${{ vars.GCP_PROJECT_NUMBER }} | ||
WORKLOAD_IDENTITY_POOL: ${{ vars.WORKLOAD_IDENTITY_POOL }} | ||
WORKLOAD_IDENTITY_PROVIDER: ${{ vars.WORKLOAD_IDENTITY_PROVIDER }} | ||
GCP_SERVICE_ACCOUNT: ${{ vars.GCP_SERVICE_ACCOUNT }} | ||
GCP_SERVICE_ACCOUNT_EMAIL: ${{ vars.GCP_SERVICE_ACCOUNT_EMAIL }} | ||
GCP_REGION: ${{ vars.GCP_REGION }} | ||