From af56a1e56d4ae76be5bd1ed7f67d0664c4712913 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Fri, 31 May 2024 09:41:58 -0700 Subject: [PATCH 1/2] Fixup: Disable Action and Agent from the HCP Cli for now --- internal/commands/waypoint/waypoint.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/internal/commands/waypoint/waypoint.go b/internal/commands/waypoint/waypoint.go index 47c52b42..62be180a 100644 --- a/internal/commands/waypoint/waypoint.go +++ b/internal/commands/waypoint/waypoint.go @@ -4,9 +4,7 @@ package waypoint import ( - "github.com/hashicorp/hcp/internal/commands/waypoint/actions" addon "github.com/hashicorp/hcp/internal/commands/waypoint/add-ons" - "github.com/hashicorp/hcp/internal/commands/waypoint/agent" "github.com/hashicorp/hcp/internal/commands/waypoint/applications" "github.com/hashicorp/hcp/internal/commands/waypoint/templates" "github.com/hashicorp/hcp/internal/commands/waypoint/tfcconfig" @@ -17,7 +15,7 @@ import ( func NewCmdWaypoint(ctx *cmd.Context) *cmd.Command { cmd := &cmd.Command{ Name: "waypoint", - ShortHelp: "Manage Waypoint.", + ShortHelp: "Manage HCP Waypoint.", LongHelp: heredoc.New(ctx.IO).Must(` The {{ template "mdCodeOrBold" "hcp waypoint" }} command group lets you manage HCP Waypoint resources through the CLI. These commands let you to interact @@ -26,8 +24,9 @@ func NewCmdWaypoint(ctx *cmd.Context) *cmd.Command { } cmd.AddChild(tfcconfig.NewCmdTFCConfig(ctx)) - cmd.AddChild(actions.NewCmdActionConfig(ctx)) - cmd.AddChild(agent.NewCmdAgent(ctx)) + // TODO: Enable later + // cmd.AddChild(actions.NewCmdActionConfig(ctx)) + // cmd.AddChild(agent.NewCmdAgent(ctx)) cmd.AddChild(templates.NewCmdTemplate(ctx)) cmd.AddChild(addon.NewCmdAddOn(ctx)) cmd.AddChild(applications.NewCmdApplications(ctx)) From 1d6c7aa4fac906e05333dee185dffc5e38a67e18 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Fri, 31 May 2024 09:47:37 -0700 Subject: [PATCH 2/2] Changelog: Add log --- .changelog/100.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/100.txt diff --git a/.changelog/100.txt b/.changelog/100.txt new file mode 100644 index 00000000..7c42a4cd --- /dev/null +++ b/.changelog/100.txt @@ -0,0 +1,3 @@ +```release-note:breaking-change +Removing waypoint actions and agents sub-command +```