-
Notifications
You must be signed in to change notification settings - Fork 180
Building an RPM in an OBS branch package
Alexander Graul edited this page Nov 23, 2022
·
11 revisions
Using the addition of a docker logout
step after interacting with docker registries as the example. The only impact this has is on which package needs to be re-built with my changes.
Note: First make sure to install the correct tito version
- Do changes and commit them
-
cd susemanager-utils/susemanager-sls
(path can be read fromrel-eng/packages/susemanager-sls
) osc branch home:agraul:branches:systemsmanagement:Uyuni:Master susemanager-sls
tito tag
git push $my-fork HEAD && git push $my-fork --tags
cd ../../rel-eng/
./build-packages-for-obs.sh susemanager-sls
-
./push-packages-to-obs.sh susemanager-sls
this step uses envronment variables to know which OBS instance and project combination is used. Direnv can be used to handle that (see below).
Setting the default OBS instance and project via a .envrc
:
echo 'export OSCAPI=https://api.opensuse.org\nexport OBS_PROJ=home:agraul:branches:systemsmanagement:Uyuni:Master' > .envrc
direnv allow