From 3d5c328ca80e4ba9480a6d20b5400010309ca859 Mon Sep 17 00:00:00 2001 From: Cedric Thiebault Date: Wed, 12 Jul 2017 16:10:06 +0200 Subject: [PATCH] Add Artifactory OSS template --- .../artifactory-oss/0/docker-compose.yml.tpl | 22 + .../artifactory-oss/0/rancher-compose.yml | 26 + templates/artifactory-oss/README.md | 8 + .../catalogIcon-artifactory.svg | 634 ++++++++++++++++++ templates/artifactory-oss/config.yml | 6 + 5 files changed, 696 insertions(+) create mode 100644 templates/artifactory-oss/0/docker-compose.yml.tpl create mode 100644 templates/artifactory-oss/0/rancher-compose.yml create mode 100644 templates/artifactory-oss/README.md create mode 100644 templates/artifactory-oss/catalogIcon-artifactory.svg create mode 100644 templates/artifactory-oss/config.yml diff --git a/templates/artifactory-oss/0/docker-compose.yml.tpl b/templates/artifactory-oss/0/docker-compose.yml.tpl new file mode 100644 index 0000000..a754411 --- /dev/null +++ b/templates/artifactory-oss/0/docker-compose.yml.tpl @@ -0,0 +1,22 @@ +version: '2' + +services: + + artifactory: + image: docker.bintray.io/jfrog/artifactory-oss:5.4.4 + {{- if (.Values.PUBLISH_PORT)}} + ports: + - ${PUBLISH_PORT}:8081 + {{- else}} + expose: + - 8081 + {{- end}} + volumes: + - artifactory-data:/var/opt/jfrog/artifactory + environment: + - EXTRA_JAVA_OPTIONS=${EXTRA_JAVA_OPTIONS} + +volumes: + artifactory-data: + driver: ${VOLUME_DRIVER} + diff --git a/templates/artifactory-oss/0/rancher-compose.yml b/templates/artifactory-oss/0/rancher-compose.yml new file mode 100644 index 0000000..28f0430 --- /dev/null +++ b/templates/artifactory-oss/0/rancher-compose.yml @@ -0,0 +1,26 @@ +version: '2' + +catalog: + name: "Artifactory OSS" + version: "5.4.4" + description: "Artifactory is a universal Binary Repository Manager" + questions: + - variable: "PUBLISH_PORT" + label: "Publish port" + description: | + Set port if you want publish external port for Artifactory server. + required: false + type: "string" + default: "8081" + - variable: "EXTRA_JAVA_OPTIONS" + label: "Extra Java options" + description: | + type: "string" + default: "" + - variable: "VOLUME_DRIVER" + type: "string" + label: "Volume driver for Artifactory data" + description: | + Specifiy docker volume driver to use + default: "local" + required: true diff --git a/templates/artifactory-oss/README.md b/templates/artifactory-oss/README.md new file mode 100644 index 0000000..52a48d9 --- /dev/null +++ b/templates/artifactory-oss/README.md @@ -0,0 +1,8 @@ +# Artifactory OSS + +Artifactory is a universal Binary Repository Manager for use by build tools (like Maven and Gradle), +dependency management tools (like Ivy and NuGet) and build servers (like Jenkins, Hudson, TeamCity and Bamboo). + +Repository managers serve two purposes: they act as highly configurable proxies between your organization and +external repositories and they also provide build servers with a deployment destination for your internally +generated artifacts. \ No newline at end of file diff --git a/templates/artifactory-oss/catalogIcon-artifactory.svg b/templates/artifactory-oss/catalogIcon-artifactory.svg new file mode 100644 index 0000000..ab68b61 --- /dev/null +++ b/templates/artifactory-oss/catalogIcon-artifactory.svg @@ -0,0 +1,634 @@ + + + + + + diff --git a/templates/artifactory-oss/config.yml b/templates/artifactory-oss/config.yml new file mode 100644 index 0000000..363270a --- /dev/null +++ b/templates/artifactory-oss/config.yml @@ -0,0 +1,6 @@ +name: Artifactory OSS +description: | + Artifactory is a universal Binary Repository Manager +version: 5.4.4 +category: Repository +