Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bundle/bundle.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: "1"
version: "2"
version: "3"
id: "cloudbees-ehi-ops-controller"
description: "CloudBees CI configuration bundle for the cloudbees-ehi ops-controller Controller"
availabilityPattern: "cloudbees-ci-casc-workshop/cloudbees-ehi/ops-controller"
jcasc:
- "jenkins.yaml"
- "jcasc/"
plugins:
- "plugins.yaml"
items:
Expand Down
21 changes: 21 additions & 0 deletions bundle/jcasc/credentials.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
credentials:
system:
domainCredentials:
- credentials:
- string:
description: "CasC Update Secret"
id: "casc-update-secret"
scope: GLOBAL
secret: "${cbciCascWorkshopControllerProvisionSecret}"
- string:
description: "Webhook secret for CloudBees CI Workshop GitHub App"
id: "cloudbees-ci-workshop-github-webhook-secret"
scope: SYSTEM
secret: "${gitHubWebhookSecret}"
- gitHubApp:
apiUri: "https://api.github.com"
appID: "${cbciCascWorkshopGitHubAppId}"
description: "CloudBees CI CasC Workshop GitHub App credential"
id: "cloudbees-ci-casc-workshop-github-app"
owner: "${GITHUB_ORGANIZATION}"
privateKey: "${cbciCascWorkshopGitHubAppPrivateKey}"
25 changes: 2 additions & 23 deletions bundle/jenkins.yaml → bundle/jcasc/jenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jenkins:
- key: "BUNDLE_ID"
value: "${CASC_BUNDLE_ID}"
quietPeriod: 0
systemMessage: 'Jenkins configured using CloudBees CI CasC v2'
systemMessage: 'Jenkins configured using CloudBees CI CasC v3'
notificationConfiguration:
enabled: true
router: "operationsCenter"
Expand Down Expand Up @@ -41,25 +41,4 @@ unclassified:
repoOwner: "${GITHUB_ORGANIZATION}"
repository: "pipeline-library"
headerLabel:
text: "${GITHUB_APP}-bundle-v2"
credentials:
system:
domainCredentials:
- credentials:
- string:
description: "CasC Update Secret"
id: "casc-update-secret"
scope: GLOBAL
secret: "${cbciCascWorkshopControllerProvisionSecret}"
- string:
description: "Webhook secret for CloudBees CI Workshop GitHub App"
id: "cloudbees-ci-workshop-github-webhook-secret"
scope: SYSTEM
secret: "${gitHubWebhookSecret}"
- gitHubApp:
apiUri: "https://api.github.com"
appID: "${cbciCascWorkshopGitHubAppId}"
description: "CloudBees CI CasC Workshop GitHub App credential"
id: "cloudbees-ci-casc-workshop-github-app"
owner: "${GITHUB_ORGANIZATION}"
privateKey: "${cbciCascWorkshopGitHubAppPrivateKey}"
text: "${GITHUB_APP}-bundle-v3"