Coder Social home page Coder Social logo

artemrys / google-cloud-functions-deploy Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 44 KB

GitHub repository mirror for custom pipeline to deploy Google Cloud Functions. https://bitbucket.org/ArtemRys/google-cloud-functions-deploy

License: Apache License 2.0

Dockerfile 2.92% Shell 97.08%
bitbucket-pipelines cd ci gcp google-cloud google-cloud-functions shell

google-cloud-functions-deploy's People

Contributors

artemrys avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

google-cloud-functions-deploy's Issues

Deploy multiple functions in the same pipe

Hi @artemrys really think this docker deploy script is great but wondering if it would be possible to pass / deploy multiple cloud functions in the same "-pipe" command currently i am deploying several functions in their own -pipe command i am wondering if the deployment process would be a lot more efficient if I could deploy all functions in the same docker image?

Is there any way to do that or would you need to make a modification to the script?

Allow unauthenticated functions

For some reason passing the "--allow-unauthenticated" in the EXTRA_ARGS doesnt work and gives the error : -

WARNING: Setting IAM policy failed, try "gcloud alpha functions add-iam-policy-binding v1 --region=europe-west1 --member=allUsers --role=roles/cloudfunctions.invoker"

Would it be possible to add another variable in the pipe : -

"ALLOW_UNAUTHENTICATED" : 'true'

Which defaults to 'false' which calls the above gcloud alpha function, or some how parses the "--allow-unauthenticated" and does the same?

Thank you

Jason

Pipe always deploys a http trigger function

Hi,

After searching around the web to deploy my google cloud functions from bitbucket I found your repo and successfully deployed my http trigger function.

However i tried to use the same pipe to deploy my event trigger function and noticed that your code always deploys as a http trigger even if you specify "--trigger-event" in the EXTRA_ARGS parameter. If you could make this configurable that would be extremely useful.

SOURCE as argument

Cheers for your work on this Artem.

Any chance of having SOURCE as an argument [default = .] ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.