From b068171b9d20ca954508d07ca25b7a44ae280f20 Mon Sep 17 00:00:00 2001 From: technowhizz <7688823+technowhizz@users.noreply.github.com> Date: Fri, 17 Jan 2025 09:59:08 +0000 Subject: [PATCH 1/3] Add a playbook that runs sync/publish/promote for both repos and contianers --- etc/kayobe/ansible/pulp-sync-publish-promote.yml | 16 ++++++++++++++++ ...ublish-promote-playbook-b638be7c77a649dd.yaml | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 etc/kayobe/ansible/pulp-sync-publish-promote.yml create mode 100644 releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml diff --git a/etc/kayobe/ansible/pulp-sync-publish-promote.yml b/etc/kayobe/ansible/pulp-sync-publish-promote.yml new file mode 100644 index 000000000..a2e460662 --- /dev/null +++ b/etc/kayobe/ansible/pulp-sync-publish-promote.yml @@ -0,0 +1,16 @@ +--- +- name: "Import pulp-repo-sync" + import_playbook: pulp-repo-sync.yml + +- name: "Import pulp-repo-publish" + import_playbook: pulp-repo-publish.yml + +- name: "Import pulp-repo-promote-production" + import_playbook: pulp-repo-promote-production.yml + when: repo_promote_production | default(true) + +- name: "Import pulp-container-sync" + import_playbook: pulp-container-sync.yml + +- name: "Import pulp-container-publish" + import_playbook: pulp-container-publish.yml diff --git a/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml new file mode 100644 index 000000000..3503f94e1 --- /dev/null +++ b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Added a new playbook `pulp_sync_publish_promote` that can be used to sync, + publish and promote a repository in a single step, as well as sync and + publish container repos. If you do not want to publish repos then run with + ``-e repo_promote_production=false``. From 5f47c8972b6436703652331533a20aa7069f382d Mon Sep 17 00:00:00 2001 From: Dawud <7688823+technowhizz@users.noreply.github.com> Date: Tue, 21 Jan 2025 13:38:02 +0000 Subject: [PATCH 2/3] Update releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml Co-authored-by: Alex-Welsh <112560678+Alex-Welsh@users.noreply.github.com> --- .../pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml index 3503f94e1..8c715663c 100644 --- a/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml +++ b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml @@ -2,6 +2,6 @@ features: - | Added a new playbook `pulp_sync_publish_promote` that can be used to sync, - publish and promote a repository in a single step, as well as sync and + publish and promote all repositories in a single step, as well as sync and publish container repos. If you do not want to publish repos then run with ``-e repo_promote_production=false``. From bd12d6a0d5917a0f076fd621368cf3cadcbbc03a Mon Sep 17 00:00:00 2001 From: Dawud <7688823+technowhizz@users.noreply.github.com> Date: Wed, 22 Jan 2025 22:13:30 +0000 Subject: [PATCH 3/3] Update releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml Co-authored-by: Alex-Welsh <112560678+Alex-Welsh@users.noreply.github.com> --- .../pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml index 8c715663c..41ac1167b 100644 --- a/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml +++ b/releasenotes/notes/pulp-sync-publish-promote-playbook-b638be7c77a649dd.yaml @@ -3,5 +3,5 @@ features: - | Added a new playbook `pulp_sync_publish_promote` that can be used to sync, publish and promote all repositories in a single step, as well as sync and - publish container repos. If you do not want to publish repos then run with + publish container repos. If you do not want to promote repos then run with ``-e repo_promote_production=false``.