Skip to content

Commit 5cd7be9

Browse files
authored
Merge branch 'stackhpc/2024.1' into enable-skyline-build
2 parents 5bd8e3d + 720832c commit 5cd7be9

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,9 @@ jobs:
468468
-v $(pwd)/sct-results:/stack/sct-results \
469469
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
470470
$KAYOBE_IMAGE \
471-
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/stackhpc-cloud-tests.yml' -e sct_version=${{ inputs.stackhpc_cloud_tests_version }}
471+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/stackhpc-cloud-tests.yml' \
472+
${{ inputs.upgrade && '-e selinux_state=disabled' }} \
473+
-e sct_version=${{ inputs.stackhpc_cloud_tests_version }}
472474
env:
473475
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
474476

doc/source/usage.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,51 @@ configuration:
5757
The intention is to avoid merge conflicts where possible, but there may be
5858
cases where this is difficult. We are open to discussion on how best to
5959
approach this on both sides.
60+
61+
Beokay
62+
------
63+
64+
`Beokay <https://github.com/stackhpc/beokay>` is a tool to manage Kayobe
65+
environments. This can create new StackHPC Kayobe environments and
66+
ensure StackHPC Kayobe Configuration dependencies are from the correct repositories and
67+
are up-to-date:
68+
69+
To create a Beokay environment using the base configuration, for the latest release:
70+
71+
.. code-block:: console
72+
73+
beokay.py create \
74+
--base-path skc-environment \
75+
--kayobe-config-repo https://github.com/stackhpc/stackhpc-kayobe-config.git \
76+
--kayobe-config-branch |current_release_git_branch_name| \
77+
--kayobe-in-requirements
78+
79+
Kayobe environments can also be specified, for example, to create an AIO environment:
80+
81+
.. code-block:: console
82+
83+
beokay.py create \
84+
--base-path skc-aio-environment \
85+
--kayobe-config-repo https://github.com/stackhpc/stackhpc-kayobe-config.git \
86+
--kayobe-config-branch |current_release_git_branch_name| \
87+
--kayobe-config-env-name ci-aio \
88+
--vault-password-file ~/vault-pw \
89+
--kayobe-in-requirements
90+
91+
When Beokay environments are no longer required, they can be deleted by running:
92+
93+
.. code-block:: console
94+
95+
beokay.py destroy \
96+
--base-path skc-environment
97+
98+
Specific Kayobe commands can also be run via Beokay, for example, to run a Kolla
99+
service deployment on overcloud hosts:
100+
101+
.. code-block:: console
102+
103+
beokay.py run \
104+
'kayobe overcloud service deploy' \
105+
--base-path skc-aio-environment \
106+
--kayobe-config-env-name ci-aio \
107+
--vault-password-file ~/vault-pw

0 commit comments

Comments
 (0)