-
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
consider mounting data folder as sub-directory of pacta-data/
#63
Comments
pacta-data/
pacta-data/
Reopening because #87 reveals this is still not adequately fixed. If you have |
Hmm not ideal. I will open a hotfix to get it working again, and open an issue to track progress on designing a more appropriate solution. |
Ah so it turns out that this issue is already the "follow-up issue" i was going to open haha. Totally agree with the strategy proposed here. (I think @AlexAxthelm closed this issue before I had a chance to read it XD) |
Hmm. I remember thinking when I saw that |
😂 for real |
I think the logic is:
|
The issue there is that it conflicts with the assumption that (e.g. it would be possible in that situation that seems like an unnecessary maintenance burden, so I am going to think it through more cautiously. |
yeah, I guess that's what I meant... the PACTA data timestamp is necessary in the docker-compose step, and since that takes input from env vars not the config, the PACTA data timestamp kinda needs to be defined in the env vars not the config |
I think one of the tricky parts is that So already, I need to mount in the contents of a directory into a newly named directory. Thoughts? |
yes, agree 💯, that is the crux of it Though the additional thing that plays a role is, you may need the mounted directory to look like |
Yup totally. I am tempted to not work much on this issue until after that is done/ after CH COP is delivered tbh (I don't want to jump through a bunch of hoops with an odd architecture if we have the opportunity to just update the architecture instead) |
The current
docker-compose.yml
expects that you point to a localpacta-data/
directory which should have a sub-directory named for the desired timestamp/quarter, e.g.pacta-data/2021Q4
. Given our current strategy of building PACTA data directories, I think it might be more natural to point directly to that sub-directory, since one might have a directory with numerous sub-directories each containing different builds/versions of PACTA data, but you really only want/need one, and it could be confusing which one is being used.So instead of this in the
docker-compose.yml
workflow.prepare.pacta.indices/docker-compose.yml
Lines 8 to 9 in d93b71c
and this in the
.env
we might have this is the
docker-compose.yml
and this in the
.env
The only problem is that the
/pacta-data/2022Q4
in thedocker-compose.yml
would need to adapt to whatever timestamp/quarter you're targeting, and I'm not sure how best to resolve that.AB#10133
The text was updated successfully, but these errors were encountered: