mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Remove Docker commands for CF, clean up artifact creation
This commit is contained in:
10
Makefile
10
Makefile
@@ -25,6 +25,8 @@ CODEDEPLOY_APP_NAME ?= notify-admin
|
||||
CF_API ?= api.cloud.service.gov.uk
|
||||
CF_ORG ?= govuk-notify
|
||||
CF_SPACE ?= ${DEPLOY_ENV}
|
||||
CF_HOME ?= ${HOME}
|
||||
$(eval export CF_HOME)
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@@ -226,11 +228,3 @@ cf-rollback: ## Rollbacks the app to the previous release
|
||||
.PHONY: cf-push
|
||||
cf-push:
|
||||
cf push -f manifest-${CF_SPACE}.yml
|
||||
|
||||
.PHONY: cf-deploy-with-docker
|
||||
cf-deploy-with-docker: prepare-docker-build-image ## Deploys the app to Cloud Foundry from a new Docker container
|
||||
$(call run_docker_container,cf-deploy,make cf-login cf-deploy)
|
||||
|
||||
.PHONY: cf-rollback-with-docker
|
||||
cf-rollback-with-docker: prepare-docker-build-image ## Rollbacks the app on Cloud Foundry to the previous version
|
||||
$(call run_docker_container,cf-rollback,make cf-login cf-rollback)
|
||||
|
||||
Reference in New Issue
Block a user