Skip to content

[milestone Milestone 3 ] wasmagent-ops/: CI/CD pipeline updates to auto-generate trust artifacts on rel...Β #77

Description

@telleroutlook

πŸ€– Auto-filed from milestone doc bullet.

Repo: WasmAgent/.github
Milestone: Milestone 3 β€” Ops Tooling & Generator Infrastructure
Bullet:

wasmagent-ops/: CI/CD pipeline updates to auto-generate trust artifacts on release

Problem

The wasmagent-ops repository lacks CI/CD automation to generate trust artifacts during release workflows. Currently, trust artifacts (AgentBOM, MCP Posture, Trust Passport) must be generated manually. This creates a barrier to consistent, verifiable releases and delays artifact availability.

Approach

Create a GitHub Actions workflow that automatically generates all three trust artifact types when a release is published:

  1. Create .github/workflows/release-artifacts.yml in the wasmagent-ops repository with:

  2. Workflow steps:

    name: Release Trust Artifacts
    on:
      release:
        types: [published]
    jobs:
      generate-artifacts:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
            with:
              ref: ${{ github.event.release.tag_name }}
          - name: Set up Go
            uses: actions/setup-go@v5
            with:
              go-version: '1.22'
          - name: Build generators
            run: |
              go build -o bin/generate-agentbom ./cmd/generate-agentbom
              go build -o bin/passport ./cmd/passport
              go build -o bin/generate-mcp-posture ./cmd/generate-mcp-posture
          - name: Generate AgentBOM
            run: |
              ./bin/generate-agentbom --output agentbom.json
          - name: Generate Trust Passport
            run: |
              ./bin/passport export --format json --include-aep --output passport.json
          - name: Generate MCP Posture
            run: |
              ./bin/generate-mcp-posture --output mcp-posture.json
          - name: Sign artifacts
            run: |
              for artifact in agentbom.json passport.json mcp-posture.json; do
                gpg --detach-sign --armor $artifact
              done
          - name: Upload release assets
            uses: softprops/action-gh-release@v2
            with:
              files: |
                agentbom.json
                agentbom.json.asc
                passport.json
                passport.json.asc
                mcp-posture.json
                mcp-posture.json.asc
  3. Optional enhancement: Add a workflow dispatch trigger for manual artifact generation on non-release commits.

Files

Acceptance criteria

  • File wasmagent-ops/.github/workflows/release-artifacts.yml exists and contains a workflow triggered on release: published
  • Workflow builds all three generator binaries with go build ./...
  • Workflow generates and uploads AgentBOM, Trust Passport, and MCP Posture artifacts to releases
  • Artifacts are GPG-signed (.asc files)
  • Command go build ./... passes in the wasmagent-ops repository
  • Workflow passes act -l verification (list jobs without running)

Notes


Filed automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions