| build: build-runtime build-operator build-kamel build-publisher build-compile-integration-tests test |
| |
| build-go: build-embed-resources build-operator build-kamel build-publisher |
| |
| build-operator: build-embed-resources |
| go build -o camel-k ./cmd/manager/*.go |
| |
| build-kamel: |
| go build -o kamel ./cmd/kamel/*.go |
| |
| build-publisher: |
| go build -o publisher ./cmd/util/publisher/*.go |
| |
| build-embed-resources: |
| ./script/build_catalog.sh |
| ./script/build_catalog.sh 2.23.0 |
| ./script/embed_resources.sh deploy |
| |
| build-compile-integration-tests: |
| go test -c -tags=integration ./test/*.go |
| |
| build-runtime: |
| ./mvnw clean install -B -f ./runtime/pom.xml |
| |
| push-runtime-snapshot: |
| ./mvnw deploy -B -f ./runtime/pom.xml |
| |
| release: clean prepare-release build images-build images-push cross-compile package-examples git-tag publish-base-images |
| |
| prepare-release: |
| ./script/prepare_release.sh |
| |
| new-version: increment-snapshot build images-build images-push |
| |
| increment-snapshot: |
| ./script/next_snapshot.sh |
| |
| cross-compile: |
| ./script/cross_compile.sh |
| |
| package-examples: |
| ./script/package_examples.sh |
| |
| git-tag: |
| ./script/git_tag.sh |
| |
| publish-base-images: |
| ./script/publish_base_images.sh |
| |
| dep: |
| dep ensure -v |
| |
| generate: |
| operator-sdk generate k8s |
| |
| clean: |
| ./mvnw clean -f ./runtime/pom.xml |
| go clean |
| rm -f camel-k |
| rm -f kamel |
| rm -rf build/_maven_output |
| rm -rf build/_output |
| |
| images: images-build |
| |
| images-build: |
| ./script/images_build.sh $(imgDestination) |
| |
| images-push: |
| ./script/images_push.sh $(imgDestination) |
| |
| install: install-minishift |
| install-minishift: |
| ./script/install_minishift.sh |
| |
| install-minikube: |
| ./script/install_minikube.sh |
| |
| test: check |
| check: |
| go test ./... |
| |
| test-integration: check-integration |
| check-integration: |
| go test ./... -tags=integration |
| |
| lint: |
| golangci-lint run |
| |
| .PHONY: build build-operator build-kamel build-embed-resources build-runtime push-runtime-snapshot dep codegen images images-build images-push test check test-integration check-integration clean release prepare-release cross-compile package-examples new-version git-tag publish-base-images increment-snapshot install-minishift |