From 840eedc5b96dab61b2486075e099c835450725f8 Mon Sep 17 00:00:00 2001 From: sido Date: Fri, 29 Jun 2018 22:21:45 +0200 Subject: [PATCH 1/2] update nexus docs --- molgenis-nexus/README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/molgenis-nexus/README.md b/molgenis-nexus/README.md index b9a3b21..0af9bb5 100644 --- a/molgenis-nexus/README.md +++ b/molgenis-nexus/README.md @@ -11,6 +11,18 @@ This chart will deploy: ## Installing the Chart -etc. +You can test in install the chart by executing: + +```helm lint .``` + +To test if your helm chart-syntax is right and: + +```helm install . --dry-run --debug``` + +To test if your hem chart works and: + +```helm install .``` + +To deploy it on the cluster. From 28efad8cb83edbb382e3536a0ad6ed927f26ed54 Mon Sep 17 00:00:00 2001 From: sido Date: Fri, 29 Jun 2018 23:30:38 +0200 Subject: [PATCH 2/2] add gogs secrets --- .../templates/molgenis-jenkins-gogs-secret.yaml | 16 ++++++++++++++++ molgenis-jenkins/values.yaml | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 molgenis-jenkins/templates/molgenis-jenkins-gogs-secret.yaml diff --git a/molgenis-jenkins/templates/molgenis-jenkins-gogs-secret.yaml b/molgenis-jenkins/templates/molgenis-jenkins-gogs-secret.yaml new file mode 100644 index 0000000..a16303d --- /dev/null +++ b/molgenis-jenkins/templates/molgenis-jenkins-gogs-secret.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Secret +metadata: +# this is the jenkins id. + name: "molgenis-jenkins-gogs-secret" + labels: +# so we know what type it is. + "jenkins.io/credentials-type": "usernamePassword" + annotations: { +# description - can not be a label as spaces are not allowed + "jenkins.io/credentials-description" : "user to authenticate against GOGS (git.webhosting.rug.nl)" + } +type: Opaque +data: + username: {{ "p281392" | b64enc | quote }} + password: {{ .Values.PipelineSecrets.Env.GogsToken | b64enc | quote }} \ No newline at end of file diff --git a/molgenis-jenkins/values.yaml b/molgenis-jenkins/values.yaml index 7d054ad..fb08713 100644 --- a/molgenis-jenkins/values.yaml +++ b/molgenis-jenkins/values.yaml @@ -164,6 +164,8 @@ PipelineSecrets: CodecovToken: xxxx # Token for github bot account GitHubToken: xxxx + # Token for github bot account + GogsToken: xxxx # Token for sonarcloud.io SonarToken: xxxx File: