Skip to content

Bucket

The Buckets resource represents a bucket in Google Cloud Storage.

Define bucket on file configuration ( platform.yaml )

buckets:
  app:
    - name: bucketname #required
      role: owner 
      branch: bucketbranch 
    - ...

Argument Reference

  • name - (Required) The name of the bucket.

  • role : (Optional, Default: owner) Define the app's access permission to the bucket

  • branch : (Optional, Default: The branch which runs the process ) The running gitlab's branch

Generated Variable

  • BCK_NAME_ : Variable du bucket de l'application (BCK_NAME_BUCKETNAME)

  • GOOGLE_APPLICATION_CREDENTIALS : Path du service account