diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2021-07-16 14:00:51 -0500 |
---|---|---|
committer | Kevin Sandi <ksandi@contractor.linuxfoundation.org> | 2021-08-16 15:41:16 -0600 |
commit | ede763432ec536ff25bb73354fa7493738d241f1 (patch) | |
tree | e38e33c7f228036839e55358507b3fed2ece24e1 | |
parent | fa5e3cd03be280f52b29c3b4ddcb302c4117e79f (diff) |
CI: Migrate to JCasC Managed Files
This patch is to migrate Jenkins settings file to JCasC managed files
enabling self service managed files for the community
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: Ief195b9feaa933a37eb36109ccd836c79c85f4be
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
63 files changed, 402 insertions, 0 deletions
diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/config-params.yaml b/jenkins-config/managed-config-files/custom/clouds-yaml/config-params.yaml new file mode 100644 index 000000000..c7f2a9323 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/clouds-yaml/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "clouds-yaml" +comment: "clouds-yaml" diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/content b/jenkins-config/managed-config-files/custom/clouds-yaml/content new file mode 100644 index 000000000..4c6d9b993 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/clouds-yaml/content @@ -0,0 +1,10 @@ +clouds: + vexci: + auth: + username: "$VEXCI_CLOUD_CREDENTIAL_USR" + project_name: "9130c79d-75b8-466e-8e57-4eccce50e28e" + password: "$VEXCI_CLOUD_CREDENTIAL_PSW" + auth_url: 'https://auth.vexxhost.net/v3/' + user_domain_name: Default + project_domain_name: Default + region_name: ca-ymq-1 diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.yaml new file mode 100644 index 000000000..2dce0704f --- /dev/null +++ b/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "vexci_cloud_credential" + tokenKey: "VEXCI_CLOUD_CREDENTIAL" diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/config-params.yaml b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/config-params.yaml new file mode 100644 index 000000000..b49817b79 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "jenkins-s3-docs-ship" +comment: "jenkins-s3-docs-ship"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/content b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/content new file mode 100644 index 000000000..9ba807e50 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/content @@ -0,0 +1,4 @@ +[default] +aws_access_key_id = $JENKINS_S3_DOCS_SHIP_USR +aws_secret_access_key = $JENKINS_S3_DOCS_SHIP_PSW +region = us-east-1
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/customizedCredentialMappings.yaml new file mode 100644 index 000000000..5f886f8b9 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-docs-ship/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "jenkins-s3-docs-ship" + tokenKey: "JENKINS_S3_DOCS_SHIP"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/config-params.yaml b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/config-params.yaml new file mode 100644 index 000000000..11f4653a0 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "jenkins-s3-log-ship" +comment: "jenkins-s3-log-ship"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/content b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/content new file mode 100644 index 000000000..77873080d --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/content @@ -0,0 +1,4 @@ +[default] +aws_access_key_id = $JENKINS_S3_LOG_SHIP_USR +aws_secret_access_key = $JENKINS_S3_LOG_SHIP_PSW +region = us-east-1
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/customizedCredentialMappings.yaml new file mode 100644 index 000000000..180a4f5f4 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jenkins-s3-log-ship/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "jenkins-s3-log-ship" + tokenKey: "JENKINS_S3_LOG_SHIP"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml b/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml new file mode 100644 index 000000000..10e6e12ed --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "jjbini" +comment: "JJB Config" diff --git a/jenkins-config/managed-config-files/custom/jjbini/content b/jenkins-config/managed-config-files/custom/jjbini/content new file mode 100644 index 000000000..60f4f8809 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jjbini/content @@ -0,0 +1,12 @@ +[job_builder] +ignore_cache=True +keep_descriptions=False +include_path=.:scripts:~/git/ +recursive=True +log_level=debug + +[jenkins] +user=$JENKINS-JOBBUILDER_USR +password=$JENKINS-JOBBUILDER_PSW +url=$JENKINS-JOBBUILDER-URL +query_plugins_info=False
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml new file mode 100644 index 000000000..0895905e8 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml @@ -0,0 +1,6 @@ +--- +customizedCredentialMappings: + - credentialsId: "jenkins-jobbuilder" + tokenKey: "JENKINS-JOBBUILDER" + - credentialsId: "jenkins-jobbuilder-url" + tokenKey: "JENKINS-JOBBUILDER-URL" diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/config-params.yaml b/jenkins-config/managed-config-files/custom/lftoolsini/config-params.yaml new file mode 100644 index 000000000..79955c571 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/lftoolsini/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "lftoolsini" +comment: "lftoolsini"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/content b/jenkins-config/managed-config-files/custom/lftoolsini/content new file mode 100644 index 000000000..b06ad2299 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/lftoolsini/content @@ -0,0 +1,3 @@ +[nexus.opendaylight.org] +username=$JENKINS_RELEASE_USR +password=$JENKINS_RELEASE_PSW
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.yaml new file mode 100644 index 000000000..6fd42c996 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "jenkins-release" + tokenKey: "JENKINS_RELEASE"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/npmrc/config-params.yaml b/jenkins-config/managed-config-files/custom/npmrc/config-params.yaml new file mode 100644 index 000000000..b0f66d197 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/npmrc/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "npmrc" +comment: "npmrc" diff --git a/jenkins-config/managed-config-files/custom/npmrc/content b/jenkins-config/managed-config-files/custom/npmrc/content new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/npmrc/content @@ -0,0 +1 @@ + diff --git a/jenkins-config/managed-config-files/custom/packagecloud/config-params.yaml b/jenkins-config/managed-config-files/custom/packagecloud/config-params.yaml new file mode 100644 index 000000000..b4f21a766 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "packagecloud" +comment: "packagecloud"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packagecloud/content b/jenkins-config/managed-config-files/custom/packagecloud/content new file mode 100644 index 000000000..4c0f10085 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud/content @@ -0,0 +1,4 @@ +{ + "url":"https://packagecloud.io", + "token":"$PACKAGECLOUD_TOKEN" +}
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packagecloud/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/packagecloud/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packagecloud/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/packagecloud/customizedCredentialMappings.yaml new file mode 100644 index 000000000..538365ed0 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "packagecloud_token" + tokenKey: "PACKAGECLOUD_TOKEN"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packagecloud_api/config-params.yaml b/jenkins-config/managed-config-files/custom/packagecloud_api/config-params.yaml new file mode 100644 index 000000000..39d57623e --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud_api/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "packagecloud_api" +comment: "packagecloud_api"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packagecloud_api/content b/jenkins-config/managed-config-files/custom/packagecloud_api/content new file mode 100644 index 000000000..e6a4d1fd5 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud_api/content @@ -0,0 +1,3 @@ +machine packagecloud.io +login $PACKAGECLOUD_API_LOGIN +password
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packagecloud_api/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/packagecloud_api/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud_api/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packagecloud_api/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/packagecloud_api/customizedCredentialMappings.yaml new file mode 100644 index 000000000..c9f2b1dd9 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packagecloud_api/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "packagecloud_api_login" + tokenKey: "PACKAGECLOUD_API_LOGIN"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml new file mode 100644 index 000000000..b942b1370 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "packer-cloud-env" +comment: "packer-cloud-env"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/content b/jenkins-config/managed-config-files/custom/packer-cloud-env/content new file mode 100644 index 000000000..6d7a77785 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/content @@ -0,0 +1,12 @@ +{ + "cloud_auth_url": "https://auth.vexxhost.net/v3/", + "cloud_tenant": "$PACKER_CLOUD_TENANT", + "stack_tenant": "$PACKER_CLOUD_TENANT", + "cloud_user": "$PACKER_CLOUD_USER_USR", + "stack_user": "$PACKER_CLOUD_USER_USR", + "cloud_pass": "$PACKER_CLOUD_USER_PSW", + "stack_pass": "$PACKER_CLOUD_USER_PSW", + "cloud_network": "bcb9a62c-5a82-4293-a8c6-d73e8c2dbd03", + "stack_network": "bcb9a62c-5a82-4293-a8c6-d73e8c2dbd03", + "ssh_proxy_host": "" +}
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml new file mode 100644 index 000000000..1b9e4d8db --- /dev/null +++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml @@ -0,0 +1,6 @@ +--- +customizedCredentialMappings: + - credentialsId: "packer-cloud-user" + tokenKey: "PACKER_CLOUD_USER" + - credentialsId: "packer-cloud-tenant" + tokenKey: "PACKER_CLOUD_TENANT"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/pipconf/config-params.yaml b/jenkins-config/managed-config-files/custom/pipconf/config-params.yaml new file mode 100644 index 000000000..39c71ff31 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/pipconf/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "pipconf" +comment: "pipconf" diff --git a/jenkins-config/managed-config-files/custom/pipconf/content b/jenkins-config/managed-config-files/custom/pipconf/content new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/pipconf/content @@ -0,0 +1 @@ + diff --git a/jenkins-config/managed-config-files/custom/sigul-config/config-params.yaml b/jenkins-config/managed-config-files/custom/sigul-config/config-params.yaml new file mode 100644 index 000000000..fa2821788 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-config/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "sigul-config" +comment: "sigul-config"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/sigul-config/content b/jenkins-config/managed-config-files/custom/sigul-config/content new file mode 100644 index 000000000..aad773728 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-config/content @@ -0,0 +1,14 @@ +[client] +bridge-hostname: vex-yul-rot-ingress-1.ci.codeaurora.org +bridge-port: 44334 +client-cert-nickname: $SIGUL_CONFIG_USR +server-hostname: pdx-wl-sigul-server-1.int.codeaurora.org +user-name: $SIGUL_CONFIG_USR + +[koji] + +[nss] +nss-dir: /home/jenkins/sigul +nss-password: $SIGUL_CONFIG_PSW +nss-min-tls: tls1.2 +nss-max-tls: tls1.2
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.yaml new file mode 100644 index 000000000..932d49aa8 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "sigul-config" + tokenKey: "SIGUL_CONFIG"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/sigul-password/config-params.yaml b/jenkins-config/managed-config-files/custom/sigul-password/config-params.yaml new file mode 100644 index 000000000..c5dd08f81 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-password/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "sigul-password" +comment: "sigul-password"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/sigul-password/content b/jenkins-config/managed-config-files/custom/sigul-password/content new file mode 100644 index 000000000..3857ffc3c --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-password/content @@ -0,0 +1 @@ +$SIGUL_PASS
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.sandbox.yaml new file mode 120000 index 000000000..ba50257e6 --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.sandbox.yaml @@ -0,0 +1 @@ +customizedCredentialMappings.yaml
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.yaml new file mode 100644 index 000000000..e2e271ecf --- /dev/null +++ b/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.yaml @@ -0,0 +1,4 @@ +--- +customizedCredentialMappings: + - credentialsId: "sigul-pass" + tokenKey: "SIGUL_PASS"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/config-params.yaml b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/config-params.yaml new file mode 100644 index 000000000..cf8550338 --- /dev/null +++ b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "global-settings" +comment: "Maven Global Settings file" diff --git a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content new file mode 100644 index 000000000..d4b5ce23f --- /dev/null +++ b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content @@ -0,0 +1,195 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> + + <mirrors> + <mirror> + <id>rotterdam-release-mirror</id> + <name>Local Nexus mirror for rotteram builds</name> + <url>${env.NEXUSPROXY}/content/repositories/public/</url> + <mirrorOf>central</mirrorOf> + </mirror> + <mirror> + <id>fd-release-mirror</id> + <name>Local Nexus mirror for fd.io builds</name> + <url>${env.NEXUSPROXY}/content/repositories/public/</url> + <mirrorOf>central</mirrorOf> + </mirror> + </mirrors> + + <profiles> + <profile> + <id>rotterdam-release</id> + <repositories> + <repository> + <id>rotterdam-mirror</id> + <name>rotterdam-mirror</name> + <url>${env.NEXUSPROXY}/content/repositories/public/</url> + <releases> + <enabled>true</enabled> + <updatePolicy>never</updatePolicy> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <pluginRepositories> + <pluginRepository> + <id>rotterdam-mirror</id> + <name>rotterdam-mirror</name> + <url>${env.NEXUSPROXY}/content/repositories/public/</url> + <releases> + <enabled>true</enabled> + <updatePolicy>never</updatePolicy> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + </profile> + + <profile> + <id>rotterdam-snapshot</id> + <repositories> + <repository> + <id>rotterdam-snapshot</id> + <name>rotterdam-snapshot</name> + <url>${env.NEXUSPROXY}/content/repositories/rotterdam.snapshot/</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> + + <pluginRepositories> + <pluginRepository> + <id>rotterdam-snapshot</id> + <name>rotterdamn-snapshot</name> + <url>${env.NEXUSPROXY}/content/repositories/rotterdam.snapshot/</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + </profile> + + <profile> + <id>fdio-release</id> + <repositories> + <repository> + <id>fdio-mirror</id> + <name>fdio-mirror</name> + <url>${env.NEXUSPROXY}/content/repositories/public/</url> + <releases> + <enabled>true</enabled> + <updatePolicy>never</updatePolicy> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <pluginRepositories> + <pluginRepository> + <id>fdio-mirror</id> + <name>fdio-mirror</name> + <url>${env.NEXUSPROXY}/content/repositories/public/</url> + <releases> + <enabled>true</enabled> + <updatePolicy>never</updatePolicy> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + </profile> + + <profile> + <id>fdio-snapshot</id> + <repositories> + <repository> + <id>fdio-snapshot</id> + <name>fdio-snapshot</name> + <url>${env.NEXUSPROXY}/content/repositories/fd.io.snapshot/</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> + + <profile> + <id>staging</id> + <repositories> + <repository> + <id>staging</id> + <name>staging</name> + <url>${env.NEXUSPROXY}/content/repositories/staging/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + </profile> + + <pluginRepositories> + <pluginRepository> + <id>fdio-snapshot</id> + <name>fdio-snapshot</name> + <url>${env.NEXUSPROXY}/content/repositories/fd.io.snapshot/</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + </profile> + + <profile> + <id>site</id> + <repositories> + <repository> + <id>site</id> + <name>site</name> + <url>${env.NEXUSPROXY}/content/repositories/site/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + </profile> + + </profiles> + + <activeProfiles> + <activeProfile>rotterdam-release</activeProfile> + <activeProfile>rotterdam-snapshot</activeProfile> + <activeProfile>fdio-release</activeProfile> + <activeProfile>fdio-snapshot</activeProfile> + <activeProfile>staging</activeProfile> + <activeProfile>site</activeProfile> + </activeProfiles> +</settings> diff --git a/jenkins-config/managed-config-files/mavenSettings/cicn-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/cicn-settings/config-params.yaml new file mode 100644 index 000000000..2f12e14a4 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/cicn-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "cicn-settings" +comment: "cicn-settings"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/cicn-settings/content b/jenkins-config/managed-config-files/mavenSettings/cicn-settings/content new file mode 120000 index 000000000..e830ebdd5 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/cicn-settings/content @@ -0,0 +1 @@ +../../../managed-config-templates/mavenSettings-content
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/csit-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/csit-settings/config-params.yaml new file mode 100644 index 000000000..22b377e0c --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/csit-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "csit-settings" +comment: "csit-settings"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/csit-settings/content b/jenkins-config/managed-config-files/mavenSettings/csit-settings/content new file mode 120000 index 000000000..e830ebdd5 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/csit-settings/content @@ -0,0 +1 @@ +../../../managed-config-templates/mavenSettings-content
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/hc2vpp-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/hc2vpp-settings/config-params.yaml new file mode 100644 index 000000000..fa03d3242 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/hc2vpp-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "hc2vpp-settings" +comment: "hc2vpp-settings"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/hc2vpp-settings/content b/jenkins-config/managed-config-files/mavenSettings/hc2vpp-settings/content new file mode 120000 index 000000000..e830ebdd5 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/hc2vpp-settings/content @@ -0,0 +1 @@ +../../../managed-config-templates/mavenSettings-content
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/hicn-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/hicn-settings/config-params.yaml new file mode 100644 index 000000000..d68c9f072 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/hicn-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "hicn-settings" +comment: "hicn-settings"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/hicn-settings/content b/jenkins-config/managed-config-files/mavenSettings/hicn-settings/content new file mode 120000 index 000000000..e830ebdd5 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/hicn-settings/content @@ -0,0 +1 @@ +../../../managed-config-templates/mavenSettings-content
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/config-params.yaml new file mode 100644 index 000000000..fcb8df0f0 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "jenkins-log-archives-settings" +comment: "jenkins-log-archives-settings"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/content b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/content new file mode 120000 index 000000000..e830ebdd5 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/content @@ -0,0 +1 @@ +../../../managed-config-templates/mavenSettings-content
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/udpi-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/udpi-settings/config-params.yaml new file mode 100644 index 000000000..548391691 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/udpi-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "udpi-settings" +comment: "udpi-settings"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/udpi-settings/content b/jenkins-config/managed-config-files/mavenSettings/udpi-settings/content new file mode 120000 index 000000000..e830ebdd5 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/udpi-settings/content @@ -0,0 +1 @@ +../../../managed-config-templates/mavenSettings-content
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/vpp-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/vpp-settings/config-params.yaml new file mode 100644 index 000000000..9a18f02c2 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/vpp-settings/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "vpp-settings" +comment: "vpp-settings"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/vpp-settings/content b/jenkins-config/managed-config-files/mavenSettings/vpp-settings/content new file mode 120000 index 000000000..e830ebdd5 --- /dev/null +++ b/jenkins-config/managed-config-files/mavenSettings/vpp-settings/content @@ -0,0 +1 @@ +../../../managed-config-templates/mavenSettings-content
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-system/config-params.yaml b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-system/config-params.yaml new file mode 100644 index 000000000..cff03378c --- /dev/null +++ b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-system/config-params.yaml @@ -0,0 +1,3 @@ +--- +name: "jenkins-init-system" +comment: "Run ci-management/jenkins-scripts/init_system.sh"
\ No newline at end of file diff --git a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-system/content b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-system/content new file mode 100644 index 000000000..427d613ac --- /dev/null +++ b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-system/content @@ -0,0 +1,8 @@ +#!/bin/bash +until host github.com &>/dev/null +do + echo "Waiting until github.com is resolvable..." +done +git clone https://github.com/lfit/releng-global-jjb.git /opt/ciman/global-jjb +/opt/ciman/global-jjb/jenkins-init-scripts/init.sh +rm -rf /opt/ciman/releng-global-jjb/
\ No newline at end of file diff --git a/jenkins-config/managed-config-templates/mavenSettings-content b/jenkins-config/managed-config-templates/mavenSettings-content new file mode 100644 index 000000000..ff6191ecd --- /dev/null +++ b/jenkins-config/managed-config-templates/mavenSettings-content @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> +</settings>
\ No newline at end of file |