Skip to content

Commit

Permalink
Add the "latest" endpoint for the nightly manifest (#3509)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunnatsa authored Nov 5, 2024
1 parent 484d9c0 commit a25dd7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion automation/prow_periodic_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export DOCKER_TAG="${build_date}_$(git show -s --format=%h)${ARCH_SUFFIX}"
make manifests
make bazel-push-images

bucket_dir="kubevirt-prow/devel/nightly/release/kubevirt/containerized-data-importer/${build_date}"
base_url="kubevirt-prow/devel/nightly/release/kubevirt/containerized-data-importer"
bucket_dir="${base_url}/${build_date}"
gsutil cp ./_out/manifests/release/cdi-operator.yaml gs://$bucket_dir/cdi-operator${ARCH_SUFFIX}.yaml
gsutil cp ./_out/manifests/release/cdi-cr.yaml gs://$bucket_dir/cdi-cr${ARCH_SUFFIX}.yaml

echo ${build_date} > ./_out/build_date
gsutil cp ./_out/build_date gs://${base_url}/latest${ARCH_SUFFIX}

0 comments on commit a25dd7e

Please sign in to comment.