Skip to content

Instantly share code, notes, and snippets.

@taaem taaem/HowTo.md

Last active May 4, 2017
Embed
What would you like to do?
How-To Promote from devel: to testing: for onyx

Promote

This describes how to promote all packages from devel: repo to testing: repo on build.merproject.org.

Get all package names and make a shell script for use with OSC

curl -O https://gist.githubusercontent.com/taaem/c80d094d31545f10f6d58f2ba4dcb675/raw/88846751b1be9df489ad56afa0376014a9331acb/promote.py
python promote.py > promote.sh

Copy all packages

sh promote.sh

Download the whole project

rm -r nemo:testing:hw:$VENDOR:$DEVICE
osc co nemo:testing:hw:$VENDOR:$DEVICE

If this fails just rerun until it finishes.

Remove all Webhooks

cd nemo:testing:hw:$VENDOR:$DEVICE
find -maxdepth 2 -name _service -exec sed -i '/<service name="webhook">/,/<\/service>/d' {} \;

Push to OBS

Ensure you are in nemo:testing:hw:$VENDOR:$DEVICE

osc ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.