From ee5d5d773ebca2876d7f9e4bfa919ebe793ed5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lino?= Date: Fri, 17 Apr 2020 14:00:15 +0100 Subject: [PATCH] Add gitlab configuration and job for demo group. --- values.yaml | 114 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 82 insertions(+), 32 deletions(-) diff --git a/values.yaml b/values.yaml index 688a80b..7df4cc9 100644 --- a/values.yaml +++ b/values.yaml @@ -241,13 +241,31 @@ master: jobs: # test: |- # <> - demo-infra-jenkins-test: |- + demo: |- - + - demo-infra-jenkins-test + demo + + + + false + + + + + + + + + + H H/4 * * * + 86400000 + + + @@ -255,17 +273,20 @@ master: + + .* + - - + + false - - + + true @@ -274,34 +295,44 @@ master: - * * * * * - 60000 + H H/4 * * * + 86400000 false - - - - - c689a231-de4b-41e9-8683-205cc0fd94af - https://www.joaolino.com/gitlab/demo/demo-infra-jenkins-test - - - - - - - - - - - - - - - Jenkinsfile - - + + + demo + gitlab-joaolino.com + + + + 1 + + + 1 + + + 1 + + + + + demo/demo-infra-jenkins + demo/demo-infra-jenkins-test + demo/demo-infra + + true + false + + + + + Jenkinsfile + + + + # Below is the implementation of Jenkins Configuration as Code. Add a key under configScripts for each configuration area, # where each corresponds to a plugin or section of the UI. Each key (prior to | character) is just a label, and can be any value. @@ -318,6 +349,25 @@ master: welcome-message: | jenkins: systemMessage: Welcome to joaolino.com demo CI\CD server. This Jenkins is configured and managed 'as code'. + gitlab: | + credentials: + system: + domainCredentials: + - credentials: + - gitlabPersonalAccessToken: + scope: SYSTEM + id: "service-config-token" + token: "b7VEShAsLQPumFH2-Psh" # gitlab personal access token + description: "The user that manager the gitlab integration for CI/CD projects." + + unclassified: + gitLabServers: + servers: + - credentialsId: "service-config-token" # same as id specified for gitlab personal access token credentials + manageWebHooks: true + manageSystemHooks: true # access token should have admin access to set system hooks + name: "gitlab-joaolino.com" + serverUrl: "https://www.joaolino.com/gitlab" # welcome-message: | # jenkins: # systemMessage: Welcome to our CI\CD server. This Jenkins is configured and managed 'as code'. -- 2.24.1