proper multi project building
This commit is contained in:
parent
246805e1e9
commit
cfcd6f1429
8
.gcloudignore
Normal file
8
.gcloudignore
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# This file tells "gcloud functions deploy" which files and folders
|
||||||
|
# to ignore. This is important when deploying multi-project functions,
|
||||||
|
# as otherwise a lot of unnecessary files (particularly in the bin and
|
||||||
|
# obj directories) may be uploaded.
|
||||||
|
|
||||||
|
.gcloudignore
|
||||||
|
bin/
|
||||||
|
obj/
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -46,12 +46,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy RunUserPlaylist
|
- name: Deploy RunUserPlaylist
|
||||||
run: |
|
run: |
|
||||||
cd Mixonomer.Func && \
|
|
||||||
gcloud functions deploy RunUserPlaylist \
|
gcloud functions deploy RunUserPlaylist \
|
||||||
--region europe-west2 \
|
--region europe-west2 \
|
||||||
--gen2 \
|
--gen2 \
|
||||||
--runtime=dotnet6 \
|
--runtime=dotnet6 \
|
||||||
--trigger-topic RunUserPlaylist \
|
--trigger-topic RunUserPlaylist \
|
||||||
--set-env-vars GOOGLE_CLOUD_PROJECT=${{ vars.GCP_PROJECT }} \
|
--set-env-vars GOOGLE_CLOUD_PROJECT=${{ vars.GCP_PROJECT }} \
|
||||||
--service-account runuserplaylist-func@${{ vars.GCP_PROJECT }}.iam.gserviceaccount.com
|
--service-account runuserplaylist-func@${{ vars.GCP_PROJECT }}.iam.gserviceaccount.com \
|
||||||
|
--set-build-env-vars=GOOGLE_BUILDABLE=Mixonomer.Func
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,6 +12,7 @@ tarballs/
|
|||||||
test-results/
|
test-results/
|
||||||
|
|
||||||
creds.sh
|
creds.sh
|
||||||
|
gcp_cred.json
|
||||||
|
|
||||||
# Mac bundle stuff
|
# Mac bundle stuff
|
||||||
*.dmg
|
*.dmg
|
||||||
|
Loading…
Reference in New Issue
Block a user