Skip to content

Commit 57287fb

Browse files
authored
feat: update kayobe-automation submodule and workflows (#1309)
* feat: update `kayobe-automation` submodule and `workflows` Upgrade both the submodule used by `kayobe-automation` and the workflows collection that can generate `GitHub` workflows. Changes include: - Run config-diff in parallel - Automation detect vaulted files for config-diff - Add support for running hooks that use roles - Improvements to Tempest including the ability to run only failed tests - Use less verbose input descriptions - Bump up and pin the version of Actions and containers used by the workflows
1 parent ddac1ab commit 57287fb

File tree

4 files changed

+54
-2
lines changed

4 files changed

+54
-2
lines changed
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

etc/kayobe/ansible/requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ collections:
1111
- name: stackhpc.hashicorp
1212
version: 2.5.1
1313
- name: stackhpc.kayobe_workflows
14-
version: 1.0.3
14+
version: 1.1.0
1515
roles:
1616
- src: stackhpc.vxlan
1717
- name: ansible-lockdown.ubuntu22_cis
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
features:
3+
- |
4+
Upgrades kayobe-automation submodule to ``7676aa8``.
5+
6+
Upgrades kayobe-workflows collection to ``v1.1.0``.
7+
8+
Kayobe-automation config-diff now runs in parallel and generates both
9+
the old and new configuration at the same time. This should improve
10+
config-diff wait times.
11+
12+
Add support for the `pulp-sync-content` run book.
13+
deprecations:
14+
- |
15+
Kayobe-automation will now automatically detect vaulted files for the
16+
purpose of config-diff therefore, ``KAYOBE_CONFIG_SECRET_PATHS_EXTRA`` and
17+
``KAYOBE_CONFIG_VAULTED_FILES_PATHS_EXTRA`` are no longer used
18+
security:
19+
- |
20+
The upgraded kayobe-workflows collection increases the version of various
21+
Actions and containers used within GitHub based workflows, including increasing
22+
Docker in Docker to version ``27.3.1`` thus removing the vunerabilities present
23+
in ``24.0-git``.

0 commit comments

Comments
 (0)