integration test: run manage-projects with debug

This should have gerritlib log the commands it is running in the logs,
which helps with verification.

Change-Id: Iad3c710d73a95d152689d8a60a7ef4051129b0f9
This commit is contained in:
Ian Wienand 2020-12-03 11:34:28 +11:00
parent 3ff5407988
commit 99136e1e16
1 changed files with 4 additions and 4 deletions

View File

@ -65,11 +65,11 @@
# Test jeepyb and gerritlib # Test jeepyb and gerritlib
- name: Manage single gerrit project - name: Manage single gerrit project
shell: shell:
cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -v test/test-repo-1 cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -d test/test-repo-1
chdir: src/opendev.org/opendev/gerritlib chdir: src/opendev.org/opendev/gerritlib
- name: Manage all gerrit projects - name: Manage all gerrit projects
shell: shell:
cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -v cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -d
chdir: src/opendev.org/opendev/gerritlib chdir: src/opendev.org/opendev/gerritlib
- name: Change test-repo-2 acls but don't change groups - name: Change test-repo-2 acls but don't change groups
# Lineinfile only replaces the last match so we do this twice # Lineinfile only replaces the last match so we do this twice
@ -85,11 +85,11 @@
line: ' acl-config: tools/acls/test/test2.config' line: ' acl-config: tools/acls/test/test2.config'
- name: Update single gerrit project with new acl - name: Update single gerrit project with new acl
shell: shell:
cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -v test/test-repo-1 cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -d test/test-repo-1
chdir: src/opendev.org/opendev/gerritlib chdir: src/opendev.org/opendev/gerritlib
- name: Manage all gerrit projects again after acl update - name: Manage all gerrit projects again after acl update
shell: shell:
cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -v cmd: PROJECTS_INI=tools/projects.ini PROJECTS_YAML=tools/projects.yaml manage-projects -d
chdir: src/opendev.org/opendev/gerritlib chdir: src/opendev.org/opendev/gerritlib
- name: Check test-repo-1 exists - name: Check test-repo-1 exists
shell: shell: