From db4bd757d4b9ac8226cfe9de3000c07ba917844b Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Thu, 22 Feb 2024 14:41:40 +0100 Subject: [PATCH] Introduce new openSUSE|SUSE.Legal group and move pipelines into them --- gocd/checkers.opensuse.gocd.yaml | 4 ++-- gocd/checkers.suse.gocd.yaml | 4 ++-- gocd/checkers.suse.gocd.yaml.erb | 4 ++-- gocd/generate.sh | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gocd/checkers.opensuse.gocd.yaml b/gocd/checkers.opensuse.gocd.yaml index b5092ace..8c613036 100644 --- a/gocd/checkers.opensuse.gocd.yaml +++ b/gocd/checkers.opensuse.gocd.yaml @@ -41,7 +41,7 @@ pipelines: tasks: - script: ./maintenance-installcheck.py -A https://api.opensuse.org --user=maintenance-installcheck --debug review openSUSE.Legal.Check: - group: openSUSE.Checkers + group: openSUSE.Legal lock_behavior: unlockWhenFinished timer: spec: 0 */5 * ? * * @@ -62,7 +62,7 @@ pipelines: - script: ./legal-auto.py -A https://api.opensuse.org --debug --legaldb https://legaldb.suse.de --group=legal-auto review - script: ./legal-auto.py -A https://api.opensuse.org --debug --legaldb https://legaldb.suse.de --user=licensedigger review openSUSE.Legal.Import: - group: openSUSE.Checkers + group: openSUSE.Legal lock_behavior: unlockWhenFinished timer: spec: 0 0 */3 ? * * diff --git a/gocd/checkers.suse.gocd.yaml b/gocd/checkers.suse.gocd.yaml index 91ca485a..53417fd9 100644 --- a/gocd/checkers.suse.gocd.yaml +++ b/gocd/checkers.suse.gocd.yaml @@ -233,7 +233,7 @@ pipelines: tasks: - script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto --user factory-auto review SLE.Legal.Check: - group: SLE.Checkers + group: SUSE.Legal lock_behavior: unlockWhenFinished timer: spec: 0 */5 * ? * * @@ -255,7 +255,7 @@ pipelines: - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb https://legaldb.suse.de --group=legal-auto review - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb https://legaldb.suse.de --user=licensedigger review SLE.Legal.Import: - group: SLE.Checkers + group: SUSE.Legal lock_behavior: unlockWhenFinished timer: spec: 0 0 0 ? * * diff --git a/gocd/checkers.suse.gocd.yaml.erb b/gocd/checkers.suse.gocd.yaml.erb index 91ca485a..53417fd9 100644 --- a/gocd/checkers.suse.gocd.yaml.erb +++ b/gocd/checkers.suse.gocd.yaml.erb @@ -233,7 +233,7 @@ pipelines: tasks: - script: ./check_source.py -A https://api.suse.de --verbose --skip-add-reviews --group factory-auto --user factory-auto review SLE.Legal.Check: - group: SLE.Checkers + group: SUSE.Legal lock_behavior: unlockWhenFinished timer: spec: 0 */5 * ? * * @@ -255,7 +255,7 @@ pipelines: - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb https://legaldb.suse.de --group=legal-auto review - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb https://legaldb.suse.de --user=licensedigger review SLE.Legal.Import: - group: SLE.Checkers + group: SUSE.Legal lock_behavior: unlockWhenFinished timer: spec: 0 0 0 ? * * diff --git a/gocd/generate.sh b/gocd/generate.sh index fd430a78..5315fdce 100755 --- a/gocd/generate.sh +++ b/gocd/generate.sh @@ -14,7 +14,7 @@ done grep group: *.yaml | cut -d: -f3 | sort -u | while read group; do case $group in - BCI|Factory|Leap|Admin|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers|ALP.Stagings|ALP.Target|ALP.Checkers) + BCI|Factory|Leap|Admin|MicroOS|Monitors|openSUSE.Checkers|SLE15.Stagings|SLE15.Target|SLE.Checkers|ALP.Stagings|ALP.Target|ALP.Checkers|openSUSE.Legal|SUSE.Legal) ;; *) echo "Do not create new groups without being admin and knowing the consequences - found $group"