Skip to content

Use default version of Kayobe when kayobe_version is unspecified #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2024
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
3 changes: 2 additions & 1 deletion ansible/deploy-openstack-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,12 @@
virtualenv_command: "/usr/bin/python3 -m venv"
state: latest

- name: Fix up `kayobe-config` requirements to point to local checkout
- name: Fix up `kayobe-config` requirements to point to requested version
ansible.builtin.replace:
path: "{{ src_directory }}/{{ kayobe_config_name }}/requirements.txt"
regexp: "^kayobe@.*$"
replace: "kayobe@git+{{ kayobe_repo }}@{{ kayobe_version }}"
when: kayobe_version is truthy

- name: Ensure `kayobe-config` requirements are installed
ansible.builtin.pip:
Expand Down
2 changes: 1 addition & 1 deletion ansible/vars/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kayobe_config_environment: ci-multinode
kayobe_config_custom: []

kayobe_repo: https://github.com/stackhpc/kayobe
kayobe_version: stackhpc/2023.1
kayobe_version:

openstack_config_repo: https://github.com/stackhpc/openstack-config-multinode
openstack_config_version: main
Expand Down