File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -278,25 +278,25 @@ promoteToPublic:
278278 echo "🚢 Please check the associated CI build to ensure the process completed".
279279 finalize :
280280 steps :
281- - name : ' validate promotion criteria'
282- cmd : |
283- echo "validating promotion criteria"
284- body=$(wget --content-on-error -O- --header="Content-Type: application/json" "https://releaseregistry.sourcegraph.com/v1/releases/k8s/{{version}}")
285- exit_code=$?
281+ # - name: 'validate promotion criteria'
282+ # cmd: |
283+ # echo "validating promotion criteria"
284+ # body=$(wget --content-on-error -O- --header="Content-Type: application/json" "https://releaseregistry.sourcegraph.com/v1/releases/k8s/{{version}}")
285+ # exit_code=$?
286286
287- if [ $exit_code != 0 ]; then
288- echo "❌ Failed to fetch release on release registry, got:"
289- echo "--- raw body ---"
290- echo $body
291- echo "--- raw body ---"
292- exit $exit_code
293- fi
287+ # if [ $exit_code != 0 ]; then
288+ # echo "❌ Failed to fetch release on release registry, got:"
289+ # echo "--- raw body ---"
290+ # echo $body
291+ # echo "--- raw body ---"
292+ # exit $exit_code
293+ # fi
294294
295- is_development=$(echo "$body" | jq -r '.is_development')
296- if [ "$is_development" = "true" ]; then
297- echo "cannot promote a development release"
298- exit 1
299- fi
295+ # is_development=$(echo "$body" | jq -r '.is_development')
296+ # if [ "$is_development" = "true" ]; then
297+ # echo "cannot promote a development release"
298+ # exit 1
299+ # fi
300300 - name : git:tag
301301 cmd : |
302302 set -eu
You can’t perform that action at this time.
0 commit comments