mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #3423 from alphagov/update-healthcheck-page
Update _status page - remove references to Travis
This commit is contained in:
2
Makefile
2
Makefile
@@ -42,7 +42,7 @@ dependencies: ## Install build dependencies
|
|||||||
|
|
||||||
.PHONY: generate-version-file
|
.PHONY: generate-version-file
|
||||||
generate-version-file: ## Generates the app 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
|
.PHONY: build
|
||||||
build: dependencies generate-version-file ## Build project
|
build: dependencies generate-version-file ## Build project
|
||||||
|
|||||||
@@ -18,6 +18,5 @@ def show_status():
|
|||||||
return jsonify(
|
return jsonify(
|
||||||
status="ok",
|
status="ok",
|
||||||
api=api_status,
|
api=api_status,
|
||||||
travis_commit=version.__travis_commit__,
|
git_commit=version.__git_commit__,
|
||||||
travis_build_number=version.__travis_job_number__,
|
|
||||||
build_time=version.__time__), 200
|
build_time=version.__time__), 200
|
||||||
|
|||||||
@@ -1,4 +1,2 @@
|
|||||||
__travis_commit__ = ""
|
__git_commit__ = ""
|
||||||
__time__ = ""
|
__time__ = ""
|
||||||
__travis_job_number__ = ""
|
|
||||||
__travis_job_url__ = ""
|
|
||||||
|
|||||||
Reference in New Issue
Block a user