Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
9b6cbcfe
Commit
9b6cbcfe
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "CI: Always use upper-constraints"
parents
5b86b943
641b22b2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/run.yml
+32
-10
32 additions, 10 deletions
tests/run.yml
with
32 additions
and
10 deletions
tests/run.yml
+
32
−
10
View file @
9b6cbcfe
...
...
@@ -27,6 +27,7 @@
dashboard_enabled
:
"
{{
openstack_core_enabled
}}"
# TODO(mgoddard): Remove when previous_release is ussuri.
playbook_python_version
:
"
{{
'2'
if
is_upgrade
and
previous_release
==
'train'
and
not
is_centos8
else
'3'
}}"
upper_constraints_file
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/requirements/upper-constraints.txt"
-
name
:
Install xfsprogs package for Swift filesystems
become
:
true
...
...
@@ -62,6 +63,7 @@
-
name
:
Ensure tox is installed
pip
:
name
:
tox
extra_args
:
"
-c
{{
upper_constraints_file
}}"
when
:
need_build_image
become
:
true
...
...
@@ -71,15 +73,24 @@
file
:
"
{{
zuul.executor.work_root
}}/src/opendev.org/openstack/kolla/tests/vars/zuul.yml"
when
:
need_build_image
# only then kolla sources are available (and used)
# NOTE(mgoddard): This only affects the remote copy of the repo, not the
# one on the executor.
-
name
:
checkout the previous kolla-ansible branch
shell
:
cmd
:
|
git checkout stable/{{ previous_release | lower }}
echo "kolla-ansible checked out to:"
git log --pretty=oneline -1
chdir
:
"
{{
kolla_ansible_src_dir
}}"
-
block
:
# NOTE(mgoddard): This only affects the remote copy of the repo, not the
# one on the executor.
-
name
:
checkout the previous kolla-ansible branch
shell
:
cmd
:
|
git checkout stable/{{ previous_release | lower }}
echo "kolla-ansible checked out to:"
git log --pretty=oneline -1
chdir
:
"
{{
kolla_ansible_src_dir
}}"
-
name
:
checkout the previous requirements branch
shell
:
cmd
:
|
git checkout stable/{{ previous_release | lower }}
echo "requirements checked out to:"
git log --pretty=oneline -1
chdir
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/requirements/"
when
:
is_upgrade
-
name
:
ensure /etc/kolla exists
...
...
@@ -206,6 +217,7 @@
-
"
ara<1.0.0"
# TODO(mgoddard): Always use pip3 when previous_release is ussuri.
executable
:
"
pip{{
playbook_python_version
}}"
extra_args
:
"
-c
{{
upper_constraints_file
}}"
become
:
true
# TODO(mgoddard): Always use python3 when previous_release is ussuri.
...
...
@@ -277,7 +289,7 @@
TAG
:
"
{{
build_image_tag
}}"
KOLLA_SRC_DIR
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/kolla"
SCENARIO
:
"
{{
scenario
}}"
UPPER_CONSTRAINTS
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/requirements/
upper
-
constraints
.txt
"
UPPER_CONSTRAINTS
:
"
{{
upper
_
constraints
_file
}}
"
-
name
:
Run init-swift.sh script
script
:
...
...
@@ -468,6 +480,14 @@
git log --pretty=oneline -1
chdir
:
"
{{
kolla_ansible_src_dir
}}"
-
name
:
checkout the current requirements branch
shell
:
cmd
:
|
git checkout {{ zuul.branch }}
echo "requirements checked out to:"
git log --pretty=oneline -1
chdir
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/requirements/"
# TODO(mnasiadka): Remove in Victoria
-
name
:
Remove not needed external ceph required configs
file
:
...
...
@@ -517,6 +537,7 @@
-
"
ansible{{
ansible_version_constraint
}}"
-
"
ara<1.0.0"
executable
:
pip3
extra_args
:
"
-c
{{
upper_constraints_file
}}"
become
:
true
-
name
:
get ARA callback plugin path
...
...
@@ -534,6 +555,7 @@
pip
:
name
:
"
{{
kolla_ansible_src_dir
}}"
executable
:
pip3
extra_args
:
"
-c
{{
upper_constraints_file
}}"
become
:
true
# Update passwords.yml to include any new passwords added in this
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment