Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ebc7ef3

Browse files
committedMar 7, 2025
Stop uploading master build to google cloud storage
1 parent 9e168ab commit ebc7ef3

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed
 

‎.circleci/config.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -53,35 +53,6 @@ jobs:
5353
docker context create hoverfly
5454
docker buildx create --use hoverfly
5555
docker buildx build --platform=linux/arm64,linux/amd64 --no-cache --tag spectolabs/hoverfly:master --push .
56-
- run:
57-
name: Install gox
58-
command: |
59-
go install github.com/mitchellh/gox@latest
60-
- run:
61-
name: Install gcloud
62-
command: |
63-
echo $GCLOUD_SERVICE_KEY | base64 --decode --ignore-garbage > ${HOME}/gcloud-service-key.json
64-
curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-382.0.0-linux-x86_64.tar.gz | tar xz
65-
./google-cloud-sdk/install.sh -q --path-update true
66-
./google-cloud-sdk/bin/gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json
67-
./google-cloud-sdk/bin/gcloud config set project $GCLOUD_PROJECT
68-
./google-cloud-sdk/bin/gcloud init
69-
- run:
70-
name: Build cross platform releases
71-
command: |
72-
GIT_TAG_NAME=master-$CIRCLE_BUILD_NUM SHELL=/bin/bash ./build-release.sh
73-
- run:
74-
name: Upload dated cross platform releases to GCS
75-
command: |
76-
cd ./target && for f in hoverfly_bundle*;do ../google-cloud-sdk/bin/gsutil cp $f gs://hoverfly-master-builds/$(date +%Y%m%d%H%M)/$f; done
77-
- run:
78-
name: Upload latest cross platform releases to GCS
79-
command: |
80-
cd ./target && for f in hoverfly_bundle*;do ../google-cloud-sdk/bin/gsutil cp $f gs://hoverfly-master-builds/latest/$f; done
81-
- run:
82-
name: Set read access in GCS
83-
command: |
84-
./google-cloud-sdk/bin/gsutil -m acl set -R -a public-read gs://hoverfly-master-builds
8556
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
8657
resource_class: large
8758

0 commit comments

Comments
 (0)
Failed to load comments.