Split Drone CI and tag-triggered deployment - #800
Merged
Conversation
yaojin3616
marked this pull request as ready for review
July 28, 2026 13:36
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.
What changed
docker-compose.ci.ymldedicated to isolated migration, fresh deployment, and upgrade tests.docker-compose.cd.ymlfor application-only deployment against the server's existing PostgreSQL, Redis, MinIO, and external Docker network.v*tags.qinruion port10022into/home/qinrui/clawith_new.backend-api,backend-worker, andfrontend, and wait for the proxied API health check..envand Nginx configuration. If the optionalss-nodes.jsonbind source is absent—or exists as Docker's accidental empty directory—repair it to a safe empty[]configuration without overwriting a real file.Why
The previous pipeline mixed CI test Compose configuration with production deployment concerns, transferred images on branch pushes, and did not restart the remote services. Separating the Compose files keeps CI isolated while making CD explicitly tag-triggered and aligned with the current server layout.
The Release workflow also deployed directly over SSH after pushing its tag. Once Drone became tag-triggered, both systems would recreate production concurrently. GitHub Actions now hands the tag to Drone as the single deployment owner and exits without consuming runner time while the deployment runs.
Validation
drone lint --trusted .github/drone.ymlconfig --quietfor both CI and CD configurationsDrone build: http://110.16.193.170:50059/dataelement/Clawith/405