Skip to content

Conversation

@brianseeders
Copy link
Contributor

@brianseeders brianseeders commented Jun 17, 2020

@spalger requested this. This is a job to make sure that each individual commit has a corresponding baseline build. Jenkins doesn't really have this functionality built-in, so if multiple commits are pushed in a short window, some of them could be skipped without a job like this.

For each branch:

  • Iterate through commits using the Github api, collecting ones that have not yet been built/started (this is tracked via the commit status with kibana-ci-baseline context). Stop at the first one that's already been triggered.

For each commit that needs a build:

  • Create a Github commit status of 'pending'
  • Trigger the baseline job, and immediately move on
  • When the baseline job finishes, it will set a commit status for 'success' or 'error'

There will be a job set up that:

  • Will not run concurrently
  • Trigger on commit
  • Also trigger on a timer, as a backup

@brianseeders brianseeders added Feature:CI Continuous integration release_note:skip Skip the PR/issue when compiling release notes v8.0.0 v7.9.0 v7.8.1 v7.7.2 v6.8.11 Team:Operations Kibana-Operations Team labels Jun 17, 2020
@spalger
Copy link
Contributor

spalger commented Jul 13, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger
Copy link
Contributor

spalger commented Jul 18, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:CI Continuous integration release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v6.8.12 v7.7.2 v7.8.1 v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants