Google Cloud Functions
The GCF plugin can be used to deploy, list, and delete Google Cloud Functions.
kind: pipeline name: default steps: - name: deploy-cloud-functions image: oliver006/drone-gcf settings: action: deploy project: myproject runtime: go111 functions: - TransferFileToGCS: - trigger: http memory: 2048MB - HandleEvents: - trigger: topic trigger_resource: "projects/myproject/topics/mytopic" memory: 512MB runtime: python37 source: ./python/src/functions/
json credentials of the service account to access Google Cloud Functions.Secret recommended
can be either deploy, delete, or list.
name of the GCP project.
Default: the project of the service account
runtime of the functions to be deployed. Can be specified once or one a per function basis.
list of functions to be deployed, each needs to at least provide a trigger but can also set memory, runtime, and source.