Skip to content

Commit 8570053

Browse files
chore(cloudrun): migrate region tags for dockerfiles and yaml from run folder - part 1 - step 3 (#13103)
* chore(cloudrun): delete old region tags in run/django/cloudmigrate.yaml * chore(cloudrun): delete old region tags in run/hello-broken/Dockerfile * chore(cloudrun): delete old region tags in run/helloworld/Dockerfile * chore(cloudrun): delete old region tags in run/image-processing/Dockerfile
1 parent 0e0e640 commit 8570053

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

run/django/cloudmigrate.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
# [START cloudrun_django_cloudmigrate_yaml_python]
16-
# [START cloudrun_django_cloudmigrate]
1716
steps:
1817
- id: "Build Container Image"
1918
name: buildpacksio/pack
@@ -69,5 +68,4 @@ substitutions:
6968

7069
images:
7170
- "${_IMAGE_NAME}"
72-
# [END cloudrun_django_cloudmigrate]
7371
# [END cloudrun_django_cloudmigrate_yaml_python]

run/hello-broken/Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
# [START cloudrun_broken_dockerfile_python]
16-
# [START cloudrun_broken_dockerfile]
1716

1817
# Use the official Python image.
1918
# https://hub.docker.com/_/python
@@ -41,5 +40,4 @@ COPY . ./
4140
# Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
4241
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
4342

44-
# [END cloudrun_broken_dockerfile]
4543
# [END cloudrun_broken_dockerfile_python]

run/helloworld/Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
# [START cloudrun_helloworld_dockerfile_python]
16-
# [START cloudrun_helloworld_dockerfile]
1716

1817
# Use the official lightweight Python image.
1918
# https://hub.docker.com/_/python
@@ -37,5 +36,4 @@ RUN pip install --no-cache-dir -r requirements.txt
3736
# Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
3837
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
3938

40-
# [END cloudrun_helloworld_dockerfile]
4139
# [END cloudrun_helloworld_dockerfile_python]

run/image-processing/Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@ COPY requirements.txt ./
2727
RUN pip install -r requirements.txt
2828

2929
# [START cloudrun_imageproc_imagemagick_dockerfile_python]
30-
# [START cloudrun_imageproc_dockerfile_imagemagick]
3130
# Install Imagemagick into the container image.
3231
# For more on system packages review the system packages tutorial.
3332
# https://cloud.google.com/run/docs/tutorials/system-packages#dockerfile
3433
RUN set -ex; \
3534
apt-get -y update; \
3635
apt-get -y install imagemagick; \
3736
rm -rf /var/lib/apt/lists/*
38-
# [END cloudrun_imageproc_dockerfile_imagemagick]
3937
# [END cloudrun_imageproc_imagemagick_dockerfile_python]
4038

4139
# Copy local code to the container image.

0 commit comments

Comments
 (0)