From 927d5730b81be9f07d0c954edc540b22b605f758 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 19 Dec 2022 16:13:47 +1100 Subject: [PATCH] system-config-run-review : add review priority and backport labels Adding these two labels to the test project gives us better coverage of the copyCondition and submit-requirment setup of projects. Review-Priority is voting, so has a blocking s-r. Backport-Candidate is an example of a non-voting (or "trigger" as gerrit calls it) label, which should show up in a different part of the UI. This should help us better evaluate any changes in this area, particularly UI changes via our test screenshots. Change-Id: Ib42fa61d9805d1946da7307f0969cdaf6a937514 --- playbooks/zuul/bootstrap-test-review.yaml | 79 +++++++++++++++++++++-- 1 file changed, 73 insertions(+), 6 deletions(-) diff --git a/playbooks/zuul/bootstrap-test-review.yaml b/playbooks/zuul/bootstrap-test-review.yaml index f4a94d0a68..a3d697d5c7 100644 --- a/playbooks/zuul/bootstrap-test-review.yaml +++ b/playbooks/zuul/bootstrap-test-review.yaml @@ -160,7 +160,63 @@ password: secret status_code: 201 - - name: Create initial commit and change in testproject + - name: Setup initial test project + shell: + executable: /bin/bash + chdir: "{{ project_tmp.stdout }}" + cmd: | + set -xe + + git init testproject.config + pushd testproject.config + git remote add origin http://admin:secret@localhost:8081/a/y/testproject + git pull origin refs/meta/config + + echo "{{ group_json.id }} CI-tools" >> groups # noqa 203 + + cat >project.config <