Merge "Pin to Ubuntu 16.04"

This commit is contained in:
Jenkins 2016-08-20 15:57:39 +00:00 committed by Gerrit Code Review
commit 6667bcfc97
7 changed files with 21 additions and 14 deletions

View File

@ -202,15 +202,17 @@ COPY apt_preferences.{{ base_distro }} /etc/apt/preferences
{% set base_apt_packages = [
'curl',
'gawk',
'kmod',
'lvm2',
'open-iscsi',
'python',
'sudo',
'tgt']
%}
{% if base_distro == 'ubuntu' %}
{% set base_apt_keys = [
'199369E5404BD5FC7D2FE43BCBCB082A1BB943DB',
'0xF1656F24C74CD1D8',
'391A9AA2147192839E9DB0315EDB1B62EC4926EA',
'430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A',
'08B73419AC32B4E966C1A330E84AC2C0460F3994',

View File

@ -1,23 +1,23 @@
# Default repos
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
# Backports have a lower priority and must be explicitly installed to be used
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# We need to add the Liberty repo for the updated packages they provide. The main
# ones are qemu, libvirt, and openvswitch.
deb http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/mitaka main
deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newton main
# MariaDB 10.0 repo
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial main
# Percona repo (for xtrabackup)
deb http://repo.percona.com/apt trusty main
deb http://repo.percona.com/apt xenial main
# Ceph repo
deb http://download.ceph.com/debian-hammer/ trusty main
deb http://download.ceph.com/debian-hammer/ xenial main
# Elastic repo
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
@ -26,7 +26,7 @@ deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
deb http://packages.elastic.co/kibana/4.4/debian stable main
# Docker repo
deb http://apt.dockerproject.org/repo ubuntu-trusty main
deb http://apt.dockerproject.org/repo ubuntu-xenial main
# InfluxDB repo
deb https://repos.influxdata.com/ubuntu trusty stable
deb https://repos.influxdata.com/ubuntu xenial stable

View File

@ -13,11 +13,11 @@ ENV JAVA_HOME /usr/lib/jvm/jre-1.7.0-openjdk/
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set elasticsearch_packages = [
'openjdk-7-jre',
'openjdk-8-jre',
'elasticsearch'
] %}
ENV JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-amd64/
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
{% endif %}

View File

@ -45,6 +45,7 @@ RUN apt-get -y install --no-install-recommends \
conntrack \
dnsmasq \
dnsmasq-utils \
iproute2 \
ipset \
iptables \
openvswitch-switch \

View File

@ -34,6 +34,7 @@ RUN yum -y install \
RUN apt-get -y install --no-install-recommends \
iptables \
iproute2 \
ebtables \
dnsmasq \
bridge-utils \

View File

@ -24,7 +24,7 @@ DISTRO_RELEASE = {
'redhat': '7',
'oraclelinux': '7',
'debian': '8',
'ubuntu': '14.04',
'ubuntu': '16.04',
}
DELOREAN = ("http://buildlogs.centos.org/centos/7/cloud/x86_64/"
"rdo-trunk-master-tested/delorean.repo")

View File

@ -0,0 +1,3 @@
---
features:
- Upgrade Ubuntu base image to Xenial