-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add a common base config for saas deployments #30
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- a draft of one policy would help to see if this works
- we add one more level to buildout extends, so i would recommend to take extra care everything is still included
That means actually setting up a full deployment with it as it relies on there being a Do I proceed with that? |
as already discussed, stating a bit more precisely: it could help to see how an existing policy looks when changed to this new schema. also it could (once this is merged) help to quickly figure out if the bug-free buildout extends level is exceeded. |
what is going on here? looks to be in undefined state. we should either ✅ or 🛑. |
I've yet to figure out how to actually test it locally. |
@Rotonen please show the diff of an existing saas-buildout which uses the new For example https://github.com/4teamwork/opengever.edk/blob/master/deployment-ipet-05-edk.onegovgever.ch.cfg |
@phgross you mean to set up a full VM for the verification? Locally the buildout will trip up on not having the correct users and filesystem permissions set up as per the new deployment concept. |
@Rotonen no!!! 😅
Variante 2
Compare the parts directory, et voilà, should take 15min work and 5-10 minute ☕️ time 😉 |
As I've now discovered https://raw.githubusercontent.com/4teamwork/ftw-buildouts/master/production-local-dev.cfg, my local troubles disappeared. |
What also threw me off is the implicit requirement for there to be a group by the name of the For reference, here is how to add a matching group for yourself locally on macOS: |
Comparing
vs.
|
With fresh eyes, two additions:
Are these unexpected? |
As those come via https://raw.githubusercontent.com/4teamwork/gever-buildouts/master/standard-deployment-v2.cfg, my testing has definitely hit an extension depth issue. I was extending from a local |
Yeah, I keep getting various results. I guess this is dead in the water. I guess one or more of these: |
So, with not having my own buildout.cfg in between and adding the local dev extend to the repo provided buildout config:
We'd just barely at the max extends count this way. Does not seem like something we'd like to roll with as extending from that policy would then immediately break. In time, at least Solr, can go to the standard deployment config. |
Harvest:
OneGov GEVER
-Softwarepflege (Refactoring/Bug)
This is for 4teamwork/opengever.core#5409