You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/03/13 08:24:12 UTC
[camel-k] branch main updated (f09d9b5c8 -> 81e0d15bf)
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from f09d9b5c8 fix typos on traits.adoc and improve the overall language
add b66ef26e0 feat(trait): builder enable pod strategy
add e9497c7bc feat(trait): Quarkus Native to spin off a Builder Pod
add e22fbf1d0 feat(build): use mvnw
add fdad438d7 feat(build): enable maven wrapper for build
add 17265a6e0 feat (build): remove maven dependency
add a1577609a feat(build): create a builder image on the fly
add 40b749ed1 feat(controller): CamelCatalog reconciliation
add 4c435fe77 feat(controller): CamelCatalog reconciliation
add 8e0fae26a chore(catalog): ping the registry to verify
add e321d1a39 fix: wait for catalog
add 3dddf4b84 feat(trait): enable any runtime version
add d60592c82 chore: go mod tidy
add b2879fa6f chore: rename test func
add 366ebffda feat(install): use a PVC to share artifacts among concurrent builds
add b1c616174 chore: make lint happy
add 1ace1ee01 feat(operator): enable storage configuration
add 541c49726 chore(ci): prepare Kind for test
add ec0448071 chore(e2e): adjust values for testing
add 22d5c9828 chore: remove need for root
add bfa0e94e2 fix: set builder security context
add 86fedec0b chore: builder routine strategy test
add b2c745868 chore: reuse kit test
add 2a04ca127 fix(e2e): metrics cannot access build log
add 4c6f2a5d4 chore(e2e): catalog reconciliation test
add 6335618fe feat(build): builder Pods run in operator namespace
add 3e4efded7 feat(cmd): add --no-storage installation option
add 8490d19f8 fix(builder): global catalog reconciliation
add a2e03d798 fix(e2e): olm test reorganization
add 872dd0810 fix(builder): Kaniko requires root privileges
add 8dc3b8b60 chore: minor naming adjustments
add 0eeeb200c chore: exit on olm test fail
add 477ebadf7 fix(install): add storage for kustomize
add 09ed819c4 fix(olm): support storage
add b831a0d22 chore(olm): install PVC before operator
add 5b00e5f75 chore: olm default ephemeral storage
add 1b8aa4dd7 fix(install): kustomize patches pvc
add d4be1fdeb fix(e2e): account for reconciliation requeues
add 5d018c8f2 fix: operator pod to own global builds
add 2cfadc577 fix(e2e): tweaking tests
add 5b9e1a748 fix(e2e): catalog builder tweaking
add 81e0d15bf chore: include info in test dump
No new revisions were added by this update.
Summary of changes:
.../{e2e-upgrade => e2e-install-olm}/action.yml | 6 +-
.../{e2e-upgrade => e2e-install-olm}/exec-tests.sh | 2 +-
.github/workflows/install.yml | 10 +-
.github/workflows/native.yml | 4 +-
.../duck/client/internalclientset/fake/register.go | 14 +-
.../client/internalclientset/scheme/register.go | 14 +-
build/Dockerfile | 45 +++--
.../maven-wrapper.jar => build/mvnw/mvnw.tar | Bin 59925 -> 92160 bytes
cmd/util/json-schema-gen/main.go | 3 +-
cmd/util/vfs-gen/main.go | 3 +-
config/crd/bases/camel.apache.org_builds.yaml | 7 +
.../crd/bases/camel.apache.org_camelcatalogs.yaml | 50 +++++
.../bases/camel.apache.org_integrationkits.yaml | 4 +
.../camel.apache.org_integrationplatforms.yaml | 8 +
.../crd/bases/camel.apache.org_integrations.yaml | 4 +
.../bases/camel.apache.org_kameletbindings.yaml | 4 +
config/manager/kustomization.yaml | 8 +
config/manager/operator-deployment.yaml | 1 +
...ator-service-account.yaml => operator-pvc.yaml} | 11 +-
...amelets.yaml => patch-install-default-pvc.yaml} | 12 +-
.../bases/camel-k.clusterserviceversion.yaml | 2 +-
config/manifests/kustomization.yaml | 1 +
.../patch-delete-pvc.yaml} | 3 +-
config/rbac/operator-role.yaml | 7 +
docs/modules/ROOT/pages/contributing/e2e.adoc | 2 +-
docs/modules/ROOT/partials/apis/camel-k-crds.adoc | 137 ++++++++++++-
docs/modules/traits/pages/builder.adoc | 6 +-
e2e/common/cli/offline_commands_test.go | 10 +-
.../{error_handler_test.go => builder_test.go} | 24 +--
e2e/common/traits/jvm_test.go | 4 +-
.../{dump_test.go => builder_test.go} | 33 ++--
.../catalog_builder_test.go | 147 ++++++++++++++
.../incremental_build_test.go | 48 +++--
.../operator_id_filtering_test.go | 28 +--
.../operator_metrics_test.go | 34 +++-
e2e/commonwithcustominstall/tekton_test.go | 2 +-
e2e/install/cli/global_test.go | 21 ++
e2e/install/cli/install_test.go | 24 ++-
e2e/install/{upgrade => kustomize}/files/yaml.yaml | 0
e2e/install/kustomize/operator_test.go | 7 +-
e2e/install/kustomize/setup_test.go | 4 +-
e2e/install/kustomize/uninstall_test.go | 5 +-
e2e/install/olm/olm_install_test.go | 94 ++++++++-
e2e/install/{upgrade => olm}/olm_upgrade_test.go | 2 +-
.../cli_upgrade_test.go => olm/upgrade_test.go} | 5 +-
e2e/native/native_binding_test.go | 19 --
e2e/native/native_test.go | 3 -
e2e/native/native_with_sources_test.go | 3 -
e2e/support/test_support.go | 147 +++++++++++++-
e2e/support/util/dump.go | 66 +++++--
e2e/yaks/openshift/monitoring/dependencyInstall.sh | 4 +-
go.mod | 3 +-
go.sum | 4 +
helm/camel-k/crds/crd-build.yaml | 7 +
helm/camel-k/crds/crd-camel-catalog.yaml | 50 +++++
helm/camel-k/crds/crd-integration-kit.yaml | 4 +
helm/camel-k/crds/crd-integration-platform.yaml | 8 +
helm/camel-k/crds/crd-integration.yaml | 4 +
helm/camel-k/crds/crd-kamelet-binding.yaml | 4 +
install/Makefile | 9 +
install/operator/kustomization.yaml | 5 +
pkg/apis/camel/v1/build_types.go | 4 +
pkg/apis/camel/v1/build_types_support.go | 5 +
pkg/apis/camel/v1/camelcatalog_types.go | 46 +++++
pkg/apis/camel/v1/camelcatalog_types_support.go | 120 ++++++++++++
pkg/apis/camel/v1/integrationkit_types.go | 4 +
pkg/apis/camel/v1/trait/builder.go | 4 +-
pkg/apis/camel/v1/zz_generated.deepcopy.go | 26 ++-
pkg/builder/image.go | 5 +-
pkg/builder/spectrum.go | 9 +-
.../camel/applyconfiguration/camel/v1/buildspec.go | 24 ++-
.../applyconfiguration/camel/v1/camelcatalog.go | 9 +-
...{buildcondition.go => camelcatalogcondition.go} | 34 ++--
.../kameletstatus.go => v1/camelcatalogstatus.go} | 43 ++---
pkg/client/camel/applyconfiguration/utils.go | 4 +
pkg/client/client.go | 3 +-
pkg/cmd/builder/builder.go | 3 +-
pkg/cmd/completion_bash.go | 36 ++--
pkg/cmd/dump.go | 27 ++-
pkg/cmd/install.go | 36 +++-
pkg/cmd/install_test.go | 39 ++++
pkg/cmd/local/container.go | 5 +-
pkg/cmd/local/local.go | 5 +-
pkg/cmd/local/local_test.go | 9 +-
pkg/cmd/local/workdir.go | 3 +-
pkg/cmd/modeline_test.go | 49 +++--
pkg/cmd/run.go | 5 +-
pkg/cmd/run_test.go | 29 ++-
pkg/cmd/source/content_test.go | 17 +-
pkg/cmd/util_config.go | 5 +-
pkg/controller/{add_kamelet.go => add_catalog.go} | 4 +-
pkg/controller/build/build_pod.go | 70 +++++--
pkg/controller/build/monitor_pod.go | 16 +-
pkg/controller/build/monitor_routine.go | 3 +-
pkg/controller/{integration => catalog}/action.go | 8 +-
.../catalog_controller.go} | 67 +++----
pkg/controller/catalog/initialize.go | 211 +++++++++++++++++++++
pkg/controller/{kamelet => catalog}/log.go | 4 +-
pkg/controller/{kamelet => catalog}/monitor.go | 15 +-
pkg/controller/integrationkit/build.go | 38 +++-
pkg/controller/integrationkit/initialize.go | 46 ++++-
.../integrationkit/integrationkit_controller.go | 17 +-
pkg/controller/integrationplatform/create.go | 9 +-
pkg/event/manager.go | 29 +++
pkg/install/common.go | 7 -
pkg/install/operator.go | 89 +++++++++
pkg/install/optional.go | 6 +
pkg/install/platform.go | 2 +-
pkg/kamelet/repository/github_repository.go | 4 +-
pkg/platform/defaults.go | 13 +-
pkg/platform/operator.go | 23 +++
pkg/resources/resources.go | 24 +--
pkg/resources/resources_support.go | 4 +-
pkg/trait/builder.go | 12 ++
pkg/trait/camel.go | 2 +-
pkg/trait/camel_test.go | 5 +
pkg/trait/openapi.go | 5 +-
pkg/trait/quarkus.go | 16 ++
pkg/trait/trait_types.go | 2 +
pkg/trait/util.go | 2 +-
pkg/util/camel/camel_runtime_catalog.go | 8 +-
pkg/util/camel/camel_util.go | 4 +-
pkg/util/camel/catalog.go | 2 +-
pkg/util/defaults/defaults.go | 7 +-
pkg/util/digest/digest_test.go | 5 +-
pkg/util/dsl/flow.go | 3 +-
pkg/util/gzip/compress.go | 3 +-
pkg/util/kubernetes/client.go | 11 ++
pkg/util/kubernetes/factory.go | 26 +++
pkg/util/kubernetes/log/util.go | 3 +-
pkg/util/kubernetes/lookup.go | 42 ++++
pkg/util/log/log.go | 10 +
pkg/util/maven/maven_command.go | 18 +-
pkg/util/maven/maven_settings_test.go | 4 +-
pkg/util/sync/file_test.go | 3 +-
resources/builder/builder-role-binding.yaml | 8 +-
resources/traits.yaml | 7 +-
script/Makefile | 28 +--
138 files changed, 2228 insertions(+), 525 deletions(-)
rename .github/actions/{e2e-upgrade => e2e-install-olm}/action.yml (97%)
rename .github/actions/{e2e-upgrade => e2e-install-olm}/exec-tests.sh (99%)
copy java/.mvn/wrapper/maven-wrapper.jar => build/mvnw/mvnw.tar (64%)
copy config/manager/{operator-service-account.yaml => operator-pvc.yaml} (85%)
copy config/manager/{patch-install-default-kamelets.yaml => patch-install-default-pvc.yaml} (79%)
copy config/{manager/patch-image-pull-policy-always.yaml => manifests/patch-delete-pvc.yaml} (95%)
copy e2e/common/traits/{error_handler_test.go => builder_test.go} (65%)
copy e2e/commonwithcustominstall/{dump_test.go => builder_test.go} (57%)
create mode 100644 e2e/commonwithcustominstall/catalog_builder_test.go
rename e2e/install/{upgrade => kustomize}/files/yaml.yaml (100%)
rename e2e/install/{upgrade => olm}/olm_upgrade_test.go (99%)
rename e2e/install/{upgrade/cli_upgrade_test.go => olm/upgrade_test.go} (95%)
copy pkg/client/camel/applyconfiguration/camel/v1/{buildcondition.go => camelcatalogcondition.go} (63%)
copy pkg/client/camel/applyconfiguration/camel/{v1alpha1/kameletstatus.go => v1/camelcatalogstatus.go} (54%)
copy pkg/controller/{add_kamelet.go => add_catalog.go} (88%)
copy pkg/controller/{integration => catalog}/action.go (86%)
copy pkg/controller/{kamelet/kamelet_controller.go => catalog/catalog_controller.go} (74%)
create mode 100644 pkg/controller/catalog/initialize.go
copy pkg/controller/{kamelet => catalog}/log.go (91%)
copy pkg/controller/{kamelet => catalog}/monitor.go (65%)