Skip to content

Add fork governance: CODEOWNERS, CI, trailer lint, manifest and sync workflows - #30

Merged
danielblando merged 1 commit into
mainfrom
fork-process
Sep 3, 2026
Merged

danielblando merged 1 commit into
mainfrom
fork-process

Conversation

@danielblando

Copy link
Copy Markdown

Rolls the AMP Cortex fork process onto this fork, adapted from aws-observability/cortex-dev:

  • CODEOWNERS: @amazon-contributing/amazon-managed-service-for-prometheus (org-local team with repo access; the aws-observability team used on the other forks does not resolve in this org).
  • aws-fork-ci: standalone go build ./... + go test -short -timeout 45m ./... (this fork builds without sibling replaces; committed vfsdata assets mean no frontend build is needed). Verified locally against main.
  • trailer-lint: enforces AWS-Change / AWS-Component / Upstream-Status trailers on PR commits; upstream sync branches are exempt.
  • aws-changes: regenerates AWS-CHANGES.md on every push to main and publishes it to the orphan aws-changes branch. Upstream: prometheus/alertmanager @ main.
  • upstream-sync: dispatch-only (no cron) — this fork is synced at release time to the exact commit the release demands.
  • Scripts are byte-for-byte copies from cortex-dev.

Workflows pass actionlint and YAML validation; scripts pass bash -n / py_compile.

Comment on lines +9 to +20
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Build
run: go build ./...
- name: Unit tests
run: go test -short -timeout 45m ./...
Comment on lines +7 to +16
if: ${{ !startsWith(github.head_ref, 'sync/upstream-') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check commit trailers
env:
BASE_REF: ${{ github.base_ref }}
run: bash .github/scripts/check-trailers.sh "origin/${BASE_REF}..HEAD" No newline at end of file
…workflows

Adapted from aws-observability/cortex-dev for this fork: alertmanager
component trailers, https://github.com/prometheus/alertmanager on main, dispatch-only
upstream sync, manifest published to the aws-changes branch.

AWS-Change: build
AWS-Component: alertmanager
Upstream-Status: none
@danielblando
danielblando merged commit 4b9ffc3 into main Sep 3, 2026
9 of 13 checks passed
@danielblando
danielblando deleted the fork-process branch September 3, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants