Skip to content

build: add Jenkins pipeline - #37425

Closed
epuertat wants to merge 1 commit into
mainfrom
wip-pipeline-master
Closed

epuertat wants to merge 1 commit into
mainfrom
wip-pipeline-master

Conversation

@epuertat

@epuertat epuertat commented Sep 26, 2020 •

Copy link
Copy Markdown
Member

Pipeline

Classic View

image

BlueOcean

image

Test Reporting

Classic View

image

BlueOcean

image

Signed-off-by: Ernesto Puerta [email protected]

Feature parity with current approach

  • Core ceph-pull-request functionality
  • ceph-pull-request optimizations (ccache, jobs, etc).
  • Split build stage in: make and ctest stages
  • JUnit/XUnit
  • Add API tests parallel/sequentially (disabled)
  • Parallelize
  • Timestamps
  • Timeout (2h global) - Per stage?
  • Quiet Period (5s) (not needed)
  • Retry count (3) (that's git checkout retry, it should go in the multibranch JJB def but not available)
  • Cancel on new build
  • On PR push trigger
  • Trigger phrases (jenkins make check)
  • Add Dashboard E2E tests
  • Enable Jenkins Github Multistatus Plugin:
    image

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@epuertat epuertat added build/ops CI Continuous Integration labels Sep 26, 2020
@epuertat epuertat self-assigned this Sep 26, 2020
@epuertat
epuertat marked this pull request as draft September 28, 2020 16:25
@epuertat
epuertat force-pushed the wip-pipeline-master branch 9 times, most recently from 39c2141 to be15060 Compare October 2, 2020 13:51
@epuertat

epuertat commented Oct 2, 2020

Copy link
Copy Markdown
Member Author

jenkins do not test this

@epuertat
epuertat force-pushed the wip-pipeline-master branch 15 times, most recently from dab3bbd to b45ab77 Compare October 7, 2020 16:59
@epuertat
epuertat force-pushed the wip-pipeline-master branch 3 times, most recently from 45ddfe3 to 918d8e1 Compare October 25, 2020 20:25
@epuertat

epuertat commented Oct 25, 2020 •

Copy link
Copy Markdown
Member Author
Oct 25, 2020 8:39:48 PM FINE com.cloudbees.jenkins.GitHubWebHook$1 apply
Calling registerHooks() for ceph-multibranch-pipeline

Oct 25, 2020 8:39:48 PM INFO org.jenkinsci.plugins.github.webhook.WebhookManager$1 run
GitHub webhooks activated for job ceph-multibranch-pipeline with [GitHubRepositoryName[host=github.com,username=ceph,repository=ceph]] (events: [PULL_REQUEST, PUSH])

Oct 25, 2020 8:39:49 PM FINE org.jenkinsci.plugins.github.webhook.WebhookManager repoWithWebhookAccess
None of the github repos configured have admin access for: GitHubRepositoryName[host=github.com,username=ceph,repository=ceph]

GH token to create.

@epuertat
epuertat force-pushed the wip-pipeline-master branch 3 times, most recently from a7abca9 to 5b23b85 Compare October 26, 2020 20:54
@epuertat

Copy link
Copy Markdown
Member Author

@tchaikov it's working (but with another job) 🥳 !

My only concern is that Organization Folders project type is not supported by the jenkins job builder project. If needed we can push the config.xml and use a JSON/YAML representation:

"jenkins.branch.OrganizationFolder": 
 actions: ""
 description: ""
 properties: 
  "jenkins.branch.OrganizationChildHealthMetricsProperty": 
   templates: 
    "com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric": 
     nonRecursive: false
     _plugin: "[email protected]"
  "jenkins.branch.OrganizationChildOrphanedItemsProperty": 
   strategy: 
    _class: "jenkins.branch.OrganizationChildOrphanedItemsProperty$Inherit"
  "jenkins.branch.OrganizationChildTriggersProperty": 
...

Signed-off-by: Ernesto Puerta <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@djgalloway

Copy link
Copy Markdown
Contributor

Sorry, this fell off my radar. Shall we resurrect it?

@epuertat

epuertat commented Feb 4, 2021

Copy link
Copy Markdown
Member Author

Sorry, this fell off my radar. Shall we resurrect it?

@djgalloway, fully in favor of. In fact I was thinking on this for a GSoC internship. I'll ping you via email to elaborate on this.

@stale

stale Bot commented Jul 21, 2021

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale Bot added the stale label Jul 21, 2021
@epuertat epuertat removed the stale label Jul 21, 2021
@stale

stale Bot commented Jan 9, 2022

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale Bot added the stale label Jan 9, 2022
@epuertat epuertat removed the stale label Jan 14, 2022
@epuertat epuertat mentioned this pull request May 5, 2022
15 of 38 tasks
@djgalloway
djgalloway changed the base branch from master to main July 8, 2022 00:00
@github-actions

github-actions Bot commented Sep 6, 2022

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Sep 6, 2022
@epuertat epuertat removed the stale label Sep 6, 2022
@github-actions

github-actions Bot commented Nov 5, 2022

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Nov 5, 2022
@epuertat epuertat closed this Nov 7, 2022
@epuertat
epuertat deleted the wip-pipeline-master branch November 7, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants