Skip to content

Commit

Permalink
attestation policy field
Browse files Browse the repository at this point in the history
Signed-off-by: Sammy Oina <[email protected]>
  • Loading branch information
SammyOina committed Nov 19, 2024
1 parent 9c11f4b commit b8089d9
Show file tree
Hide file tree
Showing 40 changed files with 636 additions and 474 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "/scripts/backend_info"
directory: "/scripts/attestation_policy"
schedule:
interval: "weekly"
day: "monday"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
branches:
- main
paths:
- "scripts/backend_info/**"
- "scripts/attestation_policy/**"
- ".github/workflows/rust.yaml"
pull_request:
branches:
- main
paths:
- "scripts/backend_info/**"
- "scripts/attestation_policy/**"
- ".github/workflows/rust.yaml"

env:
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts/backend_info
working-directory: ./scripts/attestation_policy

steps:
- name: Checkout Code
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BUILD_DIR = build
SERVICES = manager agent cli
BACKEND_INFO = backend_info
ATTESTATION_POLICY = attestation_policy
CGO_ENABLED ?= 1
GOARCH ?= amd64
VERSION ?= $(shell git describe --abbrev=0 --tags --always)
Expand All @@ -23,15 +23,15 @@ define compile_service
-o ${BUILD_DIR}/cocos-$(1) cmd/$(1)/main.go
endef

.PHONY: all $(SERVICES) $(BACKEND_INFO) install clean
.PHONY: all $(SERVICES) $(ATTESTATION_POLICY) install clean

all: $(SERVICES)

$(SERVICES):
$(call compile_service,$@)

$(BACKEND_INFO):
$(MAKE) -C ./scripts/backend_info
$(ATTESTATION_POLICY):
$(MAKE) -C ./scripts/attestation_policy

protoc:
protoc -I. --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative agent/agent.proto
Expand Down
Loading

0 comments on commit b8089d9

Please sign in to comment.