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 <