From a24595da20e9f572adbe9df883e01153b435411b Mon Sep 17 00:00:00 2001 From: Tihomir Jovicic Date: Tue, 22 Jun 2021 13:07:59 +0200 Subject: [PATCH] Fix tests Signed-off-by: Tihomir Jovicic --- docs/programming/guides/cloudrun.md | 37 +++++++++---------- .../.dagger/env/google-cloudrun/values.yaml | 18 ++++----- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/docs/programming/guides/cloudrun.md b/docs/programming/guides/cloudrun.md index 9a1ef73b..61250308 100644 --- a/docs/programming/guides/cloudrun.md +++ b/docs/programming/guides/cloudrun.md @@ -12,32 +12,31 @@ How to run: 1. Initialize a new workspace -```sh -cd ./cloud-run-app -dagger init -``` + ```sh + cd ./cloud-run-app + dagger init + ``` 2. Create a new environment -```sh -dagger new cloud-run-app -cp *.cue ./.dagger/env/cloud-run-app/plan/ -``` + ```sh + dagger new cloud-run-app + cp *.cue ./.dagger/env/cloud-run-app/plan/ + ``` 3. Configure the Cloud Run service -```sh -dagger input text serviceName MY_APP_NAME -dagger input text region MY_GCP_REGION -dagger input text image MY_GCR_IMAGE_NAME + ```sh + dagger input text serviceName MY_APP_NAME + dagger input text region MY_GCP_REGION + dagger input text image MY_GCR_IMAGE_NAME -dagger input text gcpConfig.project MY_GCP_PROJECT -dagger input secret gcpConfig.serviceKey -f MY_GCP_SERVICE_KEY_FILE - -``` + dagger input text gcpConfig.project MY_GCP_PROJECT + dagger input secret gcpConfig.serviceKey -f MY_GCP_SERVICE_KEY_FILE + ``` 4. Deploy! -```sh -dagger up -``` + ```sh + dagger up + ``` diff --git a/stdlib/.dagger/env/google-cloudrun/values.yaml b/stdlib/.dagger/env/google-cloudrun/values.yaml index 8da7d2a6..d9b91491 100644 --- a/stdlib/.dagger/env/google-cloudrun/values.yaml +++ b/stdlib/.dagger/env/google-cloudrun/values.yaml @@ -7,24 +7,24 @@ inputs: TestConfig.gcpConfig.region: text: us-west2 TestConfig.gcpConfig.serviceKey: - secret: ENC[AES256_GCM,data:ntVZMN2z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ugppq6zxujg + - recipient: age1gxwmtwahzwdmrskhf90ppwlnze30lgpm056kuesrxzeuyclrwvpsupwtpk enc: | -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA2eU4vTE0rY1NpOERvVEdv - YnoyZUVLLzVZeDdUZjk4eGdLTkFyZE9vNzBvCk9wYnZzWFJMRVpMajVkcjgvbWV5 - ZVlkZzlzSWIxa2JTOWxVV01DQXZkV00KLS0tIEJNcEhCdU9vQkVITjd4dGFTdHNI - SEwwZ05LUjRVcmhvVDltVEFUL255c3MKoXyFKSXJpu0wtgfUTc7a5qBxA8Mur6v1 - iV1TLQ9zNkKB2xnxNdUL8c6DplL1LPvkU/ogcnbm2JxwM8cGAFLFLw== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBFMkRmY0dVcWVieEg5QWNw + MVRxMXVjZXBqTnQ4bmNEK1FBSTdZckdJZWhzCmk4ZFhrUUJVYXU0V2V1MmdPVDIz + LzlBSHFrR0xIVFlMblNHN3EyZ2lHNWsKLS0tIFZPNVVDUUFzclRXYUwrdnVuUTJW + MS9KVmtwczR3R3luU3pzaExXdEVMck0KBDEHK2xu5xnaIuX3vxJV5kUVJvtdWXbs + UU1xOdXor67vnppQuydXjmS4KHj9sUuv7ZieJdb6ncnuNxClizlWYA== -----END AGE ENCRYPTED FILE----- - lastmodified: "2021-06-22T10:10:16Z" - mac: ENC[AES256_GCM,data:AdUtAYjBfMR405tsFJKQ/5chBqFUzwEWN3W2+e4uI0la5Wh481GyoEHsGoX56GaHFfHztgx0pY6e7UO+6NFIUC0m9/TW2uoa+R3n4WTHpb9gys/0KXwJZ0a1KYZDJJtK5fwsP7md3BSrp0jGPitZNzkLIvVmCXUgJ8UwhHsGFnk=,iv:4FzZdfeGn0CxibzS/lvwIUb98PlnFyrFDjcuiY30BbE=,tag:ijrgtqfh+vszSHmDnXdh5w==,type:str] + lastmodified: "2021-06-22T11:07:23Z" + mac: ENC[AES256_GCM,data:zFPKL0MUd4ln0RHypt9XUQtEK3hCzvUDIBjTnn5oqiCSkEw/IqRcCiRcpnJYiKep/U+zGuWbzKvKIaVYXBasCJrivltQDwd0cRqhPxl73MXBlJjB6JI2jlnoaUfg1F2Xxx48V9FYEva1v3RlQ0GscNz80ER1+f1zFH+mlIALtVI=,iv:yomz6lf6eAj8HCAnezHbgbgum+ekYkl6rojJnLq12uE=,tag:YLounxMcAvwjsK12k0DjuQ==,type:str] pgp: [] encrypted_suffix: secret version: 3.7.1