-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#849] Move Makefiles to scripts directory
Moved the Makefiles from various directories to the scripts directory for better organization and consistency. Renamed the Makefiles accordingly and updated the references within other files to use the new paths in the scripts directory. This restructuring helps in streamlining the build processes and eases maintenance tasks related to the make files.
- Loading branch information
Showing
7 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
govtool/status-service/Makefile → govtool/status-service/status-service.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
govtool/metadata-validation/Makefile → scripts/govtool/metadata-validation.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
common_mk := common.mk | ||
ifeq ($(origin $(common_mk)), undefined) | ||
$(eval $(common_mk) := included) | ||
include $(common_mk) | ||
endif | ||
|
||
.DEFAULT_GOAL := push-status-service | ||
|
||
# image tags | ||
status_service_image_tag := $(shell git log -n 1 --format="%H" -- $(root_dir)/govtool/status-service) | ||
|
||
.PHONY: build-status-service | ||
build-status-service: docker-login | ||
$(call check_image_on_ecr,status-service,$(status_service_image_tag)) || \ | ||
$(docker) build --tag "$(repo_url)/status-service:$(status_service_image_tag)" \ | ||
$(root_dir)/govtool/status-service | ||
|
||
.PHONY: push-status-service | ||
push-status-service: build-status-service | ||
$(call check_image_on_ecr,status-service,$(status_service_image_tag)) || \ | ||
$(docker) push $(repo_url)/status-service:$(status_service_image_tag) |