Add openSUSE Leap 15 openvswitch image

Change-Id: Ia5e62853ff54904bd70c2839733e5ee5fe165cf9
Co-Authored-By: Stephanie Miller <stephane@alum.mit.edu>
This commit is contained in:
Jean-Philippe Evrard 2018-11-30 12:38:41 +01:00
parent 1eb2e14491
commit 4237ef1a6d
3 changed files with 32 additions and 0 deletions

View File

@ -22,3 +22,13 @@ Alternatively, this step can be performed by running the script directly:
.. code-block:: shell
./openvswitch/build.sh
openSUSE Leap 15
----------------
To build an openSUSE leap 15 image, you can export varibles before
running the build script:
.. code-block:: shell
DISTRO=suse_15 ./openvswitch/build.sh

View File

@ -0,0 +1,10 @@
ARG FROM=docker.io/opensuse/leap:15
FROM ${FROM}
LABEL maintainers=stephane@alum.mit.edu
RUN set -ex ;\
zypper refresh ;\
zypper up -y ;\
zypper install -y bash ;\
zypper install -y \
openvswitch

View File

@ -17,9 +17,11 @@
check:
jobs:
- openstack-helm-images-openvswitch-debian
- openstack-helm-images-openvswitch-suse_15
gate:
jobs:
- openstack-helm-images-openvswitch-debian
- openstack-helm-images-openvswitch-suse_15
#experimental:
# jobs:
# - openstack-helm-infra-five-ubuntu
@ -42,3 +44,13 @@
- ^zuul.d/openvswitch.yaml
vars:
distro: "debian"
- job:
name: openstack-helm-images-openvswitch-suse_15
parent: openstack-helm-images-openvswitch
files:
- ^openvswitch/build.sh
- ^openvswitch/Dockerfile.suse_15$
- ^zuul.d/openvswitch.yaml
vars:
distro: "suse_15"