Skip to content

Commit

Permalink
Strip unused docker image manipulation from cloudbuild
Browse files Browse the repository at this point in the history
Superflous after google#3272 was merged
  • Loading branch information
mhutchinson committed Jan 10, 2024
1 parent 00cc0b0 commit e1bbca6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 67 deletions.
22 changes: 0 additions & 22 deletions cloudbuild_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,6 @@ substitutions:
options:
machineType: E2_HIGHCPU_32
steps:
- id: pull_mysql
name : gcr.io/cloud-builders/docker
args:
- pull
- marketplace.gcr.io/google/mysql8:${_MYSQL_TAG}
- id: tag_mysql
name: gcr.io/cloud-builders/docker
args:
- tag
- marketplace.gcr.io/google/mysql8:${_MYSQL_TAG}
- gcr.io/${PROJECT_ID}/mysql8:${_MYSQL_TAG}
waitFor:
- pull_mysql
- id: push_mysql
name: gcr.io/cloud-builders/docker
args:
- push
- gcr.io/${PROJECT_ID}/mysql8:${_MYSQL_TAG}
waitFor:
- tag_mysql
- id: build_db_server
name: gcr.io/kaniko-project/executor:v1.15.0
args:
Expand All @@ -36,8 +16,6 @@ steps:
- --destination=gcr.io/${PROJECT_ID}/db_server:latest
- --cache=true
- --cache-dir= # Cache is in Google Container Registry
waitFor:
- push_mysql
- id: build_log_server
name: gcr.io/kaniko-project/executor:v1.15.0
args:
Expand Down
23 changes: 0 additions & 23 deletions cloudbuild_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,13 @@ options:

steps:

- id: pull_mysql
name : gcr.io/cloud-builders/docker
args:
- pull
- marketplace.gcr.io/google/mysql8:${_MYSQL_TAG}
- id: tag_mysql
name: gcr.io/cloud-builders/docker
args:
- tag
- marketplace.gcr.io/google/mysql8:${_MYSQL_TAG}
- gcr.io/${PROJECT_ID}/mysql8:${_MYSQL_TAG}
waitFor:
- pull_mysql
- id: push_mysql
name: gcr.io/cloud-builders/docker
args:
- push
- gcr.io/${PROJECT_ID}/mysql8:${_MYSQL_TAG}
waitFor:
- tag_mysql

- id: build_db_server
name: gcr.io/kaniko-project/executor:v1.15.0
args:
- --dockerfile=examples/deployment/docker/db_server/Dockerfile
- --destination=gcr.io/${PROJECT_ID}/db_server:${COMMIT_SHA}
- --cache=true
- --cache-dir= # Cache is in Google Container Registry.
waitFor:
- push_mysql

- id: build_log_server
name: gcr.io/kaniko-project/executor:v1.15.0
Expand Down
22 changes: 0 additions & 22 deletions cloudbuild_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,13 @@ substitutions:
options:
machineType: E2_HIGHCPU_32
steps:
- id: pull_mysql
name : gcr.io/cloud-builders/docker
args:
- pull
- marketplace.gcr.io/google/mysql8:${_MYSQL_TAG}
- id: tag_mysql
name: gcr.io/cloud-builders/docker
args:
- tag
- marketplace.gcr.io/google/mysql8:${_MYSQL_TAG}
- gcr.io/${PROJECT_ID}/mysql8:${_MYSQL_TAG}
waitFor:
- pull_mysql
- id: push_mysql
name: gcr.io/cloud-builders/docker
args:
- push
- gcr.io/${PROJECT_ID}/mysql8:${_MYSQL_TAG}
waitFor:
- tag_mysql
- id: build_db_server
name: gcr.io/kaniko-project/executor:v1.15.0
args:
- --dockerfile=examples/deployment/docker/db_server/Dockerfile
- --destination=gcr.io/${PROJECT_ID}/db_server:${TAG_NAME}
- --cache=true
- --cache-dir= # Cache is in Google Container Registry
waitFor:
- push_mysql
- id: build_log_server
name: gcr.io/kaniko-project/executor:v1.15.0
args:
Expand Down

0 comments on commit e1bbca6

Please sign in to comment.