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

kie-issues#821: Kogito Serverless Operator weekly job #374

Merged
merged 5 commits into from
Feb 7, 2024

Conversation

rodrigonull
Copy link
Contributor

@rodrigonull rodrigonull commented Jan 26, 2024

ISSUE: apache/incubator-kie-issues#821

This PR updates the operator version to 999.0.00-snapshot to follow the 10 release train and introduces a new weekly Jenkins job for Kogito Serverless Operator that updates the project version to 999.0.0-YYYYMMDD-snapshot locally, build it and deploy the image to quay.io

The weekly job also creates a new tag in the repo with this format: 999.0.0-YYYYMMDD.

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can use 10.0.0 since we should follow KIE release train. WDYT?

@rodrigonull
Copy link
Contributor Author

I think we can use 10.0.0 since we should follow KIE release train. WDYT?

Perhaps we can set the version to 999-snapshot as discussed here: apache/incubator-kie-issues#763? WDYT @ricardozanini @domhanak

@rodrigonull rodrigonull deleted the kie-issues_821 branch January 29, 2024 17:10
@rodrigonull rodrigonull reopened this Jan 29, 2024
@jstastny-cz
Copy link
Contributor

@rodrigonull is the jenkinsfile a "close" copy of an existing one? Wouldn't reuse of a nightly one be possible with some tweaks? Also please can you check that the triggering part is in place? Or please point me to where it's defined.

@rodrigonull
Copy link
Contributor Author

rodrigonull commented Feb 1, 2024

@rodrigonull is the jenkinsfile a "close" copy of an existing one? Wouldn't reuse of a nightly one be possible with some tweaks? Also please can you check that the triggering part is in place? Or please point me to where it's defined.

@jstastny-cz Yes, this Jenkinfile is very similar to the nightly one. I've decided to create a new jenkinfile due to my lack o experience with the pipelines framework and to avoid breaking existing jobs. There are some differences between the nightly and the weekly jobs as described bellow:

for weekly jobs we need to:
Checkout the code from a specific datetime
Update the project version to a specific version (999-YYYYMMDD pattern)
Create and publish a tag in the repository

I think at some point would be nice to refactor this work and create a new job type for weekly jobs and update the nightly jenkinsfiles to support weekly jobs. WDYT?

The PR that adds the triggering is this one: apache/incubator-kie-kogito-pipelines#1177

@rodrigonull rodrigonull merged commit 8e212f5 into apache:main Feb 7, 2024
4 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-serverless-operator that referenced this pull request Mar 11, 2024
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