Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated pull request backporting workflow #831

Merged
merged 2 commits into from
Dec 14, 2022
Merged

Automated pull request backporting workflow #831

merged 2 commits into from
Dec 14, 2022

Conversation

lampajr
Copy link
Member

@lampajr lampajr commented Dec 12, 2022

JIRA:

https://issues.redhat.com/browse/BXMSPROD-1892

referenced Pull Requests:

Added GitHub workflow to automate pull request backporting:

  • create backporting pull requests whenever a pull request (having one or more labels backport-<branch>) is successfully merged.
How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:
  • for pull request checks
    Please add comment: Jenkins retest this

  • for a specific pull request check
    please add comment: Jenkins (re)run [optaweb-vehicle-routing] tests

  • for a full downstream build

    • for jenkins job:
      please add comment: Jenkins run fdb
    • for github actions job:
      add the label run_fdb
  • for a compile downstream build
    please add comment: Jenkins run cdb

  • for a full production downstream build
    please add comment: Jenkins execute product fdb

  • for an upstream build
    please add comment: Jenkins run upstream

  • for quarkus branch checks
    Run checks against Quarkus current used branch
    Please add comment: Jenkins run quarkus-branch

  • for a quarkus branch specific check
    Run checks against Quarkus current used branch
    Please add comment: Jenkins (re)run [optaweb-vehicle-routing] quarkus-branch

  • for quarkus main checks
    Run checks against Quarkus main branch
    Please add comment: Jenkins run quarkus-main

  • for a specific quarkus main check
    Run checks against Quarkus main branch
    Please add comment: Jenkins (re)run [optaweb-vehicle-routing] quarkus-branch

CI Status

You can check OptaPlanner repositories CI status from Chain Status webpage.

@mareknovotny mareknovotny merged commit 7668ba8 into kiegroup:main Dec 14, 2022
@lampajr lampajr deleted the BXMSPROD-1892_backporting branch December 14, 2022 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants