Skip to content

Commit

Permalink
drop registration-service.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Devtools committed Sep 10, 2024
1 parent 22b13b9 commit c818f45
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 296 deletions.
8 changes: 0 additions & 8 deletions deploy/README.md

This file was deleted.

274 changes: 0 additions & 274 deletions deploy/registration-service.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions make/generate.mk

This file was deleted.

12 changes: 1 addition & 11 deletions make/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build-dev:

# builds the production binary with bundled assets
## builds production binary
build-prod: check-template-changes
build-prod:
$(Q)CGO_ENABLED=0 GOARCH=${goarch} GOOS=linux \
go build ${V_FLAG} -ldflags="${LDFLAGS} -s -w" -trimpath \
-o $(OUT_DIR)/bin/registration-service \
Expand All @@ -33,16 +33,6 @@ build-prod: check-template-changes
vendor:
$(Q)go mod vendor

.PHONY: check-template-changes
check-template-changes:
ifneq ($(shell git status -s | grep deploy/registration-service.yaml),)
@echo "#########################################################################"
@echo "## WARNING: The file deploy/registration-service.yaml has been changed ##"
@echo "## Don't forget to reflect the change in host-operator repo ##"
@echo "## Run 'make copy-reg-service-template' and send PR ##"
@echo "#########################################################################"
endif

.PHONY: verify-dependencies
## Runs commands to verify after the updated dependecies of toolchain-common/API(go mod replace), if the repo needs any changes to be made
verify-dependencies: tidy vet build test lint-go-code
Expand Down

0 comments on commit c818f45

Please sign in to comment.