-
Notifications
You must be signed in to change notification settings - Fork 42
chore(ci): convert regular pipeline into MBP #258
chore(ci): convert regular pipeline into MBP #258
Conversation
scm: | ||
- github: | ||
branch-discovery: no-pr | ||
head-filter-regex: '(master|\d+\.\d+\.x)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Master or maintenance branch following 2-digit-plus-x semver name
💔 Tests FailedExpand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
Mmm, JJBB pre-commit step failing: https://beats-ci.elastic.co/blue/organizations/jenkins/e2e-tests%2Fe2e-testing-mbp%2FPR-258/detail/PR-258/1/tests Traceback (most recent call last):
File "/usr/local/bin/jenkins-jobs", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/jenkins_jobs/cli/entry.py", line 165, in main
jjb.execute()
File "/usr/local/lib/python3.6/dist-packages/jenkins_jobs/cli/entry.py", line 146, in execute
ext.obj.execute(self.options, self.jjb_config)
File "/usr/local/lib/python3.6/dist-packages/jenkins_jobs/cli/subcommand/test.py", line 63, in execute
options, jjb_config)
File "/usr/local/lib/python3.6/dist-packages/jenkins_jobs/cli/subcommand/update.py", line 115, in _generate_xmljobs
xml_jobs = xml_job_generator.generateXML(job_data_list)
File "/usr/local/lib/python3.6/dist-packages/jenkins_jobs/xml_config.py", line 82, in generateXML
xml_objs.append(self._getXMLForData(data))
File "/usr/local/lib/python3.6/dist-packages/jenkins_jobs/xml_config.py", line 92, in _getXMLForData
xml = mod.root_xml(data)
File "/usr/local/lib/python3.6/dist-packages/jenkins_jobs/modules/project_multibranch.py", line 246, in root_xml
for scm_data in data.get('scm', None):
TypeError: 'NoneType' object is not iterable Running precommit locally, with same result, even though the main MBP is already in the repo: pre-commit run --files .ci/jobs/e2e-testing-mbp.yml --show-diff-on-failure --verbose
pre-commit run --files .ci/jobs/e2e-testing-helm-daily-mbp.yml --show-diff-on-failure --verbose |
We won't deal with PRs, enforced by JJBB definition
Tests are not related. See #261 (comment) |
* chore(ci): convert regular pipeline into MBP * fix: proper YAML indentation * chore: disable PR notifications * chore: simplify triggered job name We won't deal with PRs, enforced by JJBB definition
… definition of the script path (#263) backport for 7.9.x (#264) * chore(ci): convert regular pipeline into MBP (#258) * chore(ci): convert regular pipeline into MBP * fix: proper YAML indentation * chore: disable PR notifications * chore: simplify triggered job name We won't deal with PRs, enforced by JJBB definition * fix: use proper definition of the script path (#263)
What does this PR do?
This PR migrates the regular pipelines for the scheduled jobs for each test suite, to multibranch pipelines, filtering the affected branches by name: only master branch and those branches following a 2-digit-plus-x semver name (i.e. 7.9.x, 7.10.x...)
The affected pipelines are:
Why is it important?
We are currently running these scheduled pipelines once a day for the master branch, but after appearing maintenance branches, we want to schedule the execution for them too.
Checklist
make notice
in the proper directory)Author's Checklist
Related issues
Use cases
Follow-ups
We must contact Infra to remove the old jobs for clean-up