
Some clouds may not support number of nodes needed by buildset in the case when affiliation is required. Changing logic to avoid pausing build job before uploading to dockerhub and promotion. This will also lead to uploading a temporary tag to dockerhub prior test deployment is done. Change-Id: I49ddd4c3992ce1e4c6a0e4a84374df920f308e56 Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
954 lines
36 KiB
YAML
954 lines
36 KiB
YAML
---
|
|
# Copyright 2018, SUSE LINUX GmbH.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- openstack-helm-images-build-openstack-loci-ocata-ubuntu_xenial
|
|
- openstack-helm-images-build-openstack-loci-pike-ubuntu_xenial
|
|
- openstack-helm-images-build-openstack-loci-queens-ubuntu_xenial
|
|
- openstack-helm-images-build-openstack-loci-rocky-ubuntu_xenial
|
|
- openstack-helm-images-build-openstack-loci-rocky-ubuntu_bionic
|
|
- openstack-helm-images-build-openstack-loci-stein-ubuntu_bionic
|
|
- openstack-helm-images-build-openstack-loci-train-ubuntu_bionic
|
|
- openstack-helm-images-build-openstack-loci-ussuri-ubuntu_bionic
|
|
- openstack-helm-images-build-openstack-loci-master-ubuntu_bionic
|
|
gate:
|
|
jobs:
|
|
- openstack-helm-images-upload-openstack-loci-ocata-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-pike-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-queens-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-rocky-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-rocky-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-stein-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-train-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-ussuri-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-master-ubuntu_bionic
|
|
promote:
|
|
jobs:
|
|
- openstack-helm-images-promote-openstack-loci-ocata-ubuntu_xenial
|
|
- openstack-helm-images-promote-openstack-loci-pike-ubuntu_xenial
|
|
- openstack-helm-images-promote-openstack-loci-queens-ubuntu_xenial
|
|
- openstack-helm-images-promote-openstack-loci-rocky-ubuntu_xenial
|
|
- openstack-helm-images-promote-openstack-loci-rocky-ubuntu_bionic
|
|
- openstack-helm-images-promote-openstack-loci-stein-ubuntu_bionic
|
|
- openstack-helm-images-promote-openstack-loci-train-ubuntu_bionic
|
|
- openstack-helm-images-promote-openstack-loci-ussuri-ubuntu_bionic
|
|
- openstack-helm-images-promote-openstack-loci-master-ubuntu_bionic
|
|
periodic:
|
|
jobs:
|
|
- openstack-helm-images-upload-openstack-loci-ocata-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-pike-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-queens-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-rocky-ubuntu_xenial
|
|
- openstack-helm-images-upload-openstack-loci-rocky-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-stein-ubuntu_bionic
|
|
- openstack-helm-images-promote-openstack-loci-stein-ubuntu_bionic:
|
|
dependencies:
|
|
- name: openstack-helm-images-compute-kit-stein-ubuntu_bionic
|
|
- name: openstack-helm-images-cinder-stein-ubuntu_bionic
|
|
- name: openstack-helm-images-horizon-stein-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-train-ubuntu_bionic
|
|
- openstack-helm-images-promote-openstack-loci-train-ubuntu_bionic:
|
|
dependencies:
|
|
- name: openstack-helm-images-compute-kit-train-ubuntu_bionic
|
|
- name: openstack-helm-images-cinder-train-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-ussuri-ubuntu_bionic
|
|
- openstack-helm-images-upload-openstack-loci-master-ubuntu_bionic
|
|
|
|
|
|
################
|
|
# Abstract job #
|
|
################
|
|
|
|
# This is a sample job, for which it is easy to inherit.
|
|
# It gives an example structure, should something be edited/copy pasted.
|
|
# At each release, copy the whole blob, and edit the variables appropriately.
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-master
|
|
# Inherits secrets, descriptions, and details for the building
|
|
parent: openstack-helm-images-build
|
|
abstract: true
|
|
timeout: 5400
|
|
# This enables depends-on to work by using local repos
|
|
required-projects:
|
|
- openstack/loci
|
|
# TODO(evrardjp): Now that infra has buildset registry
|
|
# We should move to it.
|
|
# In the meantime, keep our pseudo "buildset" registry in here
|
|
# through prep_docker_images.
|
|
# Fork of standard playbook to build prep images first (reusing
|
|
# role) with a different zuul_role_dir, publish wheels on http server.
|
|
# zuul_work_dir: "src/opendev.org/openstack/loci"
|
|
run: zuul.d/playbooks/build-loci.yml
|
|
vars: &build_master_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "master"
|
|
shortbranchname: "master"
|
|
distroname: ""
|
|
from: ""
|
|
python3: "yes"
|
|
#172.17.0.1 is default docker0 ip.
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
# the macros named *_project apply project wide. Be careful
|
|
# if editing those.
|
|
base_repository: "base"
|
|
ceph_repo: ""
|
|
ceph_key: ""
|
|
requirements_pip_packages: "git+https://opendev.org/openstack/heat-dashboard@{{ branchname }}#egg=heat-dashboard"
|
|
base_docker_image:
|
|
- &base_image
|
|
context: "zuul.d/playbooks/"
|
|
dockerfile: "Dockerfile_base"
|
|
repository: '{{ base_repository }}'
|
|
build_args:
|
|
- "FROM='{{ from }}'"
|
|
- "CEPH_REPO='{{ ceph_repo }}'"
|
|
- "CEPH_KEY='{{ ceph_key }}'"
|
|
prep_docker_images:
|
|
- &prep_requirements_project
|
|
context: "."
|
|
repository: openstackhelm/requirements
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='requirements'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PIP_PACKAGES='{{ requirements_pip_packages }}'"
|
|
docker_images: &project_images
|
|
- &requirements_project
|
|
<<: *prep_requirements_project
|
|
tags: &imagetag
|
|
- "{{ shortbranchname }}-{{ distroname }}"
|
|
- "{{ shortbranchname }}-{{ distroname }}-{{ currentdate }}" # Frozen tag
|
|
- &keystone_project
|
|
context: "."
|
|
repository: openstackhelm/keystone
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='keystone'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent apache ldap {{ shortbranchname }}'"
|
|
- "PIP_PACKAGES='python-openstackclient'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &heat_project
|
|
context: "."
|
|
repository: openstackhelm/heat
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='heat'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent apache'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
- "DIST_PACKAGES='curl'"
|
|
tags: *imagetag
|
|
- &barbican_project
|
|
context: "."
|
|
repository: openstackhelm/barbican
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='barbican'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &glance_project
|
|
context: "."
|
|
repository: openstackhelm/glance
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='glance'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent ceph'"
|
|
- "PIP_PACKAGES='python-swiftclient'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &cinder_project
|
|
context: "."
|
|
repository: openstackhelm/cinder
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='cinder'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent lvm ceph qemu apache'"
|
|
- "PIP_PACKAGES='python-swiftclient'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &neutron_project
|
|
context: "."
|
|
repository: openstackhelm/neutron
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='neutron'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent linuxbridge openvswitch apache'"
|
|
- "PIP_PACKAGES='tap-as-a-service'"
|
|
- "DIST_PACKAGES='jq ethtool lshw'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &neutron_sriov_project
|
|
context: "."
|
|
repository: openstackhelm/neutron
|
|
build_args:
|
|
- "FROM=docker.io/ubuntu:18.04"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='neutron'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent neutron linuxbridge openvswitch'"
|
|
- "PIP_PACKAGES='tap-as-a-service'"
|
|
- "DIST_PACKAGES='ethtool lshw'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags:
|
|
- "{{ shortbranchname }}-18.04-sriov"
|
|
- "{{ shortbranchname }}-18.04-sriov-{{ currentdate }}"
|
|
- &nova_project
|
|
context: "."
|
|
repository: openstackhelm/nova
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='nova'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent ceph linuxbridge openvswitch configdrive qemu apache'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &horizon_project
|
|
context: "."
|
|
repository: openstackhelm/horizon
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='horizon'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent apache'"
|
|
- "PIP_PACKAGES='heat-dashboard'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &senlin_project
|
|
context: "."
|
|
repository: openstackhelm/senlin
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='senlin'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &magnum_project
|
|
context: "."
|
|
repository: openstackhelm/magnum
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='magnum'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &ironic_project
|
|
context: "."
|
|
repository: openstackhelm/ironic
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='ironic'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent ipxe ipmi qemu tftp'"
|
|
- "DIST_PACKAGES='ethtool lshw iproute2'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &placement_project
|
|
context: "."
|
|
repository: openstackhelm/placement
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='placement'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='apache'"
|
|
- "PIP_PACKAGES='httplib2'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- &watcher_project
|
|
context: "."
|
|
repository: openstackhelm/watcher
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='watcher'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
files: &loci-files
|
|
- ^openstack/loci/.*
|
|
- zuul.d/openstack-loci.yaml
|
|
|
|
# The upload in openstack-helm-images-upload happens as post-run,
|
|
# so we can inherit from this. The post run is not caring about context,
|
|
# only repository, and tags.
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-master
|
|
parent: openstack-helm-images-upload
|
|
abstract: true
|
|
# Increase timeout due to many images to build
|
|
timeout: 5400
|
|
required-projects:
|
|
- openstack/loci
|
|
run: zuul.d/playbooks/build-loci.yml
|
|
vars: *build_master_images
|
|
files: *loci-files
|
|
|
|
# Promote is a run job. Let's not change it.
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-master
|
|
parent: openstack-helm-images-promote
|
|
abstract: true
|
|
vars: *build_master_images
|
|
files: *loci-files
|
|
|
|
#############
|
|
# Real jobs #
|
|
#############
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-master-ubuntu_bionic
|
|
description: Build LOCI master bionic images
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
vars: &build_master_bionic_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "master"
|
|
shortbranchname: "master"
|
|
distroname: "ubuntu_bionic"
|
|
from: "docker.io/ubuntu:18.04"
|
|
python3: "yes"
|
|
#172.17.0.1 is default docker0 ip.
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-nautilus/bionic/ bionic main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-nautilus/bionic/archive-ceph-nautilus.key"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
- <<: *placement_project
|
|
- <<: *watcher_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-master-ubuntu_bionic
|
|
description: Build and upload LOCI master bionic images
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
vars: *build_master_bionic_images
|
|
files: *loci-files
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-master-ubuntu_bionic
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote previously published LOCI master bionic images
|
|
vars: *build_master_bionic_images
|
|
files: *loci-files
|
|
|
|
##########
|
|
# USSURI #
|
|
##########
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-ussuri-ubuntu_bionic
|
|
description: Build LOCI ussuri bionic images
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
vars: &build_ussuri_bionic_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/ussuri"
|
|
shortbranchname: "ussuri"
|
|
distroname: "ubuntu_bionic"
|
|
from: "docker.io/ubuntu:18.04"
|
|
python3: "yes"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-nautilus/bionic/ bionic main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-nautilus/bionic/archive-ceph-nautilus.key"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *ironic_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
- <<: *placement_project
|
|
- <<: *watcher_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-ussuri-ubuntu_bionic
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI ussuri bionic images
|
|
vars: *build_ussuri_bionic_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-ussuri-ubuntu_bionic
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote previously published LOCI ussuri bionic images
|
|
vars: *build_ussuri_bionic_images
|
|
|
|
#########
|
|
# TRAIN #
|
|
#########
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-train-ubuntu_bionic
|
|
description: Build LOCI train bionic images
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
vars: &build_train_bionic_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/train"
|
|
shortbranchname: "train"
|
|
distroname: "ubuntu_bionic"
|
|
from: "docker.io/ubuntu:18.04"
|
|
python3: "yes"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-nautilus/bionic/ bionic main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-nautilus/bionic/archive-ceph-nautilus.key"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
- <<: *placement_project
|
|
- <<: *watcher_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-train-ubuntu_bionic
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI train bionic images
|
|
vars: *build_train_bionic_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-train-ubuntu_bionic
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote previously published LOCI train bionic images
|
|
vars: *build_train_bionic_images
|
|
|
|
#########
|
|
# STEIN #
|
|
#########
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-stein-ubuntu_bionic
|
|
description: Build LOCI stein bionic images
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
vars: &build_stein_bionic_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/stein"
|
|
shortbranchname: "stein"
|
|
distroname: "ubuntu_bionic"
|
|
from: "docker.io/ubuntu:18.04"
|
|
python3: "yes"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-nautilus/bionic/ bionic main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-nautilus/bionic/archive-ceph-nautilus.key"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
- <<: *watcher_project
|
|
- <<: *placement_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-stein-ubuntu_bionic
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI stein bionic images
|
|
vars: *build_stein_bionic_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-stein-ubuntu_bionic
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote previously published LOCI stein bionic images
|
|
vars: *build_stein_bionic_images
|
|
|
|
#########
|
|
# ROCKY #
|
|
#########
|
|
|
|
# Rocky is a stop gap for images.
|
|
# It is built using both Xenial (python2) and Bionic (python3)
|
|
# Bionic
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-rocky-ubuntu_bionic
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
description: Build LOCI rocky bionic images
|
|
vars: &build_rocky_bionic_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/rocky"
|
|
shortbranchname: "rocky"
|
|
distroname: "ubuntu_bionic"
|
|
from: "docker.io/ubuntu:18.04"
|
|
python3: "yes"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-nautilus/bionic/ bionic main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-nautilus/bionic/archive-ceph-nautilus.key"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
- <<: *watcher_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-rocky-ubuntu_bionic
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI rocky bionic images
|
|
vars: *build_rocky_bionic_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-rocky-ubuntu_bionic
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote previously published LOCI rocky bionic images
|
|
vars: *build_rocky_bionic_images
|
|
|
|
# Xenial
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-rocky-ubuntu_xenial
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
description: Build LOCI rocky xenial images
|
|
vars: &build_rocky_xenial_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/rocky"
|
|
shortbranchname: "rocky"
|
|
distroname: "ubuntu_xenial"
|
|
from: "gcr.io/google_containers/ubuntu-slim:0.14"
|
|
python3: "no"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-mimic/xenial/ xenial main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-mimic/xenial/archive-ceph-mimic.key"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
- <<: *watcher_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-rocky-ubuntu_xenial
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI rocky xenial images
|
|
vars: *build_rocky_xenial_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-rocky-ubuntu_xenial
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote previously published LOCI xenial rocky images
|
|
vars: *build_rocky_xenial_images
|
|
|
|
# openSUSE
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-rocky-opensuse_15
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
description: "Build LOCI rocky Leap15.0 images"
|
|
timeout: 7200 # need to build base image too
|
|
vars: &build_rocky_leap15_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/rocky"
|
|
shortbranchname: "rocky"
|
|
distroname: "opensuse_15"
|
|
from: "openstackhelm/base:{{ distroname }}" # This 'from' will be used in all the docker_images section.
|
|
python3: "yes"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
# We override the base image's FROM to 15.0 (instead of 15, which can
|
|
# shift over time). That is because of the fact that upper-constraints
|
|
# for Rocky contains a libvirt-python version too old for 15.1
|
|
# (libvirt-python 4.10.0 required for building under leap 15.1 due to
|
|
# the version of libvirt on the system).
|
|
prep_docker_images:
|
|
- context: "dockerfiles/leap15"
|
|
repository: openstackhelm/base
|
|
build_args:
|
|
- "PACKAGE_MIRROR={{ opensuse_package_mirror | default('http://download.opensuse.org/') }}"
|
|
- "PIP_INDEX_URL={{ pip_index_url | default('https://pypi.python.org/simple/') }}"
|
|
- "PIP_TRUSTED_HOST={{ pip_trusted_host | default('pypi.python.org') }}"
|
|
- "FROM=opensuse/leap:15.0"
|
|
tags:
|
|
- "{{ distroname }}"
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
- <<: *watcher_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-rocky-opensuse_15
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: "Build and upload LOCI rocky Leap15.0 images"
|
|
timeout: 7200 # need to build base image too
|
|
vars: *build_rocky_leap15_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-rocky-opensuse_15
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: "Promote previously published LOCI rocky Leap 15.0 images"
|
|
vars: *build_rocky_leap15_images
|
|
|
|
##########
|
|
# Queens #
|
|
##########
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-queens-ubuntu_xenial
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
description: Build LOCI queens xenial images
|
|
vars: &build_queens_xenial_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/queens"
|
|
shortbranchname: "queens"
|
|
distroname: "ubuntu_xenial"
|
|
from: "gcr.io/google_containers/ubuntu-slim:0.14"
|
|
python3: "no"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-mimic/xenial/ xenial main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-mimic/xenial/archive-ceph-mimic.key"
|
|
requirements_pip_packages: "git+https://opendev.org/openstack/heat-dashboard@{{ branchname }}#egg=heat-dashboard tap-as-a-service==3.0.0"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- <<: *horizon_project
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-queens-ubuntu_xenial
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI queens xenial images
|
|
vars: *build_queens_xenial_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-queens-ubuntu_xenial
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote a previously published LOCI queens xenial images
|
|
vars: *build_queens_xenial_images
|
|
|
|
########
|
|
# Pike #
|
|
########
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-pike-ubuntu_xenial
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
description: Build LOCI pike xenial images
|
|
vars: &build_pike_xenial_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/pike"
|
|
shortbranchname: "pike"
|
|
distroname: "ubuntu_xenial"
|
|
from: "gcr.io/google_containers/ubuntu-slim:0.14"
|
|
python3: "no"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-mimic/xenial/ xenial main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-mimic/xenial/archive-ceph-mimic.key"
|
|
requirements_pip_packages: "git+https://opendev.org/x/tap-as-a-service@{{ branchname }}#egg=tap-as-a-service"
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- <<: *keystone_project
|
|
- <<: *glance_project
|
|
- <<: *cinder_project
|
|
- <<: *nova_project
|
|
- <<: *neutron_project
|
|
- context: "."
|
|
repository: openstackhelm/horizon
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='horizon'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent apache'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- <<: *heat_project
|
|
- <<: *barbican_project
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-pike-ubuntu_xenial
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI pike xenial images
|
|
vars: *build_pike_xenial_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-pike-ubuntu_xenial
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote a previously published LOCI pike xenial images
|
|
vars: *build_pike_xenial_images
|
|
|
|
#########
|
|
# Ocata #
|
|
#########
|
|
|
|
# Ocata requires pycrypto installed for keystonemiddleware memcache support.
|
|
- job:
|
|
name: openstack-helm-images-build-openstack-loci-ocata-ubuntu_xenial
|
|
parent: openstack-helm-images-build-openstack-loci-master
|
|
description: Build ocata LOCI images for xenial
|
|
vars: &build_ocata_xenial_images
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
branchname: "stable/ocata"
|
|
shortbranchname: "ocata"
|
|
distroname: "ubuntu_xenial"
|
|
python3: "no"
|
|
wheels_location: "http://172.17.0.1:8080/wheels.tar.gz"
|
|
from: "gcr.io/google_containers/ubuntu-slim:0.14"
|
|
base_repository: "base"
|
|
ceph_repo: "deb https://mirror.mirantis.com/testing/ceph-mimic/xenial/ xenial main"
|
|
ceph_key: "https://mirror.mirantis.com/testing/ceph-mimic/xenial/archive-ceph-mimic.key"
|
|
requirements_pip_packages: kubernetes
|
|
base_docker_image:
|
|
- <<: *base_image
|
|
prep_docker_images:
|
|
- <<: *prep_requirements_project
|
|
docker_images:
|
|
- <<: *requirements_project
|
|
- context: "."
|
|
repository: openstackhelm/keystone
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='keystone'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent apache ldap {{ shortbranchname }}'"
|
|
- "PIP_PACKAGES='pycrypto python-openstackclient'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/heat
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='heat'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent apache'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "DIST_PACKAGES='curl'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/barbican
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='barbican'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/glance
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='glance'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent ceph'"
|
|
- "PIP_PACKAGES='pycrypto python-swiftclient'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/cinder
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='cinder'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent lvm ceph qemu'"
|
|
- "PIP_PACKAGES='pycrypto python-swiftclient'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/neutron
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='neutron'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent linuxbridge openvswitch'"
|
|
- "DIST_PACKAGES='jq'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/neutron
|
|
build_args:
|
|
- "FROM=docker.io/ubuntu:18.04"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='neutron'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent neutron linuxbridge openvswitch'"
|
|
- "DIST_PACKAGES='ethtool lshw'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags:
|
|
- "{{ shortbranchname }}-18.04-sriov"
|
|
- "{{ shortbranchname }}-18.04-sriov-{{ currentdate }}"
|
|
- context: "."
|
|
repository: openstackhelm/nova
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='nova'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent ceph linuxbridge openvswitch configdrive qemu apache'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/horizon
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='horizon'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent apache'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/senlin
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='senlin'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/magnum
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='magnum'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
- context: "."
|
|
repository: openstackhelm/ironic
|
|
build_args:
|
|
- "FROM='{{ base_repository }}'"
|
|
- "PYTHON3={{ python3 }}"
|
|
- "PROJECT='ironic'"
|
|
- "PROJECT_REF={{ branchname }}"
|
|
- "PROFILES='fluent ipxe ipmi qemu tftp'"
|
|
- "PIP_PACKAGES='pycrypto'"
|
|
- "DIST_PACKAGES='ethtool lshw iproute2'"
|
|
- "WHEELS='{{ wheels_location }}'"
|
|
tags: *imagetag
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-openstack-loci-ocata-ubuntu_xenial
|
|
parent: openstack-helm-images-upload-openstack-loci-master
|
|
description: Build and upload LOCI ocata xenial images
|
|
vars: *build_ocata_xenial_images
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-openstack-loci-ocata-ubuntu_xenial
|
|
parent: openstack-helm-images-promote-openstack-loci-master
|
|
description: Promote a previously published LOCI ocata xenial images
|
|
vars: *build_ocata_xenial_images
|