add artifactory to start testing for zowe 77/15477/2
authorDaniel Pono Takamori <dtakamori@contractor.linuxfoundation.org>
Thu, 2 May 2019 00:06:50 +0000 (17:06 -0700)
committerDaniel Pono Takamori <dtakamori@contractor.linuxfoundation.org>
Thu, 2 May 2019 15:38:32 +0000 (08:38 -0700)
Issue: RELENG-1938
Change-Id: If0c872e29b79d8c647da2d5c499bc148223dde18
Signed-off-by: Pono <dtakamori@contractor.linuxfoundation.org>
.env
docker-compose.yml

diff --git a/.env b/.env
index a469f91..57d1fac 100644 (file)
--- a/.env
+++ b/.env
@@ -5,3 +5,4 @@ JENKINS_CONTAINER_VERSION=lts
 GERRIT_CONTAINER_VERSION=latest
 NEXUS_CONTAINER_VERSION=oss
 OPENLDAP_CONTAINER_VERSION=latest
+ARTIFACTORY_CONTAINER_VERSION=latest
index 99f3080..135a003 100644 (file)
@@ -57,6 +57,23 @@ services:
             - nginx
         links:
             - nginx
+    artifactory:
+        image: "docker.bintray.io/jfrog/artifactory-oss:$ARTIFACTORY_CONTAINER_VERSION"
+        container_name: releng-artifactory
+        env_file: config.env
+        environment:
+            - VIRTUAL_HOST=artifactory.localhost
+            - VIRTUAL_PORT=8081
+        volumes:
+            - artifactory:/var/opt/jfrog/artifactory
+        expose:
+            - "80"
+            - "443"
+            - "8081"
+        depends_on:
+            - nginx
+        links:
+            - nginx
     postgres:
         image: postgres:latest
         container_name: releng-postgres
@@ -73,4 +90,5 @@ services:
 volumes:
     gerrit:
     nexus:
+    artifactory:
     init: