-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various John commits #122
Various John commits #122
Conversation
Good stuff :) From a quick Google I think this API endpoint would be the one to use for an API call solution https://cloud.google.com/run/docs/reference/rest/v1/projects.locations/list - have put it in an issue to be tackled later #123 |
Crud, I added a fix in here for #124 in here as well. PR is polluted, so let me konw how you want to break if you don't want both aspects. |
No worries, I'll merge them both in. Ideally a test (Even if it only works locally) would also be included for the two issues - they will be run with the test credentials then when I merge into master. |
I also just added the argument It could be the default without the argument, but I'm unsure if that will screw up any plain text secrets, so figured it'd be better to not make breaking changes. So I need:
|
…ecursive nesting if you run deploy_docker from the sam edirectory as the dockerfile
This allows a different service account to be run as per: https://cloud.google.com/build/docs/securing-builds/configure-user-specified-service-accounts |
R/docker.R
Outdated
@@ -85,6 +85,9 @@ cr_deploy_docker_trigger <- function(repo, | |||
#' | |||
#' To deploy builds on git triggers and sources such as GitHub, see the examples of \link{cr_buildstep_docker} or the use cases on the website | |||
#' | |||
#' @note `construct_cr_deploy_docker` is a helper function to construct the arguments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could I see an example of its usage?
Can we lint the |
I can be persuaded either way on <- vs = but the one thing I think does make code more manageable is it being consistent throughout the code base, so as it's already on <- I would prefer it's all like that. An auto-linter you mean? That would be cool. Otherwise it will just be me OCDing my way through changing it manually each time I see it ;) |
So we can use |
@muschellij2 I would like to merge but can't in the browser as its flagging the .html files as having too complex changes to resolve. I know these are unimportant changes, so if you can put in a commit that will remove the doc changes you made I can merge it in. Files:
Also the linter or something added a lot of whitespace changes and " to ' etc. which made it harder to parse what was important so for next time it would be cool to put linter changes in another pull request. |
OK - should be ready to go. |
Done! |
Easier to maintain scraping code for regions. Probably an API call makes more sense, but this is how I got the regions anyway, so figured I'd make it simpler and updatable. Also, realized region_set didn't work unless same choices were available.