aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2022-05-18 09:40:18 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2022-05-18 08:05:08 +0000
commit0e3b29c5fdfccd80a8951f38f015103359d24783 (patch)
tree17a5a5742dbc2356379b25399f18ab7e224ce1ed /docker
parent9edcdb0a7ab57764b6e8622e5a75d4a1ecce2515 (diff)
downloadkolla-0e3b29c5fdfccd80a8951f38f015103359d24783.tar.gz
kolla-0e3b29c5fdfccd80a8951f38f015103359d24783.zip
[bifrost] Force Bifrost to use the correct git branch
Bifrost decides on the branches to use by itself. Early in the cycle, they are often not set correctly and may break our CI. This patch ensures we force Bifrost to use the expected branches, making us independent of Bifrost getting fixed. Change-Id: I33dbca927062284fd7a06ab6db732dd5e2219c40
Diffstat (limited to 'docker')
-rw-r--r--docker/bifrost/bifrost-base/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/bifrost/bifrost-base/Dockerfile.j2 b/docker/bifrost/bifrost-base/Dockerfile.j2
index 6567dbdcf..1dfa0db8c 100644
--- a/docker/bifrost/bifrost-base/Dockerfile.j2
+++ b/docker/bifrost/bifrost-base/Dockerfile.j2
@@ -36,6 +36,8 @@ RUN echo " " && \
{%- endif %}
bash -c './scripts/env-setup.sh && \
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target /bifrost/playbooks/install.yaml \
+ -e git_branch={{ openstack_branch_slashed }} \
+ -e ipa_upstream_release={{ openstack_branch }} \
-e @/tmp/build_arg.yml && \
{%- if base_package_type == 'deb' %}
apt-get clean && rm -rf /var/lib/apt/lists/*'