diff --git a/molgenis-jenkins/Chart.yaml b/molgenis-jenkins/Chart.yaml index 6823d24..97d7764 100755 --- a/molgenis-jenkins/Chart.yaml +++ b/molgenis-jenkins/Chart.yaml @@ -1,6 +1,6 @@ name: molgenis-jenkins home: https://jenkins.io/ -version: 0.2.2 +version: 0.2.3 appVersion: 2.107 description: Molgenis installation for the jenkins chart. sources: diff --git a/molgenis-jenkins/templates/molgenis-jenkins-github-secret.yaml b/molgenis-jenkins/templates/molgenis-jenkins-github-secret.yaml new file mode 100644 index 0000000..c0459c5 --- /dev/null +++ b/molgenis-jenkins/templates/molgenis-jenkins-github-secret.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Secret +metadata: +# this is the jenkins id. + name: "molgenis-jenkins-github-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" : "oauth token for the molgenis-jenkins github user" + } +type: Opaque +data: + username: {{ "molgenis-jenkins" | b64enc | quote }} + password: {{ .Values.PipelineSecrets.Env.GithubToken | b64enc | quote }} \ No newline at end of file diff --git a/molgenis-jenkins/values.yaml b/molgenis-jenkins/values.yaml index 2a4e91a..423693b 100644 --- a/molgenis-jenkins/values.yaml +++ b/molgenis-jenkins/values.yaml @@ -8,59 +8,71 @@ jenkins: - workflow-job:2.21 - credentials-binding:1.16 - git:3.9.1 + - github-branch-source:2.3.6 + - kubernetes-credentials-provider:0.9 Jobs: |- molgenis: |- - - - - - - - - - - - - - - - false - - - - - - - true - -1 - -1 - - - false - - - - - a1f535cd-ab83-4d42-8993-0c3e59cf139f - http://github.com/molgenis/molgenis.git - - - - - - - - - - - - - - - Jenkinsfile - - + + + + + + + + + + .* + + + + + + + + false + + + + + + + true + -1 + -1 + + + + H H * * * + 86400000 + + + false + + + molgenis + molgenis-jenkins-github-secret + + + 1 + + + 1 + + + 1 + + + + + + + + Jenkinsfile + + + + # Kubernetes secret that contains a 'credentials.xml' for Jenkins # CredentialsXmlSecret: jenkins-credentials # Kubernetes secret that contains files to be put in the Jenkins 'secrets' directory,