Skip to content

Commit

Permalink
Remove multiple checks in dockerized NMO and save time
Browse files Browse the repository at this point in the history
Dockerized instance is used multiple times causing each run to be dependent on the last one, since the sources are bind-mounted into the container. Simplifying the targets check (of container-build-community) and saving time by not running the test and bundle-community targets in the dockerized NMO
  • Loading branch information
razo7 committed Mar 25, 2024
1 parent 6770a7a commit 5e06d30
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -425,15 +425,14 @@ bundle-build-community: bundle-community ## Run bundle community changes in CSV,
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG) .

.PHONY: container-build-community
container-build-community: check ## Build containers for community
$(DOCKER_GO) "make bundle-community"
make docker-build bundle-build-community
container-build-community: docker-build bundle-build-community ## Build containers for community

.PHONY: container-push
container-push: docker-push bundle-push catalog-build catalog-push## Push containers (NOTE: catalog can't be build before bundle was pushed)

.PHONY: container-build-and-push-community
container-build-and-push-community: container-build-community container-push ## Build four images, update CSV for community, and push all the images to Quay (docker, bundle, and catalog).

.PHONY: cluster-functest
cluster-functest: ginkgo ## Run e2e tests in a real cluster
./hack/functest.sh $(GINKGO_VERSION)

0 comments on commit 5e06d30

Please sign in to comment.