Skip to content

Commit

Permalink
Creates or update security group before pushing metricsforwarder app
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Jun 5, 2024
1 parent 85a0fe5 commit 01c4975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autoscaler/metricsforwarder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ METRICSFORWARDER_HOSTNAME ?= $(METRICSFORWARDER_APPNAME)
SYSTEM_DOMAIN ?= "autoscaler.app-runtime-interfaces.ci.cloudfoundry.org"

.PHONY: cf-push
cf-push: fetch-config build-cf
cf-push: fetch-config build-cf set-security-group
cf push $(METRICSFORWARDER_APPNAME) -b binary_buildpack -p . --no-start --no-route -c "./metricsforwarder -c metricsforwarder.yml"
cf create-route "$(SYSTEM_DOMAIN)" --hostname "$(METRICSFORWARDER_HOSTNAME)"
cf start "$(METRICSFORWARDER_APPNAME)"
Expand Down

0 comments on commit 01c4975

Please sign in to comment.