Skip to content

Commit 3b2ec1e

Browse files
jackhodgkissMoteHue
andcommitted
Update releasenotes/notes/update-kayobe-automation-55fc9c5c380d819c.yaml
Co-authored-by: Matt Crees <[email protected]>
1 parent 39118f7 commit 3b2ec1e

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

.automation

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
3+
set -euE
4+
set -o pipefail
5+
6+
PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7+
KAYOBE_AUTOMATION_DIR="$(realpath "${PARENT}/../../.automation")"
8+
9+
function main {
10+
if [ "${PULP_DO_CONTAINER_SYNC:-}" = true ]; then
11+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-container-sync.yml' -e stackhpc_pulp_images_kolla_filter="${PULP_KOLLA_FILTER:-}"
12+
fi
13+
if [ "${PULP_DO_CONTAINER_PUBLISH:-}" = true ]; then
14+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-container-publish.yml' -e stackhpc_pulp_images_kolla_filter="${PULP_KOLLA_FILTER:-}"
15+
fi
16+
if [ "${PULP_DO_REPO_SYNC:-}" = true ]; then
17+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-sync.yml'
18+
fi
19+
if [ "${PULP_DO_REPO_PUBLISH:-}" = true ]; then
20+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-publish.yml'
21+
fi
22+
if [ "${PULP_DO_REPO_PROMOTE:-}" = true ]; then
23+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-promote-production.yml'
24+
fi
25+
}
26+
27+
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
28+
main
29+
fi

releasenotes/notes/update-kayobe-automation-55fc9c5c380d819c.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
---
22
features:
33
- |
4-
Upgrades kayobe-automation submodule to ``86b2840``.
4+
Upgrades kayobe-automation submodule to ``7676aa8``.
5+
56
Upgrades kayobe-workflows collection to ``v1.1.0``.
7+
68
Kayobe-automation config-diff now runs in parallel and generates both
79
the old and new configuration at the same time. This should improve
810
config-diff wait times.
11+
12+
Add support for the `pulp-sync-content` run book.
913
deprecations:
1014
- |
11-
Kayobe-automation will now automatically detected vaulted files for the
15+
Kayobe-automation will now automatically detect vaulted files for the
1216
purpose of config-diff therefore, ``KAYOBE_CONFIG_SECRET_PATHS_EXTRA`` and
1317
``KAYOBE_CONFIG_VAULTED_FILES_PATHS_EXTRA`` are no longer used
1418
security:

0 commit comments

Comments
 (0)