mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Update healthcheck page and remove all travis references from the repository
This commit is contained in:
2
Makefile
2
Makefile
@@ -42,7 +42,7 @@ dependencies: ## Install build dependencies
|
||||
|
||||
.PHONY: generate-version-file
|
||||
generate-version-file: ## Generates the app version file
|
||||
@echo -e "__travis_commit__ = \"${GIT_COMMIT}\"\n__time__ = \"${DATE}\"\n__travis_job_number__ = \"${BUILD_NUMBER}\"\n__travis_job_url__ = \"${BUILD_URL}\"" > ${APP_VERSION_FILE}
|
||||
@echo -e "__git_commit__ = \"${GIT_COMMIT}\"\n__time__ = \"${DATE}\"" > ${APP_VERSION_FILE}
|
||||
|
||||
.PHONY: build
|
||||
build: dependencies generate-version-file ## Build project
|
||||
|
||||
@@ -18,6 +18,5 @@ def show_status():
|
||||
return jsonify(
|
||||
status="ok",
|
||||
api=api_status,
|
||||
travis_commit=version.__travis_commit__,
|
||||
travis_build_number=version.__travis_job_number__,
|
||||
git_commit=version.__git_commit__,
|
||||
build_time=version.__time__), 200
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
__travis_commit__ = ""
|
||||
__git_commit__ = ""
|
||||
__time__ = ""
|
||||
__travis_job_number__ = ""
|
||||
__travis_job_url__ = ""
|
||||
|
||||
Reference in New Issue
Block a user