Skip to content

Commit

Permalink
DEVOPS-253 fixed config as code
Browse files Browse the repository at this point in the history
  • Loading branch information
githubofkrishnadhas committed Jul 6, 2024
1 parent 716c38e commit c130e91
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
50 changes: 26 additions & 24 deletions config-as-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,31 @@ credentials:
id: "${GITHUB_APP_ID}"
privateKey: "${GITHUB_APP_KEY}"

# setting basic number of job executors in jenkins master as 6
numExecutors: 6

# Providing default permission for users through `authenticated` group that can login to jenkins
authorizationStrategy:
globalMatrix:
entries:
- group:
name: "authenticated"
permissions:
- "Agent/Build"
- "Agent/Configure"
- "Agent/Create"
- "Credentials/Create"
- "Credentials/Update"
- "Credentials/View"
- "Job/Build"
- "Job/Cancel"
- "Job/Configure"
- "Job/Create"
- "Job/Move"
- "Job/Read"
- "Overall/Read"
- "View/Configure"
- "View/Create"
- "View/Read"
jenkins:
# setting basic nuqmber of job executors in jenkins master as 6
numExecutors: 6
authorizationStrategy:
globalMatrix:
entries:
- group:
name: "authenticated"
permissions:
- "Agent/Build"
- "Agent/Configure"
- "Agent/Create"
- "Credentials/Create"
- "Credentials/Update"
- "Credentials/View"
- "Job/Build"
- "Job/Cancel"
- "Job/Configure"
- "Job/Create"
- "Job/Move"
- "Job/Read"
- "Overall/Read"
- "View/Configure"
- "View/Create"
- "View/Read"
# ref https://www.roger.ml/p/jenkins-ci-github-app-authentication
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.0
v1.0.0

0 comments on commit c130e91

Please sign in to comment.