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

Revert "Pin postgres, redis and rabbitmq" #108

Closed
wants to merge 1 commit into from

Conversation

warrenvw
Copy link
Contributor

@warrenvw warrenvw commented Mar 2, 2018

Reverts #107

@warrenvw warrenvw self-assigned this Mar 2, 2018
@warrenvw warrenvw requested review from shusugmt and arm4b March 2, 2018 07:51
@bigmstone
Copy link

This feels like a suboptimal PR. I may have missed part of the conversation here but I'm not sure why we're cool with core platform dependencies changing underneath us without explicitly moving to a new version. We wouldn't do this with library dependencies and I don't see this as any different. I've also been bitten by similar things in the past. Specifically not pinning mariadb version and the API changing slightly.

@arm4b
Copy link
Member

arm4b commented Mar 7, 2018

@bigmstone See @shusugmt point #106 (comment) for more complete context.

Having said that, we pin now only Mongo to 3.4, - this conforms with behavior in official installation scripts.

@bigmstone
Copy link

Yes. I saw that comment on the previous PR and thought to mention this there. I am not sure how I feel about us not pinning at least major versions in ST2 installer as well. We pin mongo for the same reasons we should be pinning other external dependencies. I get it. SQL and AMQP don't change much I'm 2018 but the issue that bit us with Maria was a bug.

I'm just always a fan of the same code running in every installation. I know compose won't upgrade on you but new installations will pull in latest. I'm open to having my mind changed here but the other arguments don't convince me yet.

@shusugmt
Copy link
Contributor

shusugmt commented Mar 7, 2018

As far as I understand, what we provide in this st2-docker repository is just for starter kit, and not really meant to be usable for any production without modification (except the built image that users can get from dockerhub). docker-compose.yml is also just an example. It will do the job, but can't be used in any production as-is in most cases.

I'm just always a fan of the same code running in every installation

I agree with this. But whether to pin the version is up to the user. And I think this should be controlled by them.

@bigmstone
Copy link

bigmstone commented Mar 7, 2018

As far as I understand, what we provide in this st2-docker repository is just for starter kit, and not really meant to be usable for any production without modification

Like all things that get released this is of variable truth. Some people run this in prod. Even if not though it's a lot of people's first view into ST2 and we're responsible for its quality.

I agree with this. But whether to pin the version is up to the user. And I think this should be controlled by them

Yes - and we're responsible for sane defaults that are tested. The user can modify from there.

@shusugmt
Copy link
Contributor

we're responsible for sane defaults that are tested

The question is, to what extent should we care? I strongly recommend users to pin the image using sha hash especially in production environment to ensure the 100% consistency. If the policy here is to provide quality that covers any environment, then I insist we should do that. But now I think that is too much.

Also, those are the general things in container world, not specific to st2-docker. Users need to learn and decide what to do.

@jeking3
Copy link
Contributor

jeking3 commented Sep 28, 2018

I think it's best to lock in versions folks know work okay, and roll them forward. I assume part of the goal of this repsoitory is to provide a successful first experience with the product. To that end, locking in the versions is a better choice than allowing them to change and potentially breaking that first experience. This repository helped me get up and running very quickly. If it was DOA, that would have really soured the first experience.

@arm4b arm4b added the stale label Jul 31, 2019
@arm4b arm4b closed this in 6cc70fd Jul 17, 2020
@arm4b arm4b deleted the revert-107-wvw/pin-db branch July 17, 2020 16:17
transhapHigsn pushed a commit to DiligenceVault/st2-docker that referenced this pull request Jun 8, 2021
You can find the old deprecated version in `DEPRECATED/all-in-one` branch archive: https://github.com/StackStorm/st2-docker/tree/DEPRECATED/all-in-one

Closes StackStorm#22, closes StackStorm#23, closes StackStorm#26, closes StackStorm#29, closes StackStorm#34, closes StackStorm#41, closes StackStorm#43, closes StackStorm#92, closes StackStorm#112, closes StackStorm#117, closes StackStorm#125, closes StackStorm#133, closes StackStorm#141, closes StackStorm#145, closes StackStorm#151, closes StackStorm#163, closes StackStorm#187,
closes StackStorm#188, closes StackStorm#189, closes StackStorm#190
Closes StackStorm#162, closes StackStorm#138, closes StackStorm#108, closes StackStorm#102, closes StackStorm#65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants