Add automated versioning and rollback deployment workflow#89
Merged
IvanildoBarauna merged 2 commits intomainfrom Mar 4, 2026
Merged
Add automated versioning and rollback deployment workflow#89IvanildoBarauna merged 2 commits intomainfrom
IvanildoBarauna merged 2 commits intomainfrom
Conversation
- packages-deploy.yml: computes next patch version from latest GitHub Release on every run (fallback v0.9.9 → first release is v1.0.0) - Docker images now tagged with semantic version + :latest instead of :main - DD_VERSION env var in both services reflects the actual deployed version - Creates a GitHub Release after images are confirmed in GHCR - New rollback.yml: manual workflow that detects the previous release automatically (second-to-last) or accepts an explicit version input, then pulls the target image from GHCR and redeploys to VPS https://claude.ai/code/session_01XtrhxKutum5sw6dqDeT8JY
DD_VERSION is the Datadog application version, not the deployment release version, and must remain fixed at 1.0.0. https://claude.ai/code/session_01XtrhxKutum5sw6dqDeT8JY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces automated semantic versioning and a rollback deployment capability to the CI/CD pipeline. The deployment workflow now automatically computes and tags releases, creates GitHub releases, and a new manual rollback workflow enables quick recovery to previous versions.
Key Changes
latesttag instead of hardcodedmainbranch tagrollback.ymlworkflow that enables manual rollback to any previous release or auto-detects the previous version1.0.0contentspermission fromreadtowritein the deployment workflow to support GitHub release creationImplementation Details
https://claude.ai/code/session_01XtrhxKutum5sw6dqDeT8JY