Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script to check obs links #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

juliogonzalez
Copy link
Member

@juliogonzalez juliogonzalez commented Apr 20, 2020

To be used for now to check that the salt links are OK, so we don't have this again: https://lists.opensuse.org/uyuni-users/2020-04/msg00016.html

This will be executed as part of a Jenkins job (most probably a pipeline, as long as I can see how to parametrize them)

$ ./check-obs-link -a https://api.suse.de -p Devel:Galaxy:Manager:3.2 -l openSUSE.org:systemsmanagement:saltstack:products -j salt; echo $?
[INFO ] Checking Devel:Galaxy:Manager:3.2/salt
[OK   ] The package links to openSUSE.org:systemsmanagement:saltstack:products/salt
0
$ ./check-obs-link -a https://api.suse.de -p Devel:Galaxy:Manager:4.0 -l openSUSE.org:systemsmanagement:saltstack:products -j salt; echo $?
[INFO ] Checking Devel:Galaxy:Manager:4.0/salt
[OK   ] The package links to openSUSE.org:systemsmanagement:saltstack:products/salt
0
$ ./check-obs-link -a https://api.suse.de -p Devel:Galaxy:Manager:Head -l openSUSE.org:systemsmanagement:saltstack:products -j salt; echo $?
[INFO ] Checking Devel:Galaxy:Manager:Head/salt
[ERROR] The package links to openSUSE.org:systemsmanagement:saltstack:products:next/salt
1
$ ./check-obs-link -a https://api.opensuse.org -p systemsmanagement:Uyuni:Master -l openSUSE.org:systemsmanagement:saltstack:products -j salt; echo $?
[INFO ] Checking systemsmanagement:Uyuni:Master/salt
[ERROR] The package links to systemsmanagement:saltstack:products/salt
1

@srbarrios
Copy link
Member

srbarrios commented Apr 23, 2020

Looks good to me, but I'm wondering if we should move this to somewhere available in uyuni-project git organization, could it make sense? If it don't, fine to have that tools folder here.

@moio
Copy link
Member

moio commented Sep 9, 2020

@juliogonzalez can this be merged?

@juliogonzalez
Copy link
Member Author

Ugh... I lost track of this. The script itself is ready to get merged, but since I proposed pipelines, let's not merge PR and let's create the pipelines right here (since we have all the pipelines in this place).

@srbarrios srbarrios force-pushed the master branch 30 times, most recently from 98bd916 to aefe924 Compare March 1, 2022 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants