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
dfe2f9d0
Commit
dfe2f9d0
authored
5 years ago
by
Zuul
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "CI: Use upper constraints when installing clients"
parents
a0902d6a
d8733b29
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/run.yml
+1
-0
1 addition, 0 deletions
tests/run.yml
tools/setup_gate.sh
+10
-10
10 additions, 10 deletions
tools/setup_gate.sh
zuul.d/base.yaml
+1
-0
1 addition, 0 deletions
zuul.d/base.yaml
with
12 additions
and
10 deletions
tests/run.yml
+
1
−
0
View file @
dfe2f9d0
...
@@ -269,6 +269,7 @@
...
@@ -269,6 +269,7 @@
TAG
:
"
{{
build_image_tag
}}"
TAG
:
"
{{
build_image_tag
}}"
KOLLA_SRC_DIR
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/kolla"
KOLLA_SRC_DIR
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/kolla"
SCENARIO
:
"
{{
scenario
}}"
SCENARIO
:
"
{{
scenario
}}"
UPPER_CONSTRAINTS
:
"
{{
ansible_env.HOME
}}/src/opendev.org/openstack/requirements/upper-constraints.txt"
-
name
:
Run init-swift.sh script
-
name
:
Run init-swift.sh script
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
tools/setup_gate.sh
+
10
−
10
View file @
dfe2f9d0
...
@@ -10,22 +10,22 @@ GIT_PROJECT_DIR=$(mktemp -d)
...
@@ -10,22 +10,22 @@ GIT_PROJECT_DIR=$(mktemp -d)
function
setup_openstack_clients
{
function
setup_openstack_clients
{
# Prepare virtualenv for openstack deployment tests
# Prepare virtualenv for openstack deployment tests
if
[[
"debian"
==
$BASE_DISTRO
]]
;
then
local
packages
=(
python-openstackclient python-heatclient
)
sudo
apt
-y
install
python3-venv
fi
python3
-m
venv ~/openstackclient-venv
~/openstackclient-venv/bin/pip
install
-U
pip
~/openstackclient-venv/bin/pip
install
python-openstackclient
~/openstackclient-venv/bin/pip
install
python-heatclient
if
[[
$SCENARIO
==
zun
]]
;
then
if
[[
$SCENARIO
==
zun
]]
;
then
~/openstackclient-venv/bin/pip
install
python-zunclient
packages+
=(
python-zunclient
)
fi
fi
if
[[
$SCENARIO
==
ironic
]]
;
then
if
[[
$SCENARIO
==
ironic
]]
;
then
~/openstackclient-venv/bin/pip
install
python-ironicclient
packages+
=(
python-ironicclient
)
fi
fi
if
[[
$SCENARIO
==
masakari
]]
;
then
if
[[
$SCENARIO
==
masakari
]]
;
then
~/openstackclient-venv/bin/pip
install
python-masakariclient
packages+
=(
python-masakariclient
)
fi
fi
if
[[
"debian"
==
$BASE_DISTRO
]]
;
then
sudo
apt
-y
install
python3-venv
fi
python3
-m
venv ~/openstackclient-venv
~/openstackclient-venv/bin/pip
install
-U
pip
~/openstackclient-venv/bin/pip
install
-c
$UPPER_CONSTRAINTS
${
packages
[@]
}
}
}
function
setup_config
{
function
setup_config
{
...
...
This diff is collapsed.
Click to expand it.
zuul.d/base.yaml
+
1
−
0
View file @
dfe2f9d0
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
timeout
:
7200
timeout
:
7200
required-projects
:
required-projects
:
-
openstack/kolla-ansible
-
openstack/kolla-ansible
-
openstack/requirements
irrelevant-files
:
irrelevant-files
:
-
^.*\.rst$
-
^.*\.rst$
-
^doc/.*
-
^doc/.*
...
...
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