File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -64,23 +64,16 @@ steps:
6464 find . -type d -printf '%P\n'
6565
6666 - id : resource specific fixups
67- name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS '
67+ name : golang:1.23
6868 entrypoint : bash
6969 args :
7070 - -c
7171 - |
7272 set -e
73- mkdir -p .hcledit-tmp
74- wget -P .hcledit-tmp/ https://github.com/minamijoyo/hcledit/releases/download/v0.2.17/hcledit_0.2.17_linux_amd64.tar.gz
75- checksum=$(sha256sum .hcledit-tmp/hcledit_0.2.17_linux_amd64.tar.gz | awk '{print $1}')
76- if [ "$checksum" != "5e085bd319c84c74e87b915ab2c1f95afccb2d4326be481fbe19c1d7a0eb5fee" ]; then
77- echo "Checksum verification failed!"
78- exit 1
79- fi
80- tar -xzf .hcledit-tmp/hcledit_0.2.17_linux_amd64.tar.gz -C .hcledit-tmp/
73+ go install github.com/minamijoyo/[email protected] 8174
82- # Add `deletion_protection = false`` to google_container_cluste .default resources
83- find . -name "*.tf" -print | xargs -t -I {} .hcledit-tmp /hcledit attribute append resource.google_container_cluster.default.deletion_protection 'false' -u -f {} || true
75+ # Add `deletion_protection = false` to google_container_cluster .default resources
76+ find ./gke -name "*.tf" -print | xargs -t -I {} $$GOPATH/bin /hcledit attribute append resource.google_container_cluster.default.deletion_protection 'false' -u -f {} || true
8477
8578 - id : prepare
8679 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
You can’t perform that action at this time.
0 commit comments