Skip to content

Commit

Permalink
Pulp playbook that syncs everything (#1466)
Browse files Browse the repository at this point in the history
Add a playbook that runs sync/publish/promote for both repos and containers
  • Loading branch information
technowhizz authored Jan 23, 2025
1 parent 082e447 commit 2ab0395
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
16 changes: 16 additions & 0 deletions etc/kayobe/ansible/pulp-sync-publish-promote.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
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 promote repos then run with
``-e repo_promote_production=false``.

0 comments on commit 2ab0395

Please sign in to comment.