From 576b1575ea8bb46dfd26d3649a80239ef999b7c6 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sat, 18 Nov 2023 15:21:27 -0700 Subject: [PATCH] add notes --- tasks/sync/copy_old_release.yml | 13 +++++++++++++ tasks/sync/generate_filelist.yml | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 tasks/sync/copy_old_release.yml diff --git a/tasks/sync/copy_old_release.yml b/tasks/sync/copy_old_release.yml new file mode 100644 index 0000000..7f1fbf7 --- /dev/null +++ b/tasks/sync/copy_old_release.yml @@ -0,0 +1,13 @@ +--- +- name: "rsync old release in compose" + ansible.builtin.shell: 'rsync -vrlptDSH --exclude="kickstart" --exclude="live" --exclude="images" --exclude="isos" --chown=10004:10005 --progress --human-readable ../latest-Rocky-9/compose/ compose' + cwd: "{{ new_compose_dir }}" + changed_when: 1 != 1 + failed_when: "result.rc != 0" + +- name: "rsync old release in staging" + ansible.builtin.shell: 'rsync -vrlptDSH --exclude="kickstart" --exclude="live" --exclude="images" --exclude="isos" --chown=10004:10005 --progress --human-readable {{ old_revision }}/ {{ new_revision }}' + cwd: "{{ new_compose_dir }}" + changed_when: 1 != 1 + failed_when: "result.rc != 0" +... diff --git a/tasks/sync/generate_filelist.yml b/tasks/sync/generate_filelist.yml index 7a7e52b..6e449a1 100644 --- a/tasks/sync/generate_filelist.yml +++ b/tasks/sync/generate_filelist.yml @@ -1,4 +1,6 @@ --- +# It takes about 5 minutes to do the file listing. Give it 10 minutes of wiggle. +# The fedora mirror list takes 15-20 minutes. 30 minutes of wiggle. - name: "Make sure the sync repo are up to date" ansible.builtin.git: repo: https://git.resf.org/sig_core/toolkit.git