Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

sg: cloud - move all cloud ephemeral commands to a sub command ephemeral#62569

Merged
burmudar merged 2 commits into
mainfrom
wb/sg/ephemeral-sub-cmd
May 15, 2024
Merged

sg: cloud - move all cloud ephemeral commands to a sub command ephemeral#62569
burmudar merged 2 commits into
mainfrom
wb/sg/ephemeral-sub-cmd

Conversation

@burmudar

@burmudar burmudar commented May 9, 2024

Copy link
Copy Markdown
Contributor
go run ./dev/sg cloud --help
NAME:
   sg cloud - Install and work with Sourcegraph Cloud tools

USAGE:
   sg cloud command [command options] [arguments...]

DESCRIPTION:
   Learn more about Sourcegraph Cloud:

   - Product: https://sourcegraph.com/docs/cloud
   - Handbook: https://handbook.sourcegraph.com/departments/cloud/


COMMANDS:
   install         Install or upgrade local `mi2` CLI (for Cloud V2)
   ephemeral, eph  Set of commands that operate on Cloud Ephemeral instances
   help, h         Shows a list of commands or help for one command

OPTIONS:
   --help, -h  show help

And when you do sg cloud eph

go run ./dev/sg cloud eph --help
NAME:
   sg cloud ephemeral - Set of commands that operate on Cloud Ephemeral instances

USAGE:
   sg cloud ephemeral command [command options] [arguments...]

DESCRIPTION:
   Commands to create, inspect or upgrade Cloud Ephemeral instances

COMMANDS:
   build          Trigger a cloud ephemeral build which will push images to the cloud ephemeral registry
   delete         Delete an ephemeral instance
   deploy         Deploy a new ephemeral instance from the current branch or specific version
   lease          Extend or reduce the lease expiry time of an ephemeral instance
   list           List ephemeral instances assigned to you, or all instances
   list-versions  List docker images in the cloud ephemeral registry
   status         Get the status of a ephemeral instance
   upgrade        upgrade an ephemeral instance
   help, h        Shows a list of commands or help for one command

Test plan

Tested locally

@burmudar burmudar requested review from a team and filiphaftek May 9, 2024 10:29
@burmudar burmudar self-assigned this May 9, 2024
@cla-bot cla-bot Bot added the cla-signed label May 9, 2024
Base automatically changed from wb/sg/cloud-remote-wip-notice to main May 13, 2024 10:50
@burmudar burmudar force-pushed the wb/sg/ephemeral-sub-cmd branch from 2db83bc to c31baa2 Compare May 13, 2024 16:03
@burmudar burmudar force-pushed the wb/sg/ephemeral-sub-cmd branch from c31baa2 to 3f587b9 Compare May 13, 2024 16:06
Comment thread dev/sg/internal/cloud/BUILD.bazel
@burmudar burmudar merged commit fbb72fb into main May 15, 2024
@burmudar burmudar deleted the wb/sg/ephemeral-sub-cmd branch May 15, 2024 13:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants