commit | a8dc5ed8606c62a0a35c5b02dfeced5b0a08ee1c | [log] [tgz] |
---|---|---|
author | Jordi Gil <jgil@redhat.com> | Thu Jan 18 08:28:40 2024 -0500 |
committer | GitHub <noreply@github.com> | Thu Jan 18 10:28:40 2024 -0300 |
tree | f0159679f1ae441cd9e9260bc0e24f88bced9187 | |
parent | 64f688bd599593a507cd3e7113fe757cc87797d3 [diff] |
[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>
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.
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.
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))
Please see the module's README file.
Please see the module's README file.
Contributing is easy, just take a look at our contributors'guide.
In order to productize the Red Hat OpenShift Serverless Logic Operator read the notes into the productization'section.