Skip to content

Commit d952ca9

Browse files
set max instances and set public access for builder api in workflow
1 parent 8cc0e2b commit d952ca9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/deploy-builder-api.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ jobs:
110110

111111
image: '${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.SERVICE }}/${{ env.API_NAME }}:latest'
112112
service_account: 'builder-api-service-account@${{ env.PROJECT_ID }}.iam.gserviceaccount.com'
113+
flags: '--allow-unauthenticated --max-instances=2'
114+
113115
# If required, use the Cloud Run URL output in later steps
114116
- name: 'Show output'
115117
run: |2-

builder-api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This project uses Quarkus, the Supersonic Subatomic Java Framework.
44

55
If you want to learn more about Quarkus, please visit its website: <https://quarkus.io/>.
66

7+
78
## Running the application in dev mode
89

910
You can run your application in dev mode that enables live coding using:

0 commit comments

Comments
 (0)