Skip to content

PLT-0000 feat(cli): add dedicated redeploy command#147

Merged
uptickmetachu merged 1 commit intodevelopfrom
np-01/add-redeploy-command
Mar 10, 2026
Merged

PLT-0000 feat(cli): add dedicated redeploy command#147
uptickmetachu merged 1 commit intodevelopfrom
np-01/add-redeploy-command

Conversation

@uptickmetachu
Copy link
Collaborator

Motivation

The bump command's --redeploy flag conflates image bumping with redeployment. A dedicated redeploy command provides a clearer, simpler interface when you just want to trigger a redeployment without any image changes.

Changes

  • Added redeploy task to core.py that updates the bump UUID field to trigger redeployment
  • Supports the same filtering (filter, exclude, autoexclude_inactive), interactivity, push, and skip_migrations options as bump
  • Skips all image resolution logic since no image change is needed

Test plan

  • Run gitops redeploy -f <app> and verify it updates the bump UUID in deployment.yml
  • Run gitops redeploy -f <app> --push and verify commit + push behavior
  • Run gitops redeploy -f <app> --skip-migrations and verify commit message flag

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@toshke toshke left a comment

Choose a reason for hiding this comment

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

LGTM

@uptickmetachu uptickmetachu merged commit b8be07d into develop Mar 10, 2026
3 checks passed
@uptickmetachu uptickmetachu deleted the np-01/add-redeploy-command branch March 10, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants