@@ -71,15 +71,6 @@ tc_end_block "Variable Setup"
71
71
configure_git_ssh_key
72
72
73
73
if [[ -z " ${is_customized_build} " ]] ; then
74
- tc_start_block " Tag the release"
75
- git tag " ${build_name} "
76
- tc_end_block " Tag the release"
77
-
78
- tc_start_block " Push release tag to github.com/cockroachlabs/release-staging"
79
- git_wrapped push ssh://
[email protected] /cockroachlabs/release-staging.git
" ${build_name} "
80
- tc_end_block " Push release tag to github.com/cockroachlabs/release-staging"
81
-
82
-
83
74
tc_start_block " Tag docker image as latest-build"
84
75
# Only tag the image as "latest-vX.Y-build" if the tag is on a release branch
85
76
# (or master for the alphas for the next major release).
@@ -119,22 +110,3 @@ if [[ -n "${is_customized_build}" ]] ; then
119
110
git_wrapped push ssh://
[email protected] /cockroachdb/cockroach.git --delete
" ${TC_BUILD_BRANCH} "
120
111
tc_end_block " Delete custombuild tag"
121
112
fi
122
-
123
- # Publish build metadata to a stable location.
124
- tc_start_block " Metadata"
125
- timestamp=$( date -u +" %Y-%m-%dT%H:%M:%SZ" )
126
- metadata_file=" artifacts/metadata.json"
127
- mkdir -p artifacts
128
- cat > " $metadata_file " << EOF
129
- {
130
- "sha": "$BUILD_VCS_NUMBER ",
131
- "timestamp": "$timestamp ",
132
- "tag": "$build_name "
133
- }
134
- EOF
135
- # Run jq to pretty print and validate JSON
136
- jq . " $metadata_file "
137
- google_credentials=$metadata_google_credentials log_into_gcloud
138
- gsutil cp " $metadata_file " " gs://$metadata_gcs_bucket /builds/$BUILD_VCS_NUMBER .json"
139
- echo " Published to https://storage.googleapis.com/$metadata_gcs_bucket /builds/$BUILD_VCS_NUMBER .json"
140
- tc_end_block " Metadata"
0 commit comments