Skip to content

Commit

Permalink
Packaging changes to support liberty openstack release with contrail
Browse files Browse the repository at this point in the history
Partial-Bug: #1547784

Change-Id: Ie51726dbf2aed61c2b9c3e0bc96f30fd898da19f
  • Loading branch information
moghea committed Feb 20, 2016
1 parent 825cb9e commit deb6238
Show file tree
Hide file tree
Showing 21 changed files with 3,645 additions and 2 deletions.
11 changes: 11 additions & 0 deletions build/package_configs/ubuntu1404/liberty/base_packages.cfg
@@ -0,0 +1,11 @@
# ****************************************************************
# CAUTION: ANY CHANGES TO DEFAULT APPLIES TO ALL SECTIONS
# IF NOT OVERWRITTEN LOCALLY
# ****************************************************************
# Usage:
# [package name]
# file = # name of the package
# location = # location where the package file is available
# md5 = # md5 check sum of the package file
#
# *****************************************************************
251 changes: 251 additions & 0 deletions build/package_configs/ubuntu1404/liberty/contrail_packages.cfg
@@ -0,0 +1,251 @@
# ****************************************************************
# CAUTION: ANY CHANGES TO DEFAULT APPLIES TO ALL SECTIONS
# IF NOT OVERWRITTEN LOCALLY
# ****************************************************************
# Usage:
# [build target name]
# pkgs = # list of packages generated by the make target
# # multiple packages are comma separated or with
# # new lines
#
# pkg_pattern = # pattern to match packages. would be used
# # packager to pick packages from given directory
#
# builtloc = # location where packages are copied after built
# # these path are taken relative to sandbox
#
# makeloc = # location where make command has to issued
# # these path are taken relative to git local repo
# Note:
# Sections are grouped as Individual targets, default targets and
# wrapper package. Place your new targets appropriately.
# *****************************************************************

##############################################################################
# Default Section
# Values defined in default section applies to variables in all sections
# unless they're are overriden in the section

[DEFAULT]
pkgs =
pkg_pattern = {pkg}_[0-9]*.deb
builtloc = build/debian/
target = %(__name__)s
makeloc =
package_type = contrail-install-packages, contrail-packages

###############################################################################
# Individual target sections

[contrail]
pkgs = contrail-analytics, contrail-config, contrail-control, contrail-lib,
contrail-nova-driver, contrail-vrouter-agent, contrail-vrouter-dkms,
contrail-vrouter-source,
contrail-vrouter-utils, python-contrail, python-contrail-vrouter-api,
contrail-vrouter-3.13.0-40-generic, contrail-config-openstack,
contrail-dns, python-opencontrail-vrouter-netns, contrail-utils,
contrail-nodemgr, contrail-docs
makeloc = tools/packaging/common/debian
builtloc = build/packages

[contrail-heat-deb]
pkgs = contrail-heat
makeloc = tools/packaging/common/debian
builtloc = build/debian/

[contrail-vrouter-init-deb]
pkgs = contrail-vrouter-init
makeloc = tools/packaging/common/debian

[contrail-vrouter-common-deb]
pkgs = contrail-vrouter-common
makeloc = tools/packaging/common/debian

[contrail-web-core-deb]
pkgs = contrail-web-core
makeloc = tools/packaging/common/debian

[contrail-web-controller-deb]
pkgs = contrail-web-controller
makeloc = tools/packaging/common/debian

[contrail-vmware-utils-deb]
pkgs = contrail-vmware-utils
makeloc = tools/packaging/common/debian

[contrail-nova-vif-deb]
pkgs = contrail-nova-vif
makeloc = tools/packaging/common/debian

[contrail-nova-networkapi-deb]
pkgs = contrail-nova-networkapi
makeloc = tools/packaging/common/debian

[contrail-setup-deb]
pkgs = contrail-setup
makeloc = tools/packaging/common/debian

[contrail-fabric-utils-deb]
pkgs = contrail-fabric-utils
makeloc = tools/packaging/common/debian
package_type = contrail-install-packages, contrail-packages, contrail-installer-packages

[contrail-openstack-deb]
pkgs = contrail-openstack
makeloc = tools/packaging/common/debian

[contrail-openstack-analytics-deb]
pkgs = contrail-openstack-analytics
makeloc = tools/packaging/common/debian

[contrail-openstack-config-deb]
pkgs = contrail-openstack-config
makeloc = tools/packaging/common/debian

[contrail-openstack-control-deb]
pkgs = contrail-openstack-control
makeloc = tools/packaging/common/debian

[contrail-openstack-database-deb]
pkgs = contrail-openstack-database
makeloc = tools/packaging/common/debian

[contrail-openstack-vrouter-deb]
pkgs = contrail-openstack-vrouter
makeloc = tools/packaging/common/debian

[contrail-openstack-webui-deb]
pkgs = contrail-openstack-webui
makeloc = tools/packaging/common/debian

[ifmap-server]
pkgs = ifmap-server
makeloc = tools/packaging/common/debian
builtloc = build/packages

[ifmap-python-client]
pkgs = ifmap-python-client
makeloc = tools/packaging/common/debian
builtloc = build/packages

#[contrail-openstack-dashboard-deb]
#pkgs = contrail-openstack-dashboard
#makeloc = tools/packaging/common/debian

#[contrail-ostack-dashboard-deb]
#pkgs = openstack-dashboard
#makeloc = tools/packaging/common/debian

[openstack-python-neutronclient-deb]
pkgs = python-neutronclient
makeloc = tools/packaging/openstack/debian
builtloc = build/openstack/

[neutron-plugin-contrail-deb]
pkgs = neutron-plugin-contrail
makeloc = tools/packaging/openstack/debian
builtloc = build/debian/

#[ceilometer-plugin-contrail-deb]
#pkgs = ceilometer-plugin-contrail
#makeloc = tools/packaging/common/debian
#builtloc = build/debian/

# Virtual Target; Just picks up already built packages
[vrouter-openstack-extra]
#pkgs = nova-common, nova-compute, nova-compute-kvm,
# nova-compute-libvirt, python-nova
package_type = vrouter-openstack-extra
builtloc = build/openstack
target =

[contrail-cloud]
pkgs =
package_type = contrail-cloud
builtloc = build/
target =
sub_package_type = contrail-packages, contrail-openstack-packages,
contrail-thirdparty-packages, contrail-dependent-packages

[contrail-networking]
pkgs =
package_type = contrail-networking
builtloc = build/
target =
sub_package_type = contrail-packages, vrouter-openstack-extra, cfgm-openstack-extra,
contrail-thirdparty-packages, contrail-dependent-packages

#[openstack-nova-deb]
#pkgs = nova-api, nova-cells, nova-common, nova-compute,
# nova-compute-kvm, nova-conductor, nova-console,
# nova-consoleauth, nova-novncproxy, nova-objectstore,
# nova-scheduler, nova-compute-libvirt, python-nova
#makeloc = tools/packaging/openstack/debian
#builtloc = build/openstack
#package_type = contrail-install-packages, contrail-openstack-packages

[contrail-openstack-ha-deb]
pkgs = contrail-openstack-ha
makeloc = tools/packaging/common/debian

[contrail-f5-deb]
pkgs = contrail-f5
makeloc = tools/packaging/common/debian
builtloc = build/debian

[contrail-puppet]
pkgs = contrail-puppet
makeloc = tools/packaging/common/debian

###############################################################################
# Wrapper Package Sections

[contrail-installer-packages]
pkgs = contrail-installer-packages
makeloc = tools/packaging/common/debian
package_type = contrail-installer-packages

[contrail-install-packages]
pkgs = contrail-install-packages
makeloc = tools/packaging/common/debian
target = contrail-install-packages-deb
package_type = contrail-install-packages

[contrail-packages]
pkgs = contrail-packages
makeloc = tools/packaging/common/debian
package_type = contrail-packages
sub_package_type = vrouter-openstack-extra, cfgm-openstack-extra

[contrail-thirdparty-packages]
pkgs = contrail-thirdparty-packages
makeloc = tools/packaging/common/debian
package_type = contrail-thirdparty-packages

[contrail-dependent-packages]
pkgs = contrail-dependent-packages
makeloc = tools/packaging/common/debian
package_type = contrail-dependent-packages

[contrail-openstack-packages]
pkgs = contrail-openstack-packages
makeloc = tools/packaging/common/debian
package_type = contrail-openstack-packages
sub_package_type = vrouter-openstack-extra, cfgm-openstack-extra

###############################################################################
# Default target sections

[openstack-default-target]
pkgs =
makeloc = tools/packaging/openstack/debian
target = all
builtloc = build/openstack/
package_type = contrail-install-packages

[contrail-default-target]
pkgs =
makeloc = tools/packaging/common/debian/
target = all
builtloc = build/debian/
package_type = contrail-install-packages

0 comments on commit deb6238

Please sign in to comment.