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

Drools, Kogito-apps and Kogito-runtimes weekly jobs #821

Closed
rodrigonull opened this issue Jan 15, 2024 · 6 comments
Closed

Drools, Kogito-apps and Kogito-runtimes weekly jobs #821

rodrigonull opened this issue Jan 15, 2024 · 6 comments
Assignees
Labels
apache:migration Related to Apache Migration

Comments

@rodrigonull
Copy link

rodrigonull commented Jan 15, 2024

Create a weekly Jenkins job for Drools, Kogito-Runtimes and Kogito-Apps to build and deploy a version that will be consumed by KIE Tools JIT executor Github action.

Job requirements:

  • run every week on Sunday at 04:00 AM
  • Checkout the code from main branch that was pushed till 2:00 AM: git checkout 'git rev-list -n 1 --before="2024-01-17 02:00" main' (The same strategy will be used in the JIT executor Github action to make sure both jobs are using the exact same code)
  • Set the project version to: 999-YYYYMMDD-SNAPSHOT (i.e: 999-20240117-SNAPSHOT)
  • Run the build
  • Push the build artifacts to Apache repository
  • Create a tag in the repository with the project version (i.e: 999-20240117)
@rodrigonull rodrigonull self-assigned this Jan 15, 2024
@rodrigonull rodrigonull converted this from a draft issue Jan 15, 2024
@rodrigonull rodrigonull moved this from 📋 Backlog to ⏳ In Progress in 🦉 KIE Podling Board Jan 15, 2024
@ederign
Copy link
Member

ederign commented Jan 17, 2024

@rodrigonull, I was discussing this with Tiago and later with Zanini, and we believe that we should also expand the scope of this task to cover SWF CLI (kn-plugin workflow package).

Currently, kn-plugin-workflow has the following internal dependencies:

  • go.mod with source dependency to kogito-serverless-operator
  • env/index.js dependencies to:
  1. kogito-version: your proposal already covers it via runtime release and is used on our pom.xml file of the generated project;

  2. dev mode image deploy: used on docker runs for 'non-java' serverless workflow projects

I want to check with you if it's possible to include the following requirements on each weekly job execution:

This standardization is crucial to keep the kie-tools project completely manageable.

Is it feasible? /cc @tiagobento @ricardozanini @porcelli

@ricardozanini
Copy link
Member

@rodrigonull can we have instead the version being named after the commit hash? e.g. 10.0.0-12345. It aligns well with semver and we can track back to the commit if it's needed.

@tiagobento
Copy link

tiagobento commented Jan 17, 2024

@ricardozanini There are multiple repositories involved in this, so I guess it won't be nice for consistency if the versions are different depending on where an artifact comes from...

@tiagobento
Copy link

@rodrigonull But I agree that having a way to trace back to the commit would be good. I suggest we create tags for all repos for these "timestamped" releases.

@rodrigonull
Copy link
Author

@ederign I think I can work on adding these 2 extra jobs for kogito-serverless-operator and kogito-images. My only concern is that this task is already taking more time than I expected for the three initial projects, so I'm not sure how long it will take for me to finish it and I know that we don't have much time left for the release 10.
@porcelli Is there someone that could work with me on this issue?

@rodrigonull
Copy link
Author

@tiagobento @ricardozanini I added the tag creation as part of this issue. Hopefully our user on Apache Jenkins already have permissions for pushing tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apache:migration Related to Apache Migration
Projects
Status: 🎯 Done
Development

No branches or pull requests

5 participants