Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .beads/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
# - linear.api_key → use LINEAR_API_KEY env var instead
# - github.token → use GITHUB_TOKEN env var instead

sync.remote: "git+https://github.com/thinksyncs/agents-secure-binding.git"
sync.remote: "git+https://github.com/ToppyMicroServices/agents-secure-binding.git"
53 changes: 53 additions & 0 deletions .github/workflows/asb-core.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: ASB Core Boundary

on:
workflow_dispatch:
push:
branches: [main]
paths:
- ".github/workflows/asb-core.yaml"
- "go.mod"
- "go.sum"
- "Makefile"
- "scripts/check-asb-core-boundary.sh"
- "scripts/check-attestation-v2-boundary.sh"
- "pkg/atls/**"
- "pkg/agtp/**"
- "pkg/clients/**"
- "pkg/tls/**"
pull_request:
branches: [main]
paths:
- ".github/workflows/asb-core.yaml"
- "go.mod"
- "go.sum"
- "Makefile"
- "scripts/check-asb-core-boundary.sh"
- "scripts/check-attestation-v2-boundary.sh"
- "pkg/atls/**"
- "pkg/agtp/**"
- "pkg/clients/**"
- "pkg/tls/**"

permissions:
contents: read

jobs:
boundary:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
env:
GOWORK: "off"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.26.6
cache-dependency-path: go.sum
- run: go mod verify
- run: make check-attestation-v2-boundary
- run: make test-asb-core
122 changes: 122 additions & 0 deletions .github/workflows/attestation-modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
name: Attestation Modules

on:
workflow_dispatch:
push:
branches: [main]
paths:
- ".github/workflows/attestation-modules.yaml"
- ".github/workflows/attestation-release-gate.yaml"
- "Makefile"
- "go.mod"
- "go.sum"
- "go.work"
- "go.work.sum"
- "integrations/cocos/**"
- "modules/attestation/**"
- "pkg/atls/**"
- "pkg/attestation/**"
- "scripts/check-attestation-*.sh"
- "scripts/check-cocos-release.sh"
pull_request:
branches: [main]
paths:
- ".github/workflows/attestation-modules.yaml"
- ".github/workflows/attestation-release-gate.yaml"
- "Makefile"
- "go.mod"
- "go.sum"
- "go.work"
- "go.work.sum"
- "integrations/cocos/**"
- "modules/attestation/**"
- "pkg/atls/**"
- "pkg/attestation/**"
- "scripts/check-attestation-*.sh"
- "scripts/check-cocos-release.sh"

permissions:
contents: read

jobs:
platform-module:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
module: [snp, tdx]
env:
GOWORK: "off"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.26.6
cache-dependency-path: modules/attestation/${{ matrix.module }}/go.sum
- working-directory: modules/attestation/${{ matrix.module }}
run: |
if go mod edit -json | grep -Eq '"Replace"[[:space:]]*:[[:space:]]*\['; then
echo "release blocked: nested module go.mod contains a replacement" >&2
exit 1
fi
go mod tidy -diff
go mod verify
- working-directory: modules/attestation/${{ matrix.module }}
run: go test -race -count=1 ./...
- working-directory: modules/attestation/${{ matrix.module }}
run: go vet ./...

cocos-integration:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
env:
GOWORK: "off"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.26.6
cache-dependency-path: integrations/cocos/go.sum
- working-directory: integrations/cocos
run: |
go mod tidy -diff
go mod verify
- working-directory: integrations/cocos
run: go test -race -count=1 ./...
- working-directory: integrations/cocos
run: go vet ./...

workspace:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.26.6
cache-dependency-path: |
go.sum
go.work.sum
integrations/cocos/go.sum
modules/attestation/snp/go.sum
modules/attestation/tdx/go.sum
- name: Parse and test the development workspace
run: |
test "$(go env GOWORK)" = "$GITHUB_WORKSPACE/go.work"
go work edit -json >/dev/null
go list -m all >/dev/null
go test \
./pkg/attestation/... \
./modules/attestation/snp/... \
./modules/attestation/tdx/... \
./integrations/cocos/...
Loading
Loading