From 20da548651f5a0792085ab6c77bafb73f6d5d74f Mon Sep 17 00:00:00 2001 From: Mario Alfredo Carrillo Arevalo Date: Sat, 2 Feb 2019 02:51:19 +0000 Subject: [PATCH] Add fm-rest-api docker image directives files This commit adds the required files to build the docker image that will be used for enabling fm-rest-api as a service in a container. Story: 2004008 Task: 28874 Depends-On: https://review.openstack.org/635695/ Change-Id: I87900fcd939024dffc41869cf62c1dd29d5c1f90 Signed-off-by: Mario Alfredo Carrillo Arevalo --- centos_master_docker_images.inc | 1 + centos_pike_docker_images.inc | 1 + .../stx-fm-rest-api.master_docker_image | 16 +++++++++++++ .../centos/stx-fm-rest-api.pike_docker_image | 24 +++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 centos_master_docker_images.inc create mode 100644 centos_pike_docker_images.inc create mode 100644 fm-rest-api/centos/stx-fm-rest-api.master_docker_image create mode 100644 fm-rest-api/centos/stx-fm-rest-api.pike_docker_image diff --git a/centos_master_docker_images.inc b/centos_master_docker_images.inc new file mode 100644 index 00000000..c131931b --- /dev/null +++ b/centos_master_docker_images.inc @@ -0,0 +1 @@ +fm-rest-api diff --git a/centos_pike_docker_images.inc b/centos_pike_docker_images.inc new file mode 100644 index 00000000..c131931b --- /dev/null +++ b/centos_pike_docker_images.inc @@ -0,0 +1 @@ +fm-rest-api diff --git a/fm-rest-api/centos/stx-fm-rest-api.master_docker_image b/fm-rest-api/centos/stx-fm-rest-api.master_docker_image new file mode 100644 index 00000000..8485654c --- /dev/null +++ b/fm-rest-api/centos/stx-fm-rest-api.master_docker_image @@ -0,0 +1,16 @@ +BUILDER=loci +LABEL=stx-fm-rest-api +# Set PROJECT=infra and PROJECT_REPO=nil because we are not cloning a repo +PROJECT=infra +PROJECT_REPO=nil + +PIP_PACKAGES=" + httplib2 \ + keystone \ + keystonemiddleware \ + oslo.db \ + oslo.log \ + oslo.middleware \ + oslo.policy \ + oslo.versionedobjects \ + python_neutronclient" diff --git a/fm-rest-api/centos/stx-fm-rest-api.pike_docker_image b/fm-rest-api/centos/stx-fm-rest-api.pike_docker_image new file mode 100644 index 00000000..cf19959e --- /dev/null +++ b/fm-rest-api/centos/stx-fm-rest-api.pike_docker_image @@ -0,0 +1,24 @@ +BUILDER=loci +LABEL=stx-fm-rest-api +# Set PROJECT=infra and PROJECT_REPO=nil because we are not cloning a repo +PROJECT=infra +PROJECT_REPO=nil +DIST_PACKAGES="postgresql-devel fm-common" + +PIP_PACKAGES=" + cgtsclient \ + fm \ + fm_api \ + fm_core \ + httplib2 \ + keystone \ + keystonemiddleware \ + oslo.db \ + oslo.log \ + oslo.middleware \ + oslo.policy \ + oslo.versionedobjects + python_neutronclient \ + pecan \ + tsconfig \ + WSME"