Create automated build to validate master branch and promote to openj9 branch
DanHeidinga opened this issue · 7 comments
Code from the upstream OMR repo is synchronized into the master branch. Once there, we need an automated build that will validate it with openj9 repo and merge it into the openj9-omr repo's openj9 branch.
FYI @AdamBrousseau
Token needed for API calls to GitHub from Jenkins.
Added requirements to the existing (bug](https://bugs.eclipse.org/bugs/show_bug.cgi?id=522322) from #3
Previous comment is actually required for PullRequest builds, not the build that this issue is for (my mistake for confusing the issues). This issue is for the "OMR Acceptance" build which we can now implement since #3 is resolved. I will get going on this today.
OMR Acceptance build setup as a pipeline. Taking of advantage of the "generic" build jobs pLinux and zLinux and "generic" test jobs pLinux and zLinux. Calls each platform in parallel. Calls the Promote job when everything passes.
High level overview
Pipeline
- Sniff repos to get latest SHAs. Ensures we build consist content across all platforms
- Parallel
- Promote
Dry running it now
Added tagging in the promote job.
Tag format:
Name:
omr_merge_YYYYMMDD_HHMMSS
Annotation:
OMR: <OMR_SHA>
OpenJ9: <OPENJ9_SHA>
OpenJDK: <OPENJDK_SHA>
Everything seems to be working now. We have had 3 levels promote through without issue.
@DanHeidinga I think we can close this as complete
Agreed. Thanks for all your work on this @AdamBrousseau - not only on the scripting but working through getting the web hooks, etc configured. Much appreciated!