gocd/checkers.opensuse: wrap OS.Origin.Manager.Update with osc-origin install.

This is very ugly, but following the pattern laid forth.
This commit is contained in:
Jimmy Berry 2019-08-08 16:55:04 -05:00
parent 410ee5140a
commit e538b0b038

View File

@ -264,4 +264,10 @@ pipelines:
resources:
- staging-bot
tasks:
- script: osc -A https://api.opensuse.org origin -p openSUSE:Leap:15.2 update
- script: |-
tempdir=$(mktemp -d)
mkdir -p $tempdir/.osc-plugins
ln -s $PWD/osc-origin.py $tempdir/.osc-plugins
ln -s $PWD/osclib $tempdir/.osc-plugins
HOME=$tempdir osc -A https://api.opensuse.org origin -p openSUSE:Leap:15.2 update
rm -rf $tempdir