You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coder allows promoting a version to active from the Dashboard and also through API but this functionality is missing from the CLI,
coder templates versions do not expose a command to achieve that.
coder templates versions list kasmvnc-desktop
NAME CREATED AT CREATED BY STATUS ACTIVEamazing_hermann5 2024-10-04T11:56:34Z matifali Failedbold_colden0 2024-10-04T13:16:39Z matifali Succeededdazzling_germain1 2024-10-04T13:02:40Z matifali Succeededdistracted_yonath9 2024-10-04T13:28:19Z matifali Succeededelegant_archimedes9 2024-10-04T11:02:17Z matifali Succeededfervent_khayyam4 2024-10-04T12:00:07Z matifali Succeededhardcore_merkle3 2024-10-04T11:53:59Z matifali Failedkind_goldstine6 2024-10-04T11:52:43Z matifali Failednice_wozniak0 2024-10-04T11:06:50Z matifali Succeededromantic_merkle9 2024-10-04T14:16:13Z matifali Succeeded Activesleepy_robinson1 2024-10-04T11:56:06Z matifali Failedtender_ritchie1 2024-10-04T11:58:26Z matifali Succeeded
coder templates versions gives,
coder v2.16.0+683a720USAGE: coder templates versions Manage different versions of the specified template Aliases: version - List versions of a specific template: $ coder templates versions list my-templateSUBCOMMANDS: archive Archive a template version(s). list List all the versions of the specified template unarchive Unarchive a template version(s).———Run `coder --help` for a list of global options.
Suggestion
Add a promote sub-command like coder templates versions promote -t=<TEMPLATE_NAME> --tempplate-version=<TEMPLATE_VERSION_NAME>
Here <TEMPLATE_NAME> is the name of the template and <TEMPLATE_VERSION_NAME> is the name of the template version.
This is related to #14860 and will help solve #9899
The text was updated successfully, but these errors were encountered:
matifali
changed the title
Allow promoting an existing version to active from CLI
Allow promoting an existing template version to active from CLI
Oct 11, 2024
Coder allows promoting a version to active from the Dashboard and also through API but this functionality is missing from the CLI,
coder templates versions
do not expose a command to achieve that.coder templates versions list kasmvnc-desktop
coder templates versions
gives,Suggestion
Add a promote sub-command like
coder templates versions promote -t=<TEMPLATE_NAME> --tempplate-version=<TEMPLATE_VERSION_NAME>
Here
<TEMPLATE_NAME>
is the name of the template and<TEMPLATE_VERSION_NAME>
is the name of the template version.This is related to #14860 and will help solve #9899
The text was updated successfully, but these errors were encountered: