snaps: Add OpenStack Snap package repos

Snap packages provide an alternative distribution semantic to
deb or rpm packages; A snap typically contains a services and
the majority of its dependencies, and by default will run in
an AppArmor and Seccomp confined snapbox, with limited access
to the host OS filesystem and other system resources.

Snaps (and the services then encapsulate) are given permission
to access host OS services, and services provided from other
snaps using interfaces (modelled as sockets and plugs).

This commit covers a minimal set of Snap package definitions
for OpenStack, and a small supporting library to help build out
Oslo config command line arguments for OpenStack daemons.

Change-Id: If010226a843908319b158f78eb25ecb520add3ab
This commit is contained in:
James Page 2016-12-05 14:52:37 +00:00
parent 4200d30a6f
commit 009f980fbf
5 changed files with 121 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[access "refs/heads/*"]
abandon = group snaps-core
create = group snaps-release
label-Code-Review = -2..+2 group snaps-core
label-Workflow = -1..+1 group snaps-core
[receive]
requireChangeId = true
requireContributorAgreement = true
[submit]
mergeContent = true

View File

@ -6305,6 +6305,30 @@
description: RackHD and OpenStack Coordinator
- project: openstack/shovel-horizon
description: Shovel plugin for OpenStack Horizon dashboard
- project: openstack/snap-glance
description: Snap package for Glance
upstream: https://github.com/openstack-snaps/snap-glance
acl-config: /home/gerrit2/acls/openstack/snaps.config
- project: openstack/snap-keystone
description: Snap package for Keystone
upstream: https://github.com/openstack-snaps/snap-keystone
acl-config: /home/gerrit2/acls/openstack/snaps.config
- project: openstack/snap-neutron
description: Snap package for Neutron
upstream: https://github.com/openstack-snaps/snap-neutron
acl-config: /home/gerrit2/acls/openstack/snaps.config
- project: openstack/snap-nova
description: Snap package for Nova
upstream: https://github.com/openstack-snaps/snap-nova
acl-config: /home/gerrit2/acls/openstack/snaps.config
- project: openstack/snap-nova-hypervisor
description: Snap package for Nova (Hypervisor)
upstream: https://github.com/openstack-snaps/snap-nova-hypervisor
acl-config: /home/gerrit2/acls/openstack/snaps.config
- project: openstack/snap.openstack
description: Tools for writing OpenStack Snap packages
upstream: https://github.com/openstack-snaps/snap.openstack
acl-config: /home/gerrit2/acls/openstack/snaps.config
- project: openstack/solar
description: Resource management and orchestration engine for distributed systems
- project: openstack/solar-resources

View File

@ -14265,6 +14265,48 @@
jobs:
- python-jobs
- project:
name: snap-glance
tarball-site: tarballs.openstack.org
jobs:
- snap-jobs
- project:
name: snap-keystone
tarball-site: tarballs.openstack.org
jobs:
- snap-jobs
- project:
name: snap-neutron
tarball-site: tarballs.openstack.org
jobs:
- snap-jobs
- project:
name: snap-nova
tarball-site: tarballs.openstack.org
jobs:
- snap-jobs
- project:
name: snap-nova-hypervisor
tarball-site: tarballs.openstack.org
jobs:
- snap-jobs
- project:
name: snap.openstack
tarball-site: tarballs.openstack.org
jobs:
- python-jobs
- project:
name: solar
tarball-site: tarballs.openstack.org

View File

@ -0,0 +1,7 @@
- job-group:
name: snap-jobs
node:
- ubuntu-xenial
jobs:
- 'gate-{name}-tox-{envlist}-{node}':
envlist: snap

View File

@ -507,6 +507,12 @@ project-templates:
check:
- 'gate-tempest-dsvm-neutron-src-{name}-ubuntu-xenial-newton'
- name: snap-jobs
check:
- 'gate-{name}-tox-snap-ubuntu-xenial'
gate:
- 'gate-{name}-tox-snap-ubuntu-xenial'
- name: lib-forward-testing-plugin
check:
- 'gate-tempest-dsvm-neutron-src-{name}-plugin-ubuntu-trusty'
@ -16757,6 +16763,36 @@ projects:
- name: merge-check
- name: python-jobs
- name: openstack/snap-glance
template:
- name: merge-check
- name: snap-jobs
- name: openstack/snap-keystone
template:
- name: merge-check
- name: snap-jobs
- name: openstack/snap-neutron
template:
- name: merge-check
- name: snap-jobs
- name: openstack/snap-nova
template:
- name: merge-check
- name: snap-jobs
- name: openstack/snap-nova-hypervisor
template:
- name: merge-check
- name: snap-jobs
- name: openstack/snap.openstack
template:
- name: merge-check
- name: python-jobs
- name: openstack/solar
template:
- name: merge-check