forked from CentOS-PaaS-SIG/ci-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Johnny Bieren <[email protected]>
- Loading branch information
1 parent
4250cd9
commit c84d7ff
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,8 @@ IRC_CHANNEL = "#contra-ci-cd" | |
CANNED_CI_MESSAGES = [:] | ||
CANNED_CI_MESSAGES['f26'] = '{"commit":{"username":"zdohnal","stats":{"files":{"README.patches":{"deletions":0,"additions":30,"lines":30},"sources":{"deletions":1,"additions":1,"lines":2},"vim.spec":{"deletions":7,"additions":19,"lines":26},".gitignore":{"deletions":0,"additions":1,"lines":1},"vim-8.0-rhbz1365258.patch":{"deletions":0,"additions":12,"lines":12}},"total":{"deletions":8,"files":5,"additions":63,"lines":71}},"name":"Zdenek Dohnal","rev":"3ff427e02625f810a2cedb754342be44d6161b39","namespace":"rpms","agent":"zdohnal","summary":"Merge branch f25 into f26","repo":"vim","branch":"f26","seen":false,"path":"/srv/git/repositories/rpms/vim.git","message":"Merge branch \'f25\' into f26\n","email":"[email protected]"},"topic":"org.fedoraproject.prod.git.receive"}' | ||
CANNED_CI_MESSAGES['f27'] = '{"commit":{"username":"adrian","stats":{"files":{"criu.spec":{"deletions":0,"additions":5,"lines":5}},"total":{"deletions":0,"files":1,"additions":5,"lines":5}},"name":"Adrian Reber","rev":"386bedee49cb887626140f2c60522751ec620f1d","namespace":"rpms","agent":"adrian","summary":"Adapt ExcludeArch depending on Fedora release","repo":"criu","branch":"f27","seen":false,"path":"/srv/git/repositories/rpms/criu.git","message":"Adapt ExcludeArch depending on Fedora release\\n","email":"[email protected]"},"topic":"org.fedoraproject.prod.git.receive"}' | ||
CANNED_CI_MESSAGES['rawhide-pr'] = '{"pullrequest":{"status":"Open","last_updated":"1531213549","branch_from":"tests","uid":"9df5133a51e348ae9a7d5b0f3f371567","commit_stop":"d35a0b2b165ffe45657c3478523a6840bc9ac828","initial_comment":"justification\\r\\nAdds tests according to the CI wiki specifically the standard test interface in the spec.\\r\\nThe playbook includes Tier1 level test cases that have been tested in the following contexts and\\r\\nis passing reliably: Classic. Test logs are stored in the artifacts directory.\\r\\nThe following steps are used to execute the tests using the standard test interface:\\r\\n\\r\\nTest enveronment\\r\\nMake sure you have installed packages from the spec\\r\\n```\\r\\nansible-2.4.1.0-2.fc28.noarch\\r\\npython2-dnf-2.7.5-1.fc28.noarch\\r\\nlibselinux-python-2.7-2.fc28.x86_64\\r\\nstandard-test-roles-2.5-1.fc28.noarch\\r\\n```\\r\\nRun tests for Classic\\r\\nSnip of the example test run for Classic tests:\\r\\n\\r\\n```\\r\\nbridge-utils-1.6-1.fc28.x86_64\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Checking for the presence of bridge-utils rpm\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Checking for the presence of bridge-utils rpm\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: Package versions:\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: Package versions:\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils-1.6-1.fc28.x86_64\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils-1.6-1.fc28.x86_64\\r\\n:: [ 14:32:30 ] :: [ BEGIN ] :: Running \'cp bridge-utils-tests.py /usr/bin\'\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Command \'cp bridge-utils-tests.py /usr/bin\' (Expected 0, got 0)\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Command \'cp bridge-utils-tests.py /usr/bin\' (Expected 0, got 0)\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n:: Duration: 1s\\r\\n:: Duration: 1s\\r\\n:: Assertions: 2 good, 0 bad\\r\\n:: Assertions: 2 good, 0 bad\\r\\n:: RESULT: PASS\\r\\n\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n:: Test\\r\\n:: Test\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils tests\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils tests\\r\\n:: [ 14:32:30 ] :: [ BEGIN ] :: Running \'/usr/bin/python3 /usr/bin/bridge-utils-tests.py\'\\r\\ntest_add_bridge (__main__.IPLinkSetDevTests) ... ok\\r\\ntest_add_slave (__main__.IPLinkSetDevTests) ... ok\\r\\n\\r\\n----------------------------------------------------------------------\\r\\nRan 2 tests in 0.115s\\r\\n\\r\\nOK\\r\\n```","title":"Adds tests according to the CI","comments":[],"id":1,"project":{"custom_keys":[],"description":"The bridge-utils rpms","parent":null,"date_modified":"1501866498","access_users":{"admin":[],"commit":["twoerner"],"ticket":[],"owner":["dwmw2"]},"namespace":"rpms","url_path":"rpms/bridge-utils","priorities":{},"id":1407,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"dwmw2","name":"dwmw2"},"date_created":"1501866498","fullname":"rpms/bridge-utils","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":true,"Only_assignee_can_merge_pull-request":false,"issue_tracker":true},"close_status":[],"tags":[],"name":"bridge-utils"},"assignee":null,"repo_from":{"custom_keys":[],"description":"The bridge-utils rpms","parent":{"custom_keys":[],"description":"The bridge-utils rpms","parent":null,"date_modified":"1501866498","access_users":{"admin":[],"commit":["twoerner"],"ticket":[],"owner":["dwmw2"]},"namespace":"rpms","url_path":"rpms/bridge-utils","priorities":{},"id":1407,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"dwmw2","name":"dwmw2"},"date_created":"1501866498","fullname":"rpms/bridge-utils","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":true,"Only_assignee_can_merge_pull-request":false,"issue_tracker":true},"close_status":[],"tags":[],"name":"bridge-utils"},"date_modified":"1531141462","access_users":{"admin":[],"commit":[],"ticket":[],"owner":["ssahani"]},"namespace":"rpms","url_path":"fork/ssahani/rpms/bridge-utils","priorities":{},"id":31342,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"Susant Sahani","name":"ssahani"},"date_created":"1531141462","fullname":"forks/ssahani/rpms/bridge-utils","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":false,"Only_assignee_can_merge_pull-request":false,"issue_tracker":false},"close_status":[],"tags":[],"name":"bridge-utils"},"cached_merge_status":"unknown","updated_on":"1531213549","commit_start":"d35a0b2b165ffe45657c3478523a6840bc9ac828","branch":"master","date_created":"1531213549","closed_at":null,"remote_git":null,"closed_by":null,"user":{"fullname":"Susant Sahani","name":"ssahani"}},"agent":"ssahani","topic":"org.fedoraproject.prod.pagure.pull-request.new"}' | ||
CANNED_CI_MESSAGES['rawhide-pr'] = '{"pullrequest":{"status":"Open","last_updated":"1530011536","branch_from":"user_path_priority","uid":"62e49b6664cb472d895479c174ea8431","commit_stop":"329df36f8bbc303be618f06562ec2c4eebfd1d29","initial_comment":"See: https://fedoraproject.org/wiki/Changes/UserPathPrioritization\\r\\n\\r\\nResolves: #1571650","title":"Move user bin directories in front of the PATH","comments":[{"comment":"This BZ is closed, but by a workaround. The number can be changed to the tracker bug assigned by the wrangler.","parent":null,"notification":false,"tree":"e5845d8ec23f37ce7afe2c93128314df945745f5","filename":"bash.spec","edited_on":null,"editor":null,"date_created":"1529951558","commit":"020411710d0a71a54e0f7560bdc359eefaa5cd5f","line":17,"id":11656,"user":{"fullname":"Miro Hrončok","name":"churchyard"}},{"comment":"cc @ssbarnea @till ","parent":null,"notification":false,"tree":null,"filename":null,"edited_on":null,"editor":null,"date_created":"1529951595","commit":null,"line":null,"id":11657,"user":{"fullname":"Miro Hrončok","name":"churchyard"}},{"comment":"rebased onto 329df36f8bbc303be618f06562ec2c4eebfd1d29","parent":null,"notification":true,"tree":null,"filename":null,"edited_on":null,"editor":null,"date_created":"1530011536","commit":null,"line":null,"id":11685,"user":{"fullname":"Miro Hrončok","name":"churchyard"}}],"id":7,"project":{"custom_keys":[],"description":"The bash rpms","parent":null,"date_modified":"1507634383","access_users":{"admin":["dkaspar","kdudka"],"commit":["kasal"],"ticket":[],"owner":["svashisht"]},"namespace":"rpms","url_path":"rpms/bash","priorities":{},"id":1171,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"Siteshwar Vashisht","name":"svashisht"},"date_created":"1501866235","fullname":"rpms/bash","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":true,"Only_assignee_can_merge_pull-request":false,"issue_tracker":true},"close_status":[],"tags":[],"name":"bash"},"assignee":null,"repo_from":{"custom_keys":[],"description":"The bash rpms","parent":{"custom_keys":[],"description":"The bash rpms","parent":null,"date_modified":"1507634383","access_users":{"admin":["dkaspar","kdudka"],"commit":["kasal"],"ticket":[],"owner":["svashisht"]},"namespace":"rpms","url_path":"rpms/bash","priorities":{},"id":1171,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"Siteshwar Vashisht","name":"svashisht"},"date_created":"1501866235","fullname":"rpms/bash","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":true,"Only_assignee_can_merge_pull-request":false,"issue_tracker":true},"close_status":[],"tags":[],"name":"bash"},"date_modified":"1529951477","access_users":{"admin":[],"commit":[],"ticket":[],"owner":["churchyard"]},"namespace":"rpms","url_path":"fork/churchyard/rpms/bash","priorities":{},"id":31184,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"Miro Hrončok","name":"churchyard"},"date_created":"1529951477","fullname":"forks/churchyard/rpms/bash","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":false,"Only_assignee_can_merge_pull-request":false,"issue_tracker":false},"close_status":[],"tags":[],"name":"bash"},"cached_merge_status":"unknown","updated_on":"1529951532","commit_start":"329df36f8bbc303be618f06562ec2c4eebfd1d29","branch":"master","date_created":"1529951532","closed_at":null,"remote_git":null,"closed_by":null,"user":{"fullname":"Miro Hrončok","name":"churchyard"}},"agent":"churchyard","topic":"org.fedoraproject.prod.pagure.pull-request.comment.added"}' | ||
//CANNED_CI_MESSAGES['rawhide-pr'] = '{"pullrequest":{"status":"Open","last_updated":"1531213549","branch_from":"tests","uid":"9df5133a51e348ae9a7d5b0f3f371567","commit_stop":"d35a0b2b165ffe45657c3478523a6840bc9ac828","initial_comment":"justification\\r\\nAdds tests according to the CI wiki specifically the standard test interface in the spec.\\r\\nThe playbook includes Tier1 level test cases that have been tested in the following contexts and\\r\\nis passing reliably: Classic. Test logs are stored in the artifacts directory.\\r\\nThe following steps are used to execute the tests using the standard test interface:\\r\\n\\r\\nTest enveronment\\r\\nMake sure you have installed packages from the spec\\r\\n```\\r\\nansible-2.4.1.0-2.fc28.noarch\\r\\npython2-dnf-2.7.5-1.fc28.noarch\\r\\nlibselinux-python-2.7-2.fc28.x86_64\\r\\nstandard-test-roles-2.5-1.fc28.noarch\\r\\n```\\r\\nRun tests for Classic\\r\\nSnip of the example test run for Classic tests:\\r\\n\\r\\n```\\r\\nbridge-utils-1.6-1.fc28.x86_64\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Checking for the presence of bridge-utils rpm\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Checking for the presence of bridge-utils rpm\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: Package versions:\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: Package versions:\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils-1.6-1.fc28.x86_64\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils-1.6-1.fc28.x86_64\\r\\n:: [ 14:32:30 ] :: [ BEGIN ] :: Running \'cp bridge-utils-tests.py /usr/bin\'\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Command \'cp bridge-utils-tests.py /usr/bin\' (Expected 0, got 0)\\r\\n:: [ 14:32:30 ] :: [ PASS ] :: Command \'cp bridge-utils-tests.py /usr/bin\' (Expected 0, got 0)\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n:: Duration: 1s\\r\\n:: Duration: 1s\\r\\n:: Assertions: 2 good, 0 bad\\r\\n:: Assertions: 2 good, 0 bad\\r\\n:: RESULT: PASS\\r\\n\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n:: Test\\r\\n:: Test\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n\\r\\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\\r\\n\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils tests\\r\\n:: [ 14:32:30 ] :: [ LOG ] :: bridge-utils tests\\r\\n:: [ 14:32:30 ] :: [ BEGIN ] :: Running \'/usr/bin/python3 /usr/bin/bridge-utils-tests.py\'\\r\\ntest_add_bridge (__main__.IPLinkSetDevTests) ... ok\\r\\ntest_add_slave (__main__.IPLinkSetDevTests) ... ok\\r\\n\\r\\n----------------------------------------------------------------------\\r\\nRan 2 tests in 0.115s\\r\\n\\r\\nOK\\r\\n```","title":"Adds tests according to the CI","comments":[],"id":1,"project":{"custom_keys":[],"description":"The bridge-utils rpms","parent":null,"date_modified":"1501866498","access_users":{"admin":[],"commit":["twoerner"],"ticket":[],"owner":["dwmw2"]},"namespace":"rpms","url_path":"rpms/bridge-utils","priorities":{},"id":1407,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"dwmw2","name":"dwmw2"},"date_created":"1501866498","fullname":"rpms/bridge-utils","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":true,"Only_assignee_can_merge_pull-request":false,"issue_tracker":true},"close_status":[],"tags":[],"name":"bridge-utils"},"assignee":null,"repo_from":{"custom_keys":[],"description":"The bridge-utils rpms","parent":{"custom_keys":[],"description":"The bridge-utils rpms","parent":null,"date_modified":"1501866498","access_users":{"admin":[],"commit":["twoerner"],"ticket":[],"owner":["dwmw2"]},"namespace":"rpms","url_path":"rpms/bridge-utils","priorities":{},"id":1407,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"dwmw2","name":"dwmw2"},"date_created":"1501866498","fullname":"rpms/bridge-utils","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":true,"Only_assignee_can_merge_pull-request":false,"issue_tracker":true},"close_status":[],"tags":[],"name":"bridge-utils"},"date_modified":"1531141462","access_users":{"admin":[],"commit":[],"ticket":[],"owner":["ssahani"]},"namespace":"rpms","url_path":"fork/ssahani/rpms/bridge-utils","priorities":{},"id":31342,"access_groups":{"admin":[],"commit":[],"ticket":[]},"milestones":{},"user":{"fullname":"Susant Sahani","name":"ssahani"},"date_created":"1531141462","fullname":"forks/ssahani/rpms/bridge-utils","settings":{"issues_default_to_private":false,"Minimum_score_to_merge_pull-request":-1,"pull_request_access_only":false,"stomp_notifications":true,"Web-hooks":null,"fedmsg_notifications":true,"always_merge":false,"project_documentation":false,"Enforce_signed-off_commits_in_pull-request":false,"notify_on_commit_flag":false,"notify_on_pull-request_flag":false,"roadmap_on_issues_page":false,"pull_requests":false,"Only_assignee_can_merge_pull-request":false,"issue_tracker":false},"close_status":[],"tags":[],"name":"bridge-utils"},"cached_merge_status":"unknown","updated_on":"1531213549","commit_start":"d35a0b2b165ffe45657c3478523a6840bc9ac828","branch":"master","date_created":"1531213549","closed_at":null,"remote_git":null,"closed_by":null,"user":{"fullname":"Susant Sahani","name":"ssahani"}},"agent":"ssahani","topic":"org.fedoraproject.prod.pagure.pull-request.new"}' | ||
|
||
library identifier: "ci-pipeline@master", | ||
retriever: modernSCM([$class: 'GitSCMSource', | ||
|