This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from a4df39b Updated CHANGELOG.md
new 12f2675 Fix #1562: remove support for main runtime
new 5cf8464 Fix #1562: switch to refactored runtime without Quarkus
support
new 05e68fa Fix #1562: rename modules to new names
new 2207969 Fix #1562: support dependency scopes
new e28b867 align local run and add e2e tests
new 62e141d make k8s client loading optional in e2e test
new 11496a9 add role to manage leases for master component
new 3c78ba5 fix role for master
new 76162f8 fix camel source dependencies
new 332ee20 fix master e2e test
new 23545de fix affinity e2e test
new 057319c add fallback for master when leases are not available
The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/{build.yml => local.yml} | 53 +-
addons/master/master.go | 67 +-
addons/tracing/tracing.go | 7 -
addons/tracing/tracing_test.go | 45 -
build/maven/pom-runtime.xml | 168 +-
.../crd/bases/camel.apache.org_camelcatalogs.yaml | 68 +
...master-role.tmpl => master-role-configmap.tmpl} | 0
.../{master-role.tmpl => master-role-lease.tmpl} | 6 +-
deploy/camel-catalog-1.5.0-main.yaml | 3292 --------------------
...rkus.yaml => camel-catalog-1.6.0-SNAPSHOT.yaml} | 3265 +++++++++----------
deploy/crd-camel-catalog.yaml | 68 +
...el-k.v1.3.0-snapshot.clusterserviceversion.yaml | 13 +
.../camelcatalogs.camel.apache.org.crd.yaml | 68 +
...ents.yaml => operator-role-binding-leases.yaml} | 4 +-
.../operator-role-leases.yaml | 6 +-
deploy/operator-role-olm.yaml | 13 +
deploy/resources.go | 60 +-
deploy/traits.yaml | 12 +-
.../attachments/schema/integration-schema.json | 73 +-
.../assets/attachments/schema/kamelet-schema.json | 37 +-
docs/modules/traits/pages/cron.adoc | 2 +-
docs/modules/traits/pages/master.adoc | 9 +
docs/modules/traits/pages/quarkus.adoc | 2 +
e2e/builder/global_test.go | 2 +-
e2e/common/addons_test.go | 3 +-
e2e/common/affinity_test.go | 35 +-
e2e/common/cron_test.go | 34 +-
e2e/common/global_kamelet_test.go | 2 +-
e2e/common/jolokia_test.go | 2 +-
e2e/common/platformless_run_test.go | 2 +-
e2e/common/prometheus_test.go | 6 +-
e2e/common/pull_secret_test.go | 2 +-
e2e/common/rest_test.go | 2 +-
e2e/knative/knative_platform_test.go | 2 +-
e2e/{knative => local}/files/yaml.yaml | 0
e2e/local/local_run_test.go | 81 +
e2e/support/test_support.go | 112 +-
go.mod | 1 +
go.sum | 1 +
helm/camel-k/crds/crd-camel-catalog.yaml | 68 +
helm/camel-k/templates/operator-role.yaml | 13 +
pkg/apis/camel/v1/camelcatalog_types.go | 13 +-
pkg/apis/camel/v1/camelcatalog_types_support.go | 54 +
pkg/apis/camel/v1/common_types.go | 2 -
pkg/apis/camel/v1/zz_generated.deepcopy.go | 28 +-
pkg/builder/runtime/main.go | 176 --
pkg/builder/runtime/main_test.go | 229 --
pkg/builder/runtime/runtime.go | 17 -
pkg/cmd/inspect.go | 4 +-
pkg/cmd/local_create.go | 14 +-
pkg/cmd/local_run.go | 18 +-
pkg/cmd/util_commands.go | 23 +-
pkg/cmd/util_containerization.go | 35 +-
pkg/cmd/util_dependencies.go | 37 +-
pkg/install/operator.go | 14 +
pkg/trait/builder.go | 9 +-
pkg/trait/builder_test.go | 2 +-
pkg/trait/camel.go | 7 +-
pkg/trait/camel_test.go | 2 +-
pkg/trait/container.go | 10 +-
pkg/trait/container_probes_test.go | 27 +-
pkg/trait/cron.go | 3 +-
pkg/trait/cron_test.go | 4 +-
pkg/trait/dependencies_test.go | 18 +-
pkg/trait/jolokia.go | 3 -
pkg/trait/knative.go | 7 +-
pkg/trait/prometheus.go | 26 -
pkg/trait/prometheus_test.go | 8 +-
pkg/trait/quarkus.go | 5 +
pkg/trait/trait_test.go | 2 +-
pkg/util/camel/camel_util_test.go | 19 +-
pkg/util/camel/catalog.go | 5 -
pkg/util/defaults/defaults.go | 2 +-
pkg/util/source/inspector.go | 37 +-
pkg/util/source/inspector_yaml_test.go | 74 +
pkg/util/test/catalog_test.go | 2 +-
script/Makefile | 9 +-
77 files changed, 2775 insertions(+), 5876 deletions(-)
copy .github/workflows/{build.yml => local.yml} (68%)
copy deploy/addons/master/{master-role.tmpl => master-role-configmap.tmpl}
(100%)
rename deploy/addons/master/{master-role.tmpl => master-role-lease.tmpl} (82%)
delete mode 100644 deploy/camel-catalog-1.5.0-main.yaml
rename deploy/{camel-catalog-1.5.0-quarkus.yaml =>
camel-catalog-1.6.0-SNAPSHOT.yaml} (96%)
copy deploy/{operator-role-binding-events.yaml =>
operator-role-binding-leases.yaml} (94%)
copy config/rbac/operator-role-servicemonitors.yaml =>
deploy/operator-role-leases.yaml (93%)
copy e2e/{knative => local}/files/yaml.yaml (100%)
create mode 100644 e2e/local/local_run_test.go
delete mode 100644 pkg/builder/runtime/main.go
delete mode 100644 pkg/builder/runtime/main_test.go