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

SHA environment #96

Open
2 tasks
andyneff opened this issue Oct 15, 2018 · 0 comments
Open
2 tasks

SHA environment #96

andyneff opened this issue Oct 15, 2018 · 0 comments

Comments

@andyneff
Copy link
Member

Get output of environment variables (and local variables?) and sha them

  • Determine list of variables that shouldn't be include, like UID, pwd, , BASH_SOURCES, LINENO, BASH*, etc...
  • Sha variables and values

This is a stepping stone to running docker-compose config once, and caching the result. The environment can be used to determine cache miss. Since Just-docker-compose creates a randomly named file and used env vars to generate it, the command executed is not a sufficient cache miss check, it will always be different or changing env vars will cause different behavior. And its always posssible that multiple calls to Just-docker-compose will have different environments. So the args to Just-docker-compose + env sha should make a decent cache miss check

@andyneff andyneff transferred this issue from VisionSystemsInc/just Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant