cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: add deploy command to push all changes to linked project

Open matlin opened this issue 2 months ago • 1 comments

What kind of change does this PR introduce?

Feature

What is the current behavior?

Have to seperately deploy changes to migrations, config, and functions.

What is the new behavior?

A single command that will deploy all changes to a remote proejct.

Additional context

  • Adds --remote flag to status to get the health of the remote project.
  • Adds --dry-run support to all deploy commands (added to functions and config)

matlin avatar Oct 27 '25 13:10 matlin

Pull Request Test Coverage Report for Build 19699968033

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 45 of 181 (24.86%) changed or added relevant lines in 10 files are covered.
  • 15 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.4%) to 54.995%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/config.go 0 2 0.0%
internal/config/push/push.go 1 5 20.0%
cmd/status.go 0 5 0.0%
cmd/functions.go 0 8 0.0%
internal/status/status.go 34 44 77.27%
internal/bootstrap/bootstrap.go 0 15 0.0%
cmd/deploy.go 0 17 0.0%
internal/deploy/deploy.go 0 75 0.0%
<!-- Total: 45 181
Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 12.9%
internal/utils/flags/db_url.go 10 42.47%
<!-- Total: 15
Totals Coverage Status
Change from base Build 19695074455: -0.4%
Covered Lines: 6705
Relevant Lines: 12192

💛 - Coveralls

coveralls avatar Nov 26 '25 10:11 coveralls