diff --git a/Makefile b/Makefile index 7afcb19..08c3fc8 100644 --- a/Makefile +++ b/Makefile @@ -51,8 +51,6 @@ sbom-policy-gen: publish-service-policy: hzn exchange service addpolicy -f service.policy.json $(HZN_ORG_ID)/$(SERVICE_NAME)_$(SERVICE_VERSION)_$(ARCH) -publish-deployment-policy: - hzn exchange deployment addpolicy -f deployment.policy.json $(HZN_ORG_ID)/policy-$(SERVICE_NAME)_$(SERVICE_VERSION) test: run @echo "==================" @@ -83,6 +81,7 @@ publish-pattern: PATTERN_NAME="$(PATTERN_NAME)" \ hzn exchange pattern publish -f pattern.json + stop: @docker rm -f ${SERVICE_NAME} >/dev/null 2>&1 || : @@ -98,4 +97,4 @@ agent-stop: deploy-check: @hzn deploycheck all -t device -B deployment.policy.json --service-pol=service.policy.json --node-pol=node.policy.json -.PHONY: build dev run push publish-service publish-pattern test stop clean agent-run agent-stop \ No newline at end of file +.PHONY: build dev run push publish-service publish-pattern test stop clean agent-run agent-stop diff --git a/node.policy.json b/node.policy.json deleted file mode 100644 index 1aec2e6..0000000 --- a/node.policy.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "properties": [ - { "name": "example", "value": "web-helloworld-python" } - ], - "constraints": [ - "itsdangerous != 2.1.2" - ] -}