Skip to content

Can you add "upgrade --replace-Command" ? #43

@MichelDiz

Description

@MichelDiz

I would like to be able to dynamically change the container's commands.

Could be a "restart --container-new-command yarn build && Yarn tests"
but for upgrade would be helpful.

upgrade --replace-Command 'yarn install && yarn build && yarn tests'
then
upgrade --replace-Command 'yarn start'

I still have not found anything that could do that. I'm doing a complex roundtrip by creating a container with Rancher CLI inside the Rancher and updating it via Gitlab CI/CD and then doing Rancher-compose up myfile.yml.

In case my yml files are triggered according to the context of the command I want to keep in the container. What I'm doing It works, but it's hard to maintain and teach how to use them.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions