Building GCP Function as part of the deployment action

This issue has been tracked since 2022-02-08.


The deploy-cloud-functions action should also cater for the building of the source code package with regards to the dependencies, i.e., if there is a requirements.txt in the code directory, the respective packages should be included in the build uploaded to GCP.

Detailed design

A simple input flag to turn the building off or on would suffice, I suppose.

Additional information

No response

sethvargo wrote this answer on 2022-02-08

Hi @max-toepfer

I'm not sure I understand the request. Cloud Functions are built as part of the deployment. This is handled by Cloud Functions natively.

Are you experiencing something different? If so, could you please provide an Action YAML?

Do also note, you filed an issue against setup-gcloud. The GCF action is at deploy-cloud-functions.

max-toepfer wrote this answer on 2022-02-09

@sethvargo , my bad! I'll fix that.

More Details About Repo
Owner Name google-github-actions
Repo Name setup-gcloud
Full Name google-github-actions/setup-gcloud
Language TypeScript
Created Date 2019-11-05
Updated Date 2023-03-23
Star Count 1505
Watcher Count 65
Fork Count 548
Issue Count 11


Issue Title Created Date Updated Date