Skip to content

Commit 151206a

Browse files
committed
Update Makefile to include target for remote-clean-all
1 parent 256a520 commit 151206a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

integration/benchnet2/Makefile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ else ifeq ($(strip $(NAMESPACE)),)
2525
$(error NAMESPACE cannot be empty)
2626
endif
2727

28-
init:
29-
ifeq ($(strip $(PROJECT_NAME)),)
30-
$(eval PROJECT_NAME=$(COMMIT_SHA))
31-
endif
32-
3328
# assumes there is a checked out version of flow-go in a "flow-go" sub-folder at this level so that the bootstrap executable
3429
# for the checked out version will be run in the sub folder but the bootstrap folder will be created here (outside of the checked out flow-go in the sub folder)
3530
gen-bootstrap: clone-flow
@@ -51,13 +46,16 @@ gen-helm-l2:
5146
# runs bootstrap to generate all node info
5247
# runs level 1 automation to read bootstrap data and generate data input for level 2
5348
# runs level 2 automation to generate values.yml based on template and data values from previous step
54-
gen-helm-values: validate init gen-bootstrap gen-helm-l1 gen-helm-l2
49+
gen-helm-values: validate gen-bootstrap gen-helm-l1 gen-helm-l2
5550

5651
# main target for deployment
57-
deploy-all: validate init gen-helm-values k8s-secrets-create helm-deploy
52+
deploy-all: validate gen-helm-values k8s-secrets-create helm-deploy
5853

5954
# main target for cleaning up a deployment
60-
clean-all: validate init k8s-delete k8s-delete-secrets clean-bootstrap clean-gen-helm clean-flow
55+
clean-all: validate k8s-delete k8s-delete-secrets clean-bootstrap clean-gen-helm clean-flow
56+
57+
# target to be used in workflow as local clean up will not be needed
58+
remote-clean-all: validate k8s-delete-secrets k8s-delete
6159

6260
clean-bootstrap:
6361
rm -rf ./bootstrap

0 commit comments

Comments
 (0)