Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching Libby to be run via manual trigger #30248

Open
wants to merge 3 commits into
base: integration
Choose a base branch
from
Open
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
19 changes: 10 additions & 9 deletions .ci-orchestrator/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@ product: Liberty
name: Open Liberty Delivery Requirements Verification
description: "Examines Open Liberty code changes for delivery standards compliance"
triggers:
- type: github
- type: manual
description: "Runs CI Orchestrator-managed Jenkins jobs to examine pull request changes and create required status checks"
triggerName: "libby"
triggerRank: 50
groups: ["LibertyDev"]
keyword: "!libby"
aliasKeywords:
- "#run-libby-bot"
- "#run-libby"
- "#libby"
propertyDefinitions:
- name: githubPRNumber
defaultValue: ${github_pr_number}
- name: githubPRApi
defaultValue: ${github_pr_api}
required: true
description: "PR number to perform delivery requirement verification against e.g. 30188"

steps:
- stepName: PR Changes
workType: PRChangesDetection
timeoutInMinutes: 30
properties:
githubPRApi: "https://api.github.com/repos/OpenLiberty/open-liberty/pulls/${githubPRNumber}"
- stepName: Copyright Header Check
workType: Jenkins
projectName: copyrightHeaderCheck
timeoutInMinutes: 120
properties:
githubPRApi: "https://api.github.com/repos/OpenLiberty/open-liberty/pulls/${githubPRNumber}"
- stepName: Prohibited Terms Check
workType: Jenkins
projectName: prohibitedTermsCheck
timeoutInMinutes: 120
properties:
githubPRApi: "https://api.github.com/repos/OpenLiberty/open-liberty/pulls/${githubPRNumber}"
- stepName: Code Checklist Creation
workType: Jenkins
projectName: codeCheckListBuilder
Expand All @@ -39,6 +39,7 @@ steps:
- stepName: PR Changes
awaitOutputProperties: true
properties:
githubPRApi: "https://api.github.com/repos/OpenLiberty/open-liberty/pulls/${githubPRNumber}"
isBvtCodeChanged: ${PR Changes:is.bvt.code.changed}
isFatCodeChanged: ${PR Changes:is.fat.code.changed}
isFeatureFilesChanged: ${PR Changes:is.feature.files.changed}
Expand Down