Skip to content

Commit

Permalink
ci(e2e): alias deploy as reset (#2641)
Browse files Browse the repository at this point in the history
Use `reset` as an alias for `deploy` in e2e. This allows humans and
github actions to refer to "resetting staging", and the use the term
"deploy" for a more general process of running different docker
containers.

issue: none
  • Loading branch information
corverroos authored Dec 6, 2024
1 parent 0090ff5 commit e933846
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ func newDeployCmd(def *app.Definition) *cobra.Command {
cfg := app.DefaultDeployConfig()

cmd := &cobra.Command{
Use: "deploy",
Short: "Deploys the e2e network",
Use: "deploy",
Aliases: []string{"reset"},
Short: "Deploys/Resets the e2e network to start from genesis",
RunE: func(cmd *cobra.Command, _ []string) error {
_, err := app.Deploy(cmd.Context(), *def, cfg)
return err
Expand Down

0 comments on commit e933846

Please sign in to comment.