Skip to content

Commit

Permalink
undo 'new-app --name change'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed May 4, 2023
1 parent b2192a2 commit cbb00bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ undeploy_sample_app: undeploy_sample_app_quarkus

.PHONY: sample_app_quarkus
sample_app_quarkus: undeploy_sample_app_quarkus
$(call new-sample-app,quay.io/andrewazores/quarkus-test:0.0.10,quarkus-test)
$(call new-sample-app,quay.io/andrewazores/quarkus-test:0.0.10)
$(CLUSTER_CLIENT) patch svc/quarkus-test -p '{"spec":{"$setElementOrder/ports":[{"port":9097},{"port":8080}],"ports":[{"name":"jfr-jmx","port":9097}]}}'

.PHONY: undeploy_sample_app_quarkus
Expand All @@ -401,5 +401,5 @@ undeploy_sample_app_agent:

define new-sample-app
@if [ ! "$(CLUSTER_CLIENT)" = "oc" ]; then echo "CLUSTER_CLIENT must be 'oc' for sample app deployments" && exit 1; fi
$(CLUSTER_CLIENT) new-app $(1) --name $(2)
$(CLUSTER_CLIENT) new-app $(1)
endef

0 comments on commit cbb00bb

Please sign in to comment.