Merge "Sprinkle some set -e in the quickstart playbooks"

This commit is contained in:
Zuul 2021-09-27 23:29:07 +00:00 committed by Gerrit Code Review
commit 72f76e31bd
2 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@
executable: /bin/sh
chdir: "{{ project_tmp.stdout }}"
cmd: |
set -e
git init .
git config user.name "Admin"
git config user.email "admin@example.com"

View File

@ -3,6 +3,7 @@
tasks:
- name: Generate ZooKeeper certs
shell: |
set -e
/var/zuul-tools/zk-ca.sh /var/certs examples_zk_1.examples_default
chmod -R a+rX /var/certs
- name: Wait for Gerrit to start
@ -64,6 +65,7 @@
dest: "{{ all_projects_repo }}/project.config"
- name: Update All-Projects config in Gerrit
shell: |
set -e
git config user.email 'admin@example.com'
git commit -a -m 'update config'
git push http://admin:secret@gerrit:8080/All-Projects +HEAD:refs/meta/config