From 9c6865336f36a3891c4308378eb042b72888a027 Mon Sep 17 00:00:00 2001 From: sido Date: Thu, 2 Aug 2018 07:49:15 +0200 Subject: [PATCH] added saucelabs cred --- .../molgenis-jenkins-saucelabs-secret.yaml | 16 ++++++++++++++++ molgenis-jenkins/values.yaml | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 molgenis-jenkins/templates/molgenis-jenkins-saucelabs-secret.yaml diff --git a/molgenis-jenkins/templates/molgenis-jenkins-saucelabs-secret.yaml b/molgenis-jenkins/templates/molgenis-jenkins-saucelabs-secret.yaml new file mode 100644 index 0000000..e78d91b --- /dev/null +++ b/molgenis-jenkins/templates/molgenis-jenkins-saucelabs-secret.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Secret +metadata: +# this is the jenkins id. + name: "molgenis-jenkins-saucelabs-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 Saucelabs (saucelabs.com)" + } +type: Opaque +data: + username: {{ "molgenis" | b64enc | quote }} + password: {{ .Values.PipelineSecrets.Env.SauceAccessKey | b64enc | quote }} \ No newline at end of file diff --git a/molgenis-jenkins/values.yaml b/molgenis-jenkins/values.yaml index 68762ef..ba1548e 100644 --- a/molgenis-jenkins/values.yaml +++ b/molgenis-jenkins/values.yaml @@ -13,6 +13,7 @@ jenkins: - blueocean:1.6.2 - github-oauth:0.29 - gogs-webhook:1.0.14 + - sauce-ondemand:1.176 Security: UseGitHub: false GitHub: @@ -360,6 +361,8 @@ PipelineSecrets: NexusPassword: xxxx # Password hub.docker.com DockerHubPassword: xxxx + # Access key for saucelabs.com + SauceAccessKey: xxxx File: # Set to false to keep existing secret Replace: true