Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .automation.conf/run-books/pulp-sync-content.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

set -euE
set -o pipefail

PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
KAYOBE_AUTOMATION_DIR="$(realpath "${PARENT}/../../.automation")"

function main {
if [ "${PULP_DO_CONTAINER_SYNC:-}" = true ]; then
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-container-sync.yml' -e stackhpc_pulp_images_kolla_filter="${PULP_KOLLA_FILTER:-}"
fi
if [ "${PULP_DO_CONTAINER_PUBLISH:-}" = true ]; then
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-container-publish.yml' -e stackhpc_pulp_images_kolla_filter="${PULP_KOLLA_FILTER:-}"
fi
if [ "${PULP_DO_REPO_SYNC:-}" = true ]; then
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-sync.yml'
fi
if [ "${PULP_DO_REPO_PUBLISH:-}" = true ]; then
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-publish.yml'
fi
if [ "${PULP_DO_REPO_PROMOTE:-}" = true ]; then
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-promote-production.yml'
fi
}

if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
main
fi
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ collections:
- name: stackhpc.hashicorp
version: 2.5.1
- name: stackhpc.kayobe_workflows
version: 1.0.3
version: 1.1.0
roles:
- src: stackhpc.vxlan
- name: ansible-lockdown.ubuntu22_cis
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
features:
- |
Upgrades kayobe-automation submodule to ``7676aa8``.

Upgrades kayobe-workflows collection to ``v1.1.0``.

Kayobe-automation config-diff now runs in parallel and generates both
the old and new configuration at the same time. This should improve
config-diff wait times.

Add support for the `pulp-sync-content` run book.
deprecations:
- |
Kayobe-automation will now automatically detect vaulted files for the
purpose of config-diff therefore, ``KAYOBE_CONFIG_SECRET_PATHS_EXTRA`` and
``KAYOBE_CONFIG_VAULTED_FILES_PATHS_EXTRA`` are no longer used
security:
- |
The upgraded kayobe-workflows collection increases the version of various
Actions and containers used within GitHub based workflows, including increasing
Docker in Docker to version ``27.3.1`` thus removing the vunerabilities present
in ``24.0-git``.
Loading