Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore build and test binaries.
bin/
26 changes: 26 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Operator version and build configuration
VERSION=2.0.0-snapshot
IMAGE_TAG=2.0.0
PLATFORM_TAG=2.0.0

# Registry and image naming
REGISTRY=quay.io
ACCOUNT=kubesmarts
OPERATOR_NAME=logic-operator

# Related images (pointing to Kubesmarts Quay.io registry)
# Using main tag for latest development images
RELATED_IMAGE_JOBS_SERVICE_POSTGRESQL=quay.io/kubesmarts/incubator-kie-kogito-jobs-service-postgresql:main
RELATED_IMAGE_JOBS_SERVICE_EPHEMERAL=quay.io/kubesmarts/incubator-kie-kogito-jobs-service-ephemeral:main
RELATED_IMAGE_DATA_INDEX_POSTGRESQL=quay.io/kubesmarts/incubator-kie-kogito-data-index-postgresql:main
RELATED_IMAGE_DATA_INDEX_EPHEMERAL=quay.io/kubesmarts/incubator-kie-kogito-data-index-ephemeral:main
RELATED_IMAGE_BASE_BUILDER=quay.io/kubesmarts/incubator-kie-sonataflow-builder:main
RELATED_IMAGE_DEVMODE=quay.io/kubesmarts/incubator-kie-sonataflow-devmode:main
RELATED_IMAGE_DB_MIGRATOR_TOOL=quay.io/kubesmarts/incubator-kie-kogito-db-migrator:main

# Image digest pinning tool (docker, podman, or skopeo)
PIN_IMAGE_SHA_BUNDLE_TOOL=docker

# CLI build metadata
QUARKUS_VERSION=3.8.1
QUARKUS_PLATFORM_GROUP_ID=io.quarkus.platform
44 changes: 44 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches:
- main
- feat/**
pull_request:
branches:
- main

jobs:
validate:
name: Validate Code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.26'

- name: Check go fmt
run: |
OUTPUT=$(go fmt ./...)
if [ -n "$OUTPUT" ]; then
echo "The following files are not formatted:"
echo "$OUTPUT"
echo "Please run 'go fmt ./...' locally and commit the changes"
exit 1
fi

- name: Run linter
run: make lint

- name: Run build
run: make build

- name: Run unit tests
run: |
make manifests generate fmt vet setup-envtest
KUBEBUILDER_ASSETS="$(bin/setup-envtest use 1.35.0 --bin-dir $(pwd)/bin -p path)" go test $(go list ./... | grep -v /e2e)
112 changes: 0 additions & 112 deletions .github/workflows/cli-build.yaml

This file was deleted.

88 changes: 0 additions & 88 deletions .github/workflows/cli-e2e.yaml

This file was deleted.

Loading
Loading