Skip to content

ci: automate the GitHub release draft and the S3 upload - #152

Merged
iamluc merged 7 commits into
mainfrom
luc.vieillescazes/release-automation
Nov 24, 2026
Merged

iamluc merged 7 commits into
mainfrom
luc.vieillescazes/release-automation

Conversation

@iamluc

@iamluc iamluc commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Automate most of the release. Pushing the tag, smoke tests and publishing stay manual.

  • All release files now come from the GitLab tag pipeline. The GitHub release.yml build (RUM off, devcontainer:main) is removed.
  • New build:amd64:no-rum (+ check-module-load:amd64:no-rum): keeps the mod_datadog_artifact.zip asset that users and system-tests download.
  • upload-release (version tags): uploads the RUM builds to s3://rum-auto-instrumentation/httpd/<YYYY_MM_DD>_vX.Y.Z_<sha>/.
  • promote-s3-latest (manual): copies them to httpd/latest/.
  • scripts/release.py: downloads the builds, signs each zip with GPG, creates the draft release (--dry-run to only prepare files). After the smoke tests, --publish runs promote-s3-latest, then publishes the draft.
  • Fix: upload-branch-snapshots no longer runs on tag pipelines.

GitHub release assets: mod_datadog_artifact{,-debug}.zip (amd64, no RUM, same as before), plus mod_datadog-{amd64,arm64}{,-debug}.zip (RUM), each with a .asc.

Closes INPLAT-962.

Build every release file in GitLab:
- add build:amd64:no-rum for the mod_datadog_artifact.zip asset;
- upload the RUM builds to S3 on version tags, and copy them to
  httpd/latest/ with a manual job;
- add scripts/release.py to sign the builds and create the draft release.

Remove the GitHub release workflow. Stop running upload-branch-snapshots
on tag pipelines.
@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 54.64% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c70a4c3 | Docs | Give us feedback!

@iamluc
iamluc marked this pull request as ready for review November 24, 2026 09:52
@iamluc
iamluc requested a review from a team as a code owner November 24, 2026 09:52
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T09:54:23.172519Z c57e670 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-24T10:00:20.794065Z c57e670 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c57e6700ee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/release.py Resolved
…ease-automation

# Conflicts:
#	.gitlab-ci.yml
@iamluc
iamluc merged commit 3363c41 into main Nov 24, 2026
42 checks passed
@iamluc
iamluc deleted the luc.vieillescazes/release-automation branch November 24, 2026 16:05
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