mirror of
https://github.com/ultravioletrs/cocos.git
synced 2026-08-07 07:14:50 +00:00
NOISSUE - Bump SEV version for attestation policy (#503)
CI / lint (push) Has been cancelled
Rust CI Pipeline / rust-check (push) Has been cancelled
CI / upload-coverage (push) Has been cancelled
CI / test (agent) (push) Has been cancelled
CI / test (cli) (push) Has been cancelled
CI / test (cmd) (push) Has been cancelled
CI / test (internal) (push) Has been cancelled
CI / test (manager, true) (push) Has been cancelled
CI / test (pkg) (push) Has been cancelled
CI / lint (push) Has been cancelled
Rust CI Pipeline / rust-check (push) Has been cancelled
CI / upload-coverage (push) Has been cancelled
CI / test (agent) (push) Has been cancelled
CI / test (cli) (push) Has been cancelled
CI / test (cmd) (push) Has been cancelled
CI / test (internal) (push) Has been cancelled
CI / test (manager, true) (push) Has been cancelled
CI / test (pkg) (push) Has been cancelled
* Update version in Cargo.toml and format minimum version in main.rs Signed-off-by: Sammy Oina <sammyoina@gmail.com> * Enhance Makefile to include OUTPUT_DIR for attestation_policy and update install/clean targets Signed-off-by: Sammy Oina <sammyoina@gmail.com> --------- Signed-off-by: Sammy Oina <sammyoina@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3cec8e2076
commit
654e22bba5
@@ -26,14 +26,14 @@ endef
|
||||
|
||||
.PHONY: all $(SERVICES) $(ATTESTATION_POLICY) install clean
|
||||
|
||||
all: $(SERVICES)
|
||||
all: $(SERVICES) $(ATTESTATION_POLICY)
|
||||
|
||||
$(SERVICES):
|
||||
$(call compile_service,$@)
|
||||
@if [ "$@" = "cli" ] || [ "$@" = "manager" ]; then $(MAKE) build-igvm; fi
|
||||
|
||||
$(ATTESTATION_POLICY):
|
||||
$(MAKE) -C ./scripts/attestation_policy
|
||||
$(MAKE) -C ./scripts/attestation_policy OUTPUT_DIR=../../$(BUILD_DIR)
|
||||
|
||||
protoc:
|
||||
protoc -I. --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative agent/agent.proto
|
||||
@@ -44,15 +44,17 @@ protoc:
|
||||
mocks:
|
||||
mockery --config ./mockery.yml
|
||||
|
||||
install: $(SERVICES)
|
||||
install: $(SERVICES) $(ATTESTATION_POLICY)
|
||||
install -d $(INSTALL_DIR)
|
||||
install $(BUILD_DIR)/cocos-cli $(INSTALL_DIR)/cocos-cli
|
||||
install $(BUILD_DIR)/cocos-manager $(INSTALL_DIR)/cocos-manager
|
||||
install $(BUILD_DIR)/attestation_policy $(INSTALL_DIR)/attestation_policy
|
||||
install -d $(CONFIG_DIR)
|
||||
install cocos-manager.env $(CONFIG_DIR)/cocos-manager.env
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILD_DIR)
|
||||
$(MAKE) -C ./scripts/attestation_policy OUTPUT_DIR=../../$(BUILD_DIR) clean
|
||||
|
||||
run: install_service
|
||||
sudo systemctl start $(SERVICE_NAME).service
|
||||
|
||||
Reference in New Issue
Block a user