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

[sonataflow-operator] - Migrate SonataFlow operator from incubator-kie-kogito-serverless-operator #2747

Merged
merged 1,046 commits into from
Nov 22, 2024

Conversation

ricardozanini
Copy link
Member

@ricardozanini ricardozanini commented Nov 15, 2024

Fix #2605

In this PR:

  1. Upgrade repo Go version to 1.22
  2. Remove the old sonataflow-operator for the 10.0.0 release
  3. Push the new sonataflow-operator from https://github.com/apache/incubator-kie-kogito-serverless-operator repository

TODO:

  • Remove unrelated commits from the bddframework module
  • Upgrade CI to Golang 1.22

spolti and others added 30 commits May 16, 2023 16:48
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.1+incompatible to 23.0.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v23.0.1...v23.0.3)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.1+incompatible to 2.8.2+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](distribution/distribution@v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix Jenkinsfile.deploy

* Update Jenkinsfile.deploy
* Update bump-version script

* remove base images from samples

* Updated release process
* Correct bump version script

* Revert "[main] Update version to 2.0.0-snapshot"

This reverts commit 6857bad.

* Update check-container-builder.yml

* Update RELEASE_NOTES.md
* [KOGITO-8644] Review applied status attribute

Signed-off-by: desmax74 <[email protected]>

* [KSW-Operator] Review applied status attribute

Signed-off-by: desmax74 <[email protected]>

---------

Signed-off-by: desmax74 <[email protected]>
apache#131)

* [KOGITO-9078] [KSW-Operator] Create the cekit image descriptor for Operator image

Signed-off-by: Davide Salerno <[email protected]>
Co-authored-by: Filippe Spolti <[email protected]>
* [KOGITO-9106] - Add support for OpenShift BC

---------

Signed-off-by: Ricardo Zanini <[email protected]>
…QUARKUS_DEVSERVICES_ENABLED properties immutable in devmode (apache#130)

Signed-off-by: desmax74 <[email protected]>
…QUARKUS_DEVSERVICES_ENABLED properties immutable in devmode (apache#133)
* [BXMSPROD-2016] Updating references to the new kie-ci actions folder.

* [BXMSPROD-2016] Updating references to the new kie-ci actions folder.
apache#124)

* [KOGITO-8648] [KSW-Operator] Implement the Knative Addressable interface in dev profile

Signed-off-by: Davide Salerno <[email protected]>

Update controllers/profiles/status_enricher_dev_test.go

Co-authored-by: Ricardo Zanini <[email protected]>

Fixing namespace into unit tests

Signed-off-by: Davide Salerno <[email protected]>

Update utils/kubernetes/service.go

Co-authored-by: Filippe Spolti <[email protected]>

Changes coming from code review

Signed-off-by: Davide Salerno <[email protected]>

* fix generate-all

---------

Signed-off-by: Davide Salerno <[email protected]>
Co-authored-by: radtriste <[email protected]>
* [KOGITO-9177] Introduce workflowproj module

Signed-off-by: Ricardo Zanini <[email protected]>

* Fix unit test with subresource

Signed-off-by: Ricardo Zanini <[email protected]>

* Incorporating reviews, adding nil check on save files

Signed-off-by: Ricardo Zanini <[email protected]>

* Adding filename formatting options

Signed-off-by: Ricardo Zanini <[email protected]>

---------

Signed-off-by: Ricardo Zanini <[email protected]>
* add hack/get-images-sha.sh script

This script allows to fetch the sha256 of any image built in Brew. Currently it is fetching just the Operator as the
sha256 of the Operator is required when building the Bundle.

* check if brew command is available
…e#152)

* [KOGITO-9290] Removing Owner references from generated objects

Signed-off-by: Ricardo Zanini <[email protected]>

* Regen code

Signed-off-by: Ricardo Zanini <[email protected]>

---------

Signed-off-by: Ricardo Zanini <[email protected]>
* KOGITO-9011 Test e2e on Openshift

* swf examples: add required fields
* [KOGITO-9263] Add the new resources to workflow CR

Signed-off-by: Ricardo Zanini <[email protected]>

* Make the volume projection algorithm easier to understand

Signed-off-by: Ricardo Zanini <[email protected]>

* Fix codegen

Signed-off-by: Ricardo Zanini <[email protected]>

* Incorporating tristan's review

Signed-off-by: Ricardo Zanini <[email protected]>

* Rebase tristan's pr

Signed-off-by: Ricardo Zanini <[email protected]>

---------

Signed-off-by: Ricardo Zanini <[email protected]>
…fo from flow (apache#154)

* [KOGITO-9323] - Review KogitoServerlessWorkflow api to remove meta info from flow

Signed-off-by: Ricardo Zanini <[email protected]>

* Regen code

Signed-off-by: Ricardo Zanini <[email protected]>

* Add unit tests, fix CRD specversion conversion

Signed-off-by: Ricardo Zanini <[email protected]>

* Fix codegen

Signed-off-by: Ricardo Zanini <[email protected]>

* Apply suggestions from code review

---------

Signed-off-by: Ricardo Zanini <[email protected]>
Co-authored-by: Tristan Radisson <[email protected]>
wmedvede and others added 12 commits October 24, 2024 08:39
…ogito events grouping by default in preview and gitops workflow deployments (apache#551)
…inary and compress properties for the kogito events grouping in preview and gitops workflow deployments (apache#567)
…ability health checks when Knative Eventing is configured (apache#569)
This PR updates sdk-go to v2.4.2 and also changes go 1.22.8 to 1.22.0 to avoid using patch versions which may compromise client code.
…pache#564)

* Fix apache#560 - Check if the .spec.flow has changed before building

Signed-off-by: Ricardo Zanini <[email protected]>

* Use CRC32 instead of comparing flows directly

Signed-off-by: Ricardo Zanini <[email protected]>

---------

Signed-off-by: Ricardo Zanini <[email protected]>
@ricardozanini
Copy link
Member Author

I will fix the windows problem tomorrow.

Copy link
Contributor

@tiagobento tiagobento left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @ricardozanini! Good to go when green. I especially like the stats ;)

image

@tiagobento
Copy link
Contributor

Mental note for not merging it before squashing the new commits.

@tiagobento
Copy link
Contributor

BIG Mental note for NOT SQUASHING this PR when merging.

@ricardozanini
Copy link
Member Author

DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH
DO NOT SQUASH

@ricardozanini ricardozanini force-pushed the migrate-sonataflow-operator branch from c47048c to 82b42be Compare November 21, 2024 17:53
@ricardozanini
Copy link
Member Author

@wmedvede @treblereel @jakubschwan wanna take a look?

Copy link
Contributor

@treblereel treblereel left a comment

Choose a reason for hiding this comment

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

looks good for me

packages/kn-plugin-workflow/README.md Show resolved Hide resolved
@tiagobento tiagobento merged commit eee1b79 into apache:main Nov 22, 2024
15 checks passed
@ricardozanini ricardozanini deleted the migrate-sonataflow-operator branch November 22, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SonataFlow Operator migration to kie-tools