Skip to content

Commit

Permalink
use git submodule to pin kolla-ansible version
Browse files Browse the repository at this point in the history
  • Loading branch information
msherman64 committed May 23, 2024
1 parent c6d8429 commit 10a9e61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/kolla-ansible"]
path = src/kolla-ansible
url = https://github.com/chameleoncloud/kolla-ansible
4 changes: 1 addition & 3 deletions cc-ansible
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@ install_deps() {
local galaxy_collection_path="$DIR/galaxy.ansible.com/"
ansible-galaxy collection install --force -p "$galaxy_collection_path" -r "$galaxy_requirements"

kolla_ansible_remote=https://github.com/chameleoncloud/kolla-ansible.git
kolla_ansible_checkout=${KOLLA_ANSIBLE_BRANCH:-chameleoncloud/xena}
pip install \
-r requirements.txt \
--config-settings editable_mode=strict \
-e git+"$kolla_ansible_remote"@"$kolla_ansible_checkout"#egg=kolla-ansible
-e src/kolla-ansible

# Update/install yq, adding it to the venv bin path
YQ_VERSION=4.9.6
Expand Down
1 change: 1 addition & 0 deletions src/kolla-ansible
Submodule kolla-ansible added at 9c519e

0 comments on commit 10a9e61

Please sign in to comment.