Compare commits
14 Commits
revert/nod
...
fix/links
Author | SHA1 | Date | |
---|---|---|---|
edc62f0bcc | |||
d4a8a3ed42 | |||
d4f2dadb06 | |||
f440437862 | |||
71a0889ad8 | |||
f43b21bcc6 | |||
367c63eaa5 | |||
55ad5b26fb | |||
86d6dfb86b | |||
b58a1d2042 | |||
28bf98e6b2 | |||
26d366f1a1 | |||
b64ee00cff | |||
2190ada376 |
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
.idea
|
||||
*.iml
|
||||
target
|
40
Jenkinsfile
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
pipeline {
|
||||
agent {
|
||||
kubernetes {
|
||||
label 'helm'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Test') {
|
||||
steps {
|
||||
container('chart-testing') {
|
||||
sh "chart_test.sh --no-install --all"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Package') {
|
||||
steps {
|
||||
container('chart-testing'){
|
||||
sh 'mkdir target'
|
||||
sh 'for dir in charts/*; do helm package --destination target "$dir"; done'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
container('vault') {
|
||||
script {
|
||||
env.NEXUS_USER = sh(script: 'vault read -field=username secret/ops/account/nexus', returnStdout: true)
|
||||
env.NEXUS_PWD = sh(script: 'vault read -field=password secret/ops/account/nexus', returnStdout: true)
|
||||
}
|
||||
}
|
||||
container('alpine') {
|
||||
sh 'set +x; for chart in target/*; do curl -L -u $NEXUS_USER:$NEXUS_PWD http://registry.molgenis.org/repository/helm/ --upload-file "$chart"; done'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
11
README.md
@ -101,12 +101,11 @@ kubectl get pods --namespace=*#namespace of application#*
|
||||
|
||||
This repository is serves also as a catalogue for Rancher. We have serveral apps that are served through this repoistory. e.g.
|
||||
|
||||
- [Jenkins](molgenis-jenkins/README.md)
|
||||
- [NEXUS](molgenis-nexus/README.md)
|
||||
- [HTTPD](molgenis-httpd/README.md)
|
||||
- [MOLGENIS](molgenis/README.md)
|
||||
- [MOLGENIS preview](molgenis-preview/README.md)
|
||||
- [MOLGENIS vault](molgenis-vault/README.md)
|
||||
- [Jenkins](charts/molgenis-jenkins/README.md)
|
||||
- [NEXUS](charts/molgenis-nexus/README.md)
|
||||
- [HTTPD](charts/molgenis-httpd/README.md)
|
||||
- [MOLGENIS](charts/molgenis/README.md)
|
||||
- [MOLGENIS vault](charts/molgenis-vault/README.md)
|
||||
|
||||
### Useful commands
|
||||
You can you need to know to easily develop and deploy helm-charts
|
||||
|
12
charts/molgenis-httpd/Chart.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: HTTPD for MOLGENIS
|
||||
name: molgenis-httpd
|
||||
version: 0.1.0
|
||||
sources:
|
||||
- https://github.com/molgenis/molgenis-ops-docker-helm.git
|
||||
Icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-httpd/catalogIcon-molgenis-httpd.svg
|
||||
home: http://httpd.apache.org
|
||||
maintainers:
|
||||
- name: sidohaakma
|
||||
- name: fdlk
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
11
charts/molgenis-jenkins/Chart.yaml
Executable file
@ -0,0 +1,11 @@
|
||||
name: molgenis-jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 0.8.1
|
||||
appVersion: 2.138.1
|
||||
description: Molgenis installation for the jenkins chart.
|
||||
sources:
|
||||
- https://github.com/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-jenkins/catalogIcon-molgenis-jenkins.svg
|
||||
maintainers:
|
||||
- name: fdlk
|
||||
- name: sidohaakma
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
@ -583,6 +583,40 @@ jenkins:
|
||||
cpu: "1"
|
||||
memory: "512Mi"
|
||||
NodeSelector: {}
|
||||
helm:
|
||||
Label: helm
|
||||
NodeUsageMode: EXCLUSIVE
|
||||
Containers:
|
||||
chart-testing:
|
||||
Image: "quay.io/helmpack/chart-testing"
|
||||
ImageTag: v1.1.0
|
||||
Command: cat
|
||||
WorkingDir: /home/jenkins
|
||||
TTY: true
|
||||
alpine:
|
||||
Image: "spotify/alpine"
|
||||
Command: cat
|
||||
WorkingDir: /home/jenkins
|
||||
TTY: true
|
||||
vault:
|
||||
Image: "vault"
|
||||
Command: cat
|
||||
WorkingDir: /home/jenkins
|
||||
TTY: true
|
||||
EnvVars:
|
||||
- type: Secret
|
||||
key: VAULT_TOKEN
|
||||
secretName: molgenis-pipeline-vault-secret
|
||||
secretKey: token
|
||||
- type: Secret
|
||||
key: VAULT_SKIP_VERIFY
|
||||
secretName: molgenis-pipeline-vault-secret
|
||||
secretKey: skipVerify
|
||||
- type: Secret
|
||||
key: VAULT_ADDR
|
||||
secretName: molgenis-pipeline-vault-secret
|
||||
secretKey: addr
|
||||
NodeSelector: {}
|
||||
|
||||
# secret contains configuration for the kubernetes secrets that jenkins can access
|
||||
secret:
|
12
charts/molgenis-nexus/Chart.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: Nexus stack for MOLGENIS
|
||||
name: molgenis-nexus
|
||||
version: 0.4.2
|
||||
sources:
|
||||
- https://github.com/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-nexus/catalogIcon-molgenis-nexus.svg
|
||||
home: https://www.sonatype.com/nexus-repository-oss
|
||||
maintainers:
|
||||
- name: sidohaakma
|
||||
- name: fdlk
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
12
charts/molgenis-opencpu/Chart.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: Opencpu stack for MOLGENIS
|
||||
name: molgenis-opencpu
|
||||
version: 0.1.1
|
||||
sources:
|
||||
- https://github.com/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-opencpu/catalog-molgenis-opencpu.svg
|
||||
home: https://www.opencpu.org
|
||||
maintainers:
|
||||
- name: sidohaakma
|
||||
- name: fdlk
|
Before Width: | Height: | Size: 245 KiB After Width: | Height: | Size: 245 KiB |
12
charts/molgenis-vault/Chart.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: MOLGENIS vault
|
||||
name: molgenis-vault
|
||||
version: 0.1.1
|
||||
sources:
|
||||
- https://github.com/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-vault/catalogIcon-molgenis-vault.svg
|
||||
home: https://github.com/coreos/vault-operator
|
||||
maintainers:
|
||||
- name: fdlk
|
||||
- name: sidohaakma
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
12
charts/molgenis/Chart.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: MOLGENIS - helm stack (in BETA)
|
||||
name: molgenis
|
||||
version: 0.4.3
|
||||
sources:
|
||||
- https://github.com/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis/catalogIcon-molgenis.svg
|
||||
home: http://molgenis.org
|
||||
maintainers:
|
||||
- name: sidohaakma
|
||||
- name: fdlk
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
@ -1,8 +0,0 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: HTTPD for MOLGENIS
|
||||
name: molgenis-httpd
|
||||
version: 0.1.0
|
||||
sources:
|
||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-httpd/catalogIcon-molgenis-httpd.svg
|
@ -1,8 +0,0 @@
|
||||
name: molgenis-jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 0.8.0
|
||||
appVersion: 2.121
|
||||
description: Molgenis installation for the jenkins chart.
|
||||
sources:
|
||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-jenkins/catalogIcon-molgenis-jenkins.svg
|
@ -1,8 +0,0 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: Nexus stack for MOLGENIS
|
||||
name: molgenis-nexus
|
||||
version: 0.4.2
|
||||
sources:
|
||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-nexus/catalogIcon-molgenis-nexus.svg
|
@ -1,8 +0,0 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: Opencpu stack for MOLGENIS
|
||||
name: molgenis-opencpu
|
||||
version: 0.1.1
|
||||
sources:
|
||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-opencpu/catalogIcon-molgenis-opencpu.svg
|
@ -1,6 +0,0 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: MOLGENIS vault
|
||||
name: molgenis-vault
|
||||
version: 0.1.1
|
||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-vault/catalogIcon-molgenis-vault.svg
|
@ -1,8 +0,0 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: MOLGENIS - helm stack (in BETA)
|
||||
name: molgenis
|
||||
version: 0.4.3
|
||||
sources:
|
||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis/catalogIcon-molgenis.svg
|