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
6266d569
Commit
6266d569
authored
5 years ago
by
Zuul
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "CI: Add CentOS 8 ceph-ansible job"
parents
3190a2fd
1a68c53f
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/deploy-ceph-ansible.sh
+6
-5
6 additions, 5 deletions
tests/deploy-ceph-ansible.sh
tests/run.yml
+3
-0
3 additions, 0 deletions
tests/run.yml
tests/templates/ceph-ansible.j2
+2
-0
2 additions, 0 deletions
tests/templates/ceph-ansible.j2
zuul.d/project.yaml
+1
-2
1 addition, 2 deletions
zuul.d/project.yaml
with
12 additions
and
7 deletions
tests/deploy-ceph-ansible.sh
+
6
−
5
View file @
6266d569
...
@@ -7,12 +7,13 @@ set -o errexit
...
@@ -7,12 +7,13 @@ set -o errexit
export
PYTHONUNBUFFERED
=
1
export
PYTHONUNBUFFERED
=
1
function
setup_ceph_ansible
{
function
setup_ceph_ansible
{
# FIXME(mnasiadka): Use python3 when we move to CentOS 8
# (there are no python3 selinux bindings for 3 on C7)
# see https://bugs.centos.org/view.php?id=16389
# Prepare virtualenv for ceph-ansible deployment
# Prepare virtualenv for ceph-ansible deployment
virtualenv
--system-site-packages
~/ceph-venv
# NOTE(mnasiadka): Use python2 on centos7 due to missing python3 selinux bindings
if
[[
$BASE_DISTRO
==
"centos"
]]
&&
[[
$BASE_DISTRO_MAJOR_VERSION
-eq
8
]]
;
then
virtualenv
--system-site-packages
~/ceph-venv
else
virtualenv
-p
`
which python2
`
--system-site-packages
~/ceph-venv
fi
~/ceph-venv/bin/pip
install
-Ir
requirements.txt
~/ceph-venv/bin/pip
install
-Ir
requirements.txt
~/ceph-venv/bin/pip
install
-IU
selinux
~/ceph-venv/bin/pip
install
-IU
selinux
}
}
...
...
This diff is collapsed.
Click to expand it.
tests/run.yml
+
3
−
0
View file @
6266d569
...
@@ -289,6 +289,9 @@
...
@@ -289,6 +289,9 @@
cmd
:
deploy-ceph-ansible.sh
cmd
:
deploy-ceph-ansible.sh
executable
:
/bin/bash
executable
:
/bin/bash
chdir
:
"
{{
ceph_ansible_src_dir
}}"
chdir
:
"
{{
ceph_ansible_src_dir
}}"
environment
:
BASE_DISTRO
:
"
{{
base_distro
}}"
BASE_DISTRO_MAJOR_VERSION
:
"
{{
ansible_distribution_major_version
}}"
-
name
:
Ensure required kolla config directories exist
-
name
:
Ensure required kolla config directories exist
file
:
file
:
...
...
This diff is collapsed.
Click to expand it.
tests/templates/ceph-ansible.j2
+
2
−
0
View file @
6266d569
...
@@ -9,6 +9,8 @@ configure_firewall: false
...
@@ -9,6 +9,8 @@ configure_firewall: false
docker: true
docker: true
containerized_deployment: true
containerized_deployment: true
container_binary: "docker"
docker_pull_timeout: "600s"
dashboard_enabled: false
dashboard_enabled: false
...
...
This diff is collapsed.
Click to expand it.
zuul.d/project.yaml
+
1
−
2
View file @
6266d569
...
@@ -46,8 +46,7 @@
...
@@ -46,8 +46,7 @@
-
kolla-ansible-centos8-source-mariadb
-
kolla-ansible-centos8-source-mariadb
-
kolla-ansible-ubuntu-source-mariadb
-
kolla-ansible-ubuntu-source-mariadb
-
kolla-ansible-centos-source-ceph-ansible
-
kolla-ansible-centos-source-ceph-ansible
# FIXME(mgoddard): Ceph-ansible CentOS 8 job.
-
kolla-ansible-centos8-source-ceph-ansible
# - kolla-ansible-centos8-source-ceph-ansible
-
kolla-ansible-ubuntu-source-ceph-ansible
-
kolla-ansible-ubuntu-source-ceph-ansible
-
kolla-ansible-centos-source-upgrade-ceph-ansible
-
kolla-ansible-centos-source-upgrade-ceph-ansible
-
kolla-ansible-ubuntu-source-upgrade-ceph-ansible
-
kolla-ansible-ubuntu-source-upgrade-ceph-ansible
...
...
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