diff --git a/cloud-sql/mysql/mysql/README.md b/cloud-sql/mysql/mysql/README.md index 451bd9f52d..e9fc54ba52 100644 --- a/cloud-sql/mysql/mysql/README.md +++ b/cloud-sql/mysql/mysql/README.md @@ -104,7 +104,7 @@ gcloud builds submit --tag gcr.io/[YOUR_PROJECT_ID]/run-sql 2. Deploy the service to Cloud Run: ```sh -gcloud beta run deploy run-sql --image gcr.io/[YOUR_PROJECT_ID]/run-sql +gcloud run deploy run-sql --image gcr.io/[YOUR_PROJECT_ID]/run-sql ``` Take note of the URL output at the end of the deployment process. @@ -112,7 +112,7 @@ Take note of the URL output at the end of the deployment process. 3. Configure the service for use with Cloud Run ```sh -gcloud beta run services update run-sql \ +gcloud run services update run-sql \ --add-cloudsql-instances [INSTANCE_CONNECTION_NAME] \ --set-env-vars CLOUD_SQL_CONNECTION_NAME=[INSTANCE_CONNECTION_NAME],\ DB_USER=[MY_DB_USER],DB_PASS=[MY_DB_PASS],DB_NAME=[MY_DB] diff --git a/cloud-sql/postgres/knex/README.md b/cloud-sql/postgres/knex/README.md index 873a9d8e31..37145e3dfe 100644 --- a/cloud-sql/postgres/knex/README.md +++ b/cloud-sql/postgres/knex/README.md @@ -129,7 +129,7 @@ gcloud builds submit --tag gcr.io/[YOUR_PROJECT_ID]/run-sql 2. Deploy the service to Cloud Run: ```sh -gcloud beta run deploy run-sql --image gcr.io/[YOUR_PROJECT_ID]/run-sql +gcloud run deploy run-sql --image gcr.io/[YOUR_PROJECT_ID]/run-sql ``` Take note of the URL output at the end of the deployment process. @@ -137,7 +137,7 @@ Take note of the URL output at the end of the deployment process. 3. Configure the service for use with Cloud Run ```sh -gcloud beta run services update run-sql \ +gcloud run services update run-sql \ --add-cloudsql-instances [INSTANCE_CONNECTION_NAME] \ --set-env-vars CLOUD_SQL_CONNECTION_NAME=[INSTANCE_CONNECTION_NAME],\ DB_USER=[MY_DB_USER],DB_PASS=[MY_DB_PASS],DB_NAME=[MY_DB] diff --git a/run/README.md b/run/README.md index 1fef6ad52c..c73a126901 100644 --- a/run/README.md +++ b/run/README.md @@ -101,7 +101,7 @@ For more Cloud Run samples beyond Node.js, see the main list in the [Cloud Run S ``` gcloud builds submit --tag gcr.io/${GOOGLE_CLOUD_PROJECT}/${SAMPLE} -gcloud beta run deploy $SAMPLE \ +gcloud run deploy $SAMPLE \ # Needed for Manual Logging sample. --set-env-var GOOGLE_CLOUD_PROJECT=${GOOGLE_CLOUD_PROJECT} \ --image gcr.io/${GOOGLE_CLOUD_PROJECT}/${SAMPLE} diff --git a/run/hello-broken/test/deploy.sh b/run/hello-broken/test/deploy.sh index 049670ab8c..cac8d46278 100755 --- a/run/hello-broken/test/deploy.sh +++ b/run/hello-broken/test/deploy.sh @@ -25,7 +25,7 @@ requireEnv CONTAINER_IMAGE # Deploy the service set -x -gcloud beta run deploy "${SERVICE_NAME}" \ +gcloud run deploy "${SERVICE_NAME}" \ --image="${CONTAINER_IMAGE}" \ --region="${REGION:-us-central1}" \ ${FLAGS} \ diff --git a/run/hello-broken/test/runner.sh b/run/hello-broken/test/runner.sh index f814994f7b..4fb30901c1 100755 --- a/run/hello-broken/test/runner.sh +++ b/run/hello-broken/test/runner.sh @@ -37,11 +37,11 @@ echo # Only needed if deploy completed. function cleanup { set -x - gcloud beta run services delete ${SERVICE_NAME} \ + gcloud run services delete ${SERVICE_NAME} \ --platform=managed \ --region="${REGION:-us-central1}" \ --quiet - gcloud beta run services delete ${SERVICE_OVERRIDE} \ + gcloud run services delete ${SERVICE_OVERRIDE} \ --platform=managed \ --region="${REGION:-us-central1}" \ --quiet diff --git a/run/hello-broken/test/url.sh b/run/hello-broken/test/url.sh index 818c818eac..f1456764d3 100755 --- a/run/hello-broken/test/url.sh +++ b/run/hello-broken/test/url.sh @@ -23,7 +23,7 @@ requireEnv() { requireEnv SERVICE_NAME set -x -gcloud beta run services \ +gcloud run services \ describe "${SERVICE_NAME}" \ --region="${REGION:-us-central1}" \ --format='value(status.domain)' \ diff --git a/run/logging-manual/test/deploy.sh b/run/logging-manual/test/deploy.sh index 9346d0e707..644b29fad0 100755 --- a/run/logging-manual/test/deploy.sh +++ b/run/logging-manual/test/deploy.sh @@ -25,7 +25,7 @@ requireEnv CONTAINER_IMAGE # Deploy the service set -x -gcloud beta run deploy "${SERVICE_NAME}" \ +gcloud run deploy "${SERVICE_NAME}" \ --image="${CONTAINER_IMAGE}" \ --region="${REGION:-us-central1}" \ --platform=managed \ diff --git a/run/logging-manual/test/runner.sh b/run/logging-manual/test/runner.sh index 76c6e29b1f..211cc57f4e 100755 --- a/run/logging-manual/test/runner.sh +++ b/run/logging-manual/test/runner.sh @@ -32,7 +32,7 @@ echo # Only needed if deploy completed. function cleanup { set -x - gcloud beta run services delete ${SERVICE_NAME} \ + gcloud run services delete ${SERVICE_NAME} \ --platform=managed \ --region="${REGION:-us-central1}" \ --quiet diff --git a/run/logging-manual/test/url.sh b/run/logging-manual/test/url.sh index 818c818eac..f1456764d3 100755 --- a/run/logging-manual/test/url.sh +++ b/run/logging-manual/test/url.sh @@ -23,7 +23,7 @@ requireEnv() { requireEnv SERVICE_NAME set -x -gcloud beta run services \ +gcloud run services \ describe "${SERVICE_NAME}" \ --region="${REGION:-us-central1}" \ --format='value(status.domain)' \