[KOGITO-10013] Migrate from Minikube to Kind for E2E tests and export logs (#354)

* [KOGITO-10013] Migrate from Minikube to Kind for E2E tests

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Add headers and set log retention to minimum (1 day)

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Changed registry port reference to 5001 and reference to Minikube to Kind

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Add makefile targets to install kind, create and delete cluster and amend github action to use the create cluster target

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Load controller built image to node with kind load docker-image

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Remove podman from build process in e2e lane

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Install python's docker libraries: docker and python-docker

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Add docker-squash as pip egg to build the image

Signed-off-by: Jordi Gil <jgil@redhat.com>

---------

Signed-off-by: Jordi Gil <jgil@redhat.com>
3 files changed
tree: f0159679f1ae441cd9e9260bc0e24f88bced9187
  1. .ci/
  2. .github/
  3. api/
  4. bddframework/
  5. bundle/
  6. bundle.osl/
  7. config/
  8. container-builder/
  9. controllers/
  10. docs/
  11. hack/
  12. log/
  13. modules/
  14. osbs-extra/
  15. tekton/
  16. test/
  17. testbdd/
  18. utils/
  19. version/
  20. workflowproj/
  21. .asf.yaml
  22. .gitignore
  23. bundle.Dockerfile
  24. content_sets.yaml
  25. Dockerfile
  26. go.mod
  27. go.sum
  28. go.work
  29. go.work.sum
  30. image.yaml
  31. LICENSE
  32. main.go
  33. Makefile
  34. Makefile.osl
  35. operator.yaml
  36. osl-bundle-prod.yaml
  37. osl-image-prod.yaml
  38. PROJECT
  39. README.md
  40. RELEASE_NOTES.md
README.md

SonataFlow Operator

The SonataFlow Operator defines a set of Kubernetes Custom Resources to help users to deploy SonataFlow projects on Kubernetes and OpenShift.

Please visit our official documentation to know more.

Available modules for integrations

If you're a developer, and you are interested in integrating your project or application with the SonataFlow Operator ecosystem, this repository provides a few Go Modules described below.

SonataFlow Operator Types (api)

Every custom resource managed by the operator is exported in the module api. You can use it to programmatically create any custom type managed by the operator. To use it, simply run:

go get github.com/kiegroup/kogito-serverless-workflow/api

Then you can create any type programmatically, for example:

workflow := &v1alpha08.SonataFlow{
ObjectMeta: metav1.ObjectMeta{Name: w.name, Namespace: w.namespace},
Spec:       v1alpha08.SonataFlowSpec{Flow: *myWorkflowDef>}
}

You can use the Kubernetes client-go library to manipulate these objects in the cluster.

You might need to register our schemes:

    s := scheme.Scheme
utilruntime.Must(v1alpha08.AddToScheme(s))

Container Builder (container-builder)

Please see the module's README file.

Workflow Project Handler (workflowproj)

Please see the module's README file.

Development and Contributions

Contributing is easy, just take a look at our contributors'guide.

Productization notes

In order to productize the Red Hat OpenShift Serverless Logic Operator read the notes into the productization'section.