Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MichelDiz opened this issue Jan 10, 2018 · 0 comments
Open

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

MichelDiz opened this issue Jan 10, 2018 · 0 comments

Comments

@MichelDiz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant