From 8ba7d05f9c34cd20b73f2cb691d20c9846635aae Mon Sep 17 00:00:00 2001 From: sido Date: Tue, 10 Apr 2018 22:05:47 +0200 Subject: [PATCH] feat(nexus): add nexus support --- templates/jenkins/0/docker-compose.yml | 2 +- .../jenkins/catalogicon-molgenis-jenkins.svg | 1768 +++++++++++++++++ templates/nexus/0/README.md | 16 + templates/nexus/0/docker-compose.yml | 19 + templates/nexus/0/rancher-compose.yml | 15 + .../nexus/catalogicon-molgenis-nexus.svg | 551 +++++ templates/nexus/config.yml | 7 + 7 files changed, 2377 insertions(+), 1 deletion(-) create mode 100644 templates/jenkins/catalogicon-molgenis-jenkins.svg create mode 100644 templates/nexus/0/README.md create mode 100644 templates/nexus/0/docker-compose.yml create mode 100644 templates/nexus/0/rancher-compose.yml create mode 100644 templates/nexus/catalogicon-molgenis-nexus.svg create mode 100644 templates/nexus/config.yml diff --git a/templates/jenkins/0/docker-compose.yml b/templates/jenkins/0/docker-compose.yml index 1b03df7..97e0b5c 100644 --- a/templates/jenkins/0/docker-compose.yml +++ b/templates/jenkins/0/docker-compose.yml @@ -15,7 +15,7 @@ services: traefik.port: 8080 jenkins-agent-devtools: - image: registry.webhosting.rug.nl/molgenis/jenkins-agent-devtools:latest + image: registry.webhosting.rug.nl/molgenis/jenkins-agent-buildtools:latest volumes: - molgenis-jenkins-agent-devtools diff --git a/templates/jenkins/catalogicon-molgenis-jenkins.svg b/templates/jenkins/catalogicon-molgenis-jenkins.svg new file mode 100644 index 0000000..1227303 --- /dev/null +++ b/templates/jenkins/catalogicon-molgenis-jenkins.svg @@ -0,0 +1,1768 @@ + + + + diff --git a/templates/nexus/0/README.md b/templates/nexus/0/README.md new file mode 100644 index 0000000..c52a2b3 --- /dev/null +++ b/templates/nexus/0/README.md @@ -0,0 +1,16 @@ +# Nexus for MOLGENIS +Flexible software for scientific data + +## Rancher configuration +These templates can create a range of MOLGENIS stacks on top of Rancher. The latests and stable release serves 4 docker services: + +- Nexus + +## Usage +- Select Nexus from catalog +- Fill in the questions in the template area +- Click *Launch* + +## Loadbalancers +You can check lb.molgenis.org to check the availability of the stack. + diff --git a/templates/nexus/0/docker-compose.yml b/templates/nexus/0/docker-compose.yml new file mode 100644 index 0000000..0630225 --- /dev/null +++ b/templates/nexus/0/docker-compose.yml @@ -0,0 +1,19 @@ +version: '2' + +services: + jenkins: + image: sonatype/nexus3:latest + ports: + - 8081 + volumes: + - molgenis-nexus:/nexus-data + labels: + io.rancher.container.pull_image: always + traefik.frontend.rule: Host:${DOMAINS} + traefik.backend: ${TRAEFIK_BACKEND} + traefik.enable: true + traefik.port: 8081 + +volumes: + molgenis-nexus: + driver: local \ No newline at end of file diff --git a/templates/nexus/0/rancher-compose.yml b/templates/nexus/0/rancher-compose.yml new file mode 100644 index 0000000..a81d58a --- /dev/null +++ b/templates/nexus/0/rancher-compose.yml @@ -0,0 +1,15 @@ +.catalog: + name: nexus + version: latest + description: Nexus for Molgenis + minimum_rancher_version: v1.6.3 + + start_on_create: true + scale: 1 + health_check: + port: 8080 + interval: 5000 + unhealthy_threshold: 3 + request_line: 'GET / HTTP/1.0' + healthy_threshold: 2 + response_timeout: 5000 diff --git a/templates/nexus/catalogicon-molgenis-nexus.svg b/templates/nexus/catalogicon-molgenis-nexus.svg new file mode 100644 index 0000000..9c7d611 --- /dev/null +++ b/templates/nexus/catalogicon-molgenis-nexus.svg @@ -0,0 +1,551 @@ + + + + diff --git a/templates/nexus/config.yml b/templates/nexus/config.yml new file mode 100644 index 0000000..ffa0dba --- /dev/null +++ b/templates/nexus/config.yml @@ -0,0 +1,7 @@ +name: Nexus +description: | + Nexus for Molgenis +version: v1.0.0 +category: All +maintainer: Molgenis DEVOPS-team +projectURL: https://www.sonatype.com/nexus-repository-oss \ No newline at end of file