mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 20:18:34 +02:00
Make dev project configurable (#371)
* Make dev project configurable We should not hardcode our dev project in the public config file. * Remove the use of .ext when using external properties They are only needed when defining properties.
This commit is contained in:
parent
de02996f00
commit
3a6e55f2da
3 changed files with 10 additions and 5 deletions
|
@ -73,12 +73,12 @@ ext {
|
|||
getCloudSqlCredential = { env, role ->
|
||||
def command =
|
||||
"""gsutil cp \
|
||||
gs://domain-registry-dev-deploy/cloudsql-credentials/${env}/${role}_credential.enc - | \
|
||||
gs://${rootProject.devProject}-deploy/cloudsql-credentials/${env}/${role}_credential.enc - | \
|
||||
base64 -d | \
|
||||
gcloud kms decrypt --location global --keyring nomulus-tool-keyring \
|
||||
--key nomulus-tool-key --plaintext-file=- \
|
||||
--ciphertext-file=- \
|
||||
--project=domain-registry-dev"""
|
||||
--project=${rootProject.devProject}"""
|
||||
|
||||
return execInBash(command, '/tmp')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue