replicatedhq / replicatedhq/replicated

Is there any way to create release and promote the sequence on certain channel in single command?

Open
#161 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
36
Forks
25
Avg merge
9h 27m
Merged PRs (30d)
3

Description

I am trying to automate create release and promote the release on certain channel.

The problem I am facing is there are 2 steps to do so.

replicated release create --yaml
This returns a sequence ID which in order to automate I need to pickup and pass to follwong command.

replicated release promote SEQUENCE_ID CHANNEL_ID

How do I get SEQUNCE_ID from step 1 to passed to step 2?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CLI entry points for replicated release create --yaml and replicated release promote SEQUENCE_ID CHANNEL_ID, using their help output to understand how command results are exposed. Determine whether the requested workflow should be supported by an existing output mechanism or a combined command; done means a documented, automatable way to create and promote a release.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.