Skip to content

ci: replicate source snapshots - #227

Merged
leandrodamascena merged 5 commits into
masterfrom
feat/repository-replication
Sep 2, 2026
Merged

ci: replicate source snapshots#227
leandrodamascena merged 5 commits into
masterfrom
feat/repository-replication

Conversation

@leandrodamascena

@leandrodamascena leandrodamascena commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Issue #, if available:

N/A

Description of changes:

  • add an hourly and manually dispatched source replication workflow
  • archive the exact triggering master commit using git archive
  • verify that the tracked-only snapshot matches its SHA-256 checksum
  • upload the snapshot with checksum metadata and require an S3 version ID
  • rely on the existing S3 object-created event to trigger replication
  • use pinned action SHAs, minimal permissions, serialized execution, and a dedicated replication environment

Before merge, configure the replication environment for the master branch with these secrets:

  • REPLICATION_ROLE_ARN
  • REPLICATION_BUCKET_NAME

Validation performed:

  • parsed the workflow as YAML
  • syntax-checked every shell block with bash -n
  • verified the source archive checksum and absence of .git entries
  • scanned the complete diff for credentials and internal identifiers

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@leandrodamascena
leandrodamascena marked this pull request as ready for review September 2, 2026 16:46
@leandrodamascena

Copy link
Copy Markdown
Collaborator Author

Hey @maxday can you review this PR please?

Comment thread .github/workflows/replicate-source.yml Outdated
@leandrodamascena
leandrodamascena merged commit 1c9c412 into master Sep 2, 2026
69 checks passed
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