feat: Redeploy command (off-ticket) - #1245
Conversation
Signed-off-by: DBT pre-commit check
Signed-off-by: DBT pre-commit check
Signed-off-by: DBT pre-commit check
|
Your PR has commits that are missing the Signed-off-by trailer. This is likely due to the pre-commit hook not being configured on your local machine. The usual fix for this issue is to run |
| @click.option( | ||
| "--wait", type=bool, default=True, help="Wait on pipelines completing before returning results" | ||
| ) | ||
| def redeploy(app: str, env: str, codebases: List[str], wait: bool): |
There was a problem hiding this comment.
FYI The builtin list should work here. You also do this in several other places throughout this PR.
| def redeploy(app: str, env: str, codebases: List[str], wait: bool): | |
| def redeploy(app: str, env: str, codebases: list[str], wait: bool): |
There was a problem hiding this comment.
I can be a little inconsistent with this
There was a problem hiding this comment.
The list functions break trying to type with list so a PR should be made renaming that first
Dependency Review✅ No vulnerabilities or OpenSSF Scorecard issues found.Scanned FilesNone |
Why:
What:
redploy command will re-trigger manual release pipeline for an application & environment
provide codebase (from anywhere)
or pick up all codebases (in deploy)
get all all deployed services, with deployed tag (commit)
raise error on commit mismatches within codebase
option to wait on results or return build urls
refactor
PortChecklist:
Title:
feat: Add new feature (DBTP-1234)orchore: Correct typo (off-ticket)Description:
Tasks:
Reviewer Checklist