From 7a41a869e58d597bcb5650168e82c9e154b8ae1e Mon Sep 17 00:00:00 2001 From: Erick Cardona Date: Thu, 21 Jul 2016 10:53:28 -0500 Subject: [PATCH] Define a directory for CIAO deployment and packaging for major distributions. - Add Debian packaging files for CIAO Signed-off-by: Erick Cardona --- _DeploymentAndDistroPackaging/deb/README.md | 1 + .../deb/debian/changelog | 5 +++ .../deb/debian/compat | 1 + .../deb/debian/control | 43 +++++++++++++++++++ .../deb/debian/copyright | 28 ++++++++++++ .../deb/debian/gbp.conf | 2 + .../deb/debian/rules | 8 ++++ .../deb/debian/source/format | 1 + 8 files changed, 89 insertions(+) create mode 100644 _DeploymentAndDistroPackaging/deb/README.md create mode 100644 _DeploymentAndDistroPackaging/deb/debian/changelog create mode 100644 _DeploymentAndDistroPackaging/deb/debian/compat create mode 100644 _DeploymentAndDistroPackaging/deb/debian/control create mode 100644 _DeploymentAndDistroPackaging/deb/debian/copyright create mode 100644 _DeploymentAndDistroPackaging/deb/debian/gbp.conf create mode 100755 _DeploymentAndDistroPackaging/deb/debian/rules create mode 100644 _DeploymentAndDistroPackaging/deb/debian/source/format diff --git a/_DeploymentAndDistroPackaging/deb/README.md b/_DeploymentAndDistroPackaging/deb/README.md new file mode 100644 index 000000000..1017972da --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/README.md @@ -0,0 +1 @@ +### Debian packaging files for CIAO diff --git a/_DeploymentAndDistroPackaging/deb/debian/changelog b/_DeploymentAndDistroPackaging/deb/debian/changelog new file mode 100644 index 000000000..41c699f21 --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/debian/changelog @@ -0,0 +1,5 @@ +ciao (17+git20160722.2.756be39-1) UNRELEASED; urgency=medium + + * Initial release + + -- Erick Cardona Wed, 13 Jul 2016 05:33:02 -0500 diff --git a/_DeploymentAndDistroPackaging/deb/debian/compat b/_DeploymentAndDistroPackaging/deb/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/debian/compat @@ -0,0 +1 @@ +9 diff --git a/_DeploymentAndDistroPackaging/deb/debian/control b/_DeploymentAndDistroPackaging/deb/debian/control new file mode 100644 index 000000000..7d8182836 --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/debian/control @@ -0,0 +1,43 @@ +Source: ciao +Section: devel +Priority: extra +Maintainer: Erick Cardona +Uploaders: Erick Cardona +Build-Depends: debhelper (>= 9), + dh-golang, + golang-go (>= 1.6.2), + golang-github-google-gofuzz-dev, + golang-github-stretchr-testify-dev, + git, + ca-certificates, + golang-glog-dev, + golang-gopkg-yaml.v2-dev, + golang-github-mitchellh-mapstructure-dev, + golang-github-rackspace-gophercloud-dev, + golang-github-gorilla-mux-dev, + golang-github-mattn-go-sqlite3-dev, + golang-github-boltdb-bolt-dev, + golang-github-coreos-go-iptables-dev, + golang-github-docker-engine-api-dev, + golang-github-docker-libnetwork-dev, + golang-github-vishvananda-netlink-dev, + golang-golang-x-net-dev, + golang-github-docker-docker-dev + +Standards-Version: 3.9.7 +Homepage: https://github.com/01org/ciao +XS-Go-Import-Path: github.com/01org/ciao +Package: ciao +Architecture: amd64 +Built-Using: ${misc:Built-Using} +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: Ciao - Cloud Integrated Advanced Orchestrator + . + Ciao is the "Cloud Integrated Advanced Orchestrator". Its goal is + to provide an easy to deploy, secure, scalable cloud orchestration + system which handles virtual machines, containers, and bare metal apps + agnostically as generic workloads. Implemented in the Go language, it + separates logic into "controller", "scheduler" and "launcher" components + which communicate over the "Simple and Secure Node Transfer Protocol + (SSNTP)". diff --git a/_DeploymentAndDistroPackaging/deb/debian/copyright b/_DeploymentAndDistroPackaging/deb/debian/copyright new file mode 100644 index 000000000..0f22b0328 --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ciao +Source: https://github.com/01org/ciao + +Files: * +Copyright: Copyright (c) 2016 Intel Corporation +License: Apache-2.0 + +Files: debian/* +Copyright: Copyright (c) 2016 Intel Corporation +License: Apache-2.0 +Comment: Debian packaging is licensed under the same terms as upstream + +License: Apache-2.0 + 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. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/_DeploymentAndDistroPackaging/deb/debian/gbp.conf b/_DeploymentAndDistroPackaging/deb/debian/gbp.conf new file mode 100644 index 000000000..cec628c74 --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/_DeploymentAndDistroPackaging/deb/debian/rules b/_DeploymentAndDistroPackaging/deb/debian/rules new file mode 100755 index 000000000..b445435ea --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export DH_OPTIONS +export DH_GOPKG:=github.com/01org/ciao +export DEB_BUILD_OPTIONS=nocheck + +%: + dh $@ --buildsystem=golang --with=golang diff --git a/_DeploymentAndDistroPackaging/deb/debian/source/format b/_DeploymentAndDistroPackaging/deb/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/_DeploymentAndDistroPackaging/deb/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)