blob: 8dfb6c5e6dfd1c46e93aba9293e8ffc35d855766 [file] [log] [blame]
Adrià Vilanova Martínez82a261b2024-11-08 21:26:39 +01001- name: "Run Copybara migration"
2 ansible.builtin.shell:
3 cmd: "sh export-commits.sh"
4 chdir: "{{ zuul.project.src_dir }}/.copybara"
5 register: result
6 # Exit status 4 means NO_OP:
7 # https://github.com/google/copybara/blob/55c4904442bcf905fe03c2297488b90428b472a7/java/com/google/copybara/util/ExitCode.java#L42
8 failed_when: result.rc not in [0, 4]
9 retries: 3