Verified Commit 700b5fa1 authored by Jordan Petridis's avatar Jordan Petridis 🌱

CI: Push to the ostree repo only from the staging branch

Quick workaround to allow us to move fast, and get the 3.30 release
out of the door. Ideally we would have a separate job that uses
protected branches and gitlabci `only:` conditionals
parent 9bf0ae05
Pipeline #29851 canceled with stage
in 52 minutes and 1 second
......@@ -114,7 +114,10 @@ before_script:
# push the resulting runtimes to gbm.gnome.org
# FIXME: Only push from protected branches
- ostree-releng-scripts/rsync-repos --src repo/ --dest gbm-builder.gnome.org:public_html/repo/
- |
if [[ ${CI_COMMIT_REF_NAME} == "staging-3-30" ]]; then
ostree-releng-scripts/rsync-repos --src repo/ --dest gbm-builder.gnome.org:public_html/repo/
fi
# Store all the downloaded git and ostree repos in the distributed cache.
# This saves us fetching them from the different repos and further afield
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment