#geodesic (2022-09)
Discussions related to https://github.com/cloudposse/geodesic
Archive: https://archive.sweetops.com/geodesic/
2022-09-07
v1.2.4 Included Tools Update AWS CLI packages @renovate (<a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1330601562” data-permission-text=”Title is private” data-url=”https://github.com/cloudposse/geodesic/issues/797“…
Included Tools Update AWS CLI packages @renovate (#797) This PR contains the following updates: Package Change Age Adoption Passing Confidence awscli (source, changelog) ==1.25.43 -> ==…
renovate has one repository available. Follow their code on GitHub.
This PR contains the following updates: Package Change Age Adoption Passing Confidence awscli (source, changelog) ==1.25.43 -> ==1.25.69 boto3 ==1.24.43 -> ==1.24.68 Release No…
2022-09-08
v1.3.0 Notable change: Preserve Dockerfile PATH Notable change Debian behavior is to ignore any existing value of the PATH environment variable when launching bash and set it to a predefined value. This makes it impossible to modify the PATH in the Dockerfile. Alpine’s approach (taken from Arch Linux) is to append the path components to any existing PATH value, allowing users to set a preferred path, but still ensuring that all expected/required directories are included in PATH to start. In this release, we follow Alpine’s strategy under…
Notable change Debian behavior is to ignore any existing value of the PATH environment variable when launching bash and set it to a predefined value. This makes it impossible to modify the PATH in …
2022-09-15
Hey @Jeremy G (Cloud Posse) — low priority, but a couple quick questions for you following some internal discussion at Masterpoint on Geodesic.
- In
Dockerfile.options
, you folks mention preferring YAML configuration direnv>. My assumption is that you’re referring to things like terraform vars and similar configuration that atmos now covers, but not for actual environment variables. Is that correct? My team and I are working on setting env vars likeKUBECONFIG
+AWS_CONFIG_FILE
to custom, project specific files via direnv. And before we do so I figured I would ask about that comment considering ya’ll might have some learnings there. - Do you have a suggested approach for running
direnv allow $GEODESIC_HOST_CWD/.envrc
on start of the container? I don’t want to use a preferences or overrides file because we want it to be persisted across all container sessions and not just my own. I’m assuming that means we need to add an additional bash script intorootfs/
that’ll get executed by Geodesic at start of the container, but I’m unaware what would be the best option there as I’d rather not override/etc/profile
completely.
# Our older Geodesic configurations relied on `direnv`, which we no longer recommend,
# preferring YAML configuration files instead.
I will ask @Erik Osterman (Cloud Posse) to weigh in here, as he was the original direnv
proponent and set up all of Geodesic’s direnv
support.
Our current model is to use Geodesic tools against files on the host computer, mounted into the container at /localhost
. This can be tricky with direnv allow
, either being a hassle or a security weakness depending on your configuration and point of view. Personally I prefer setting env vars via shell scripts and functions, either run at startup or explicitly on the command line.
You can add scripts under rootfs/etc/profile.d/
in your repo. Any file in that directory ending in .sh
will be sourced by bash
at shell startup. Since Geodesic comes with a direnv.sh
which you do not want to overwrite, you might call your script direnv_allow_host.sh
and put
direnv allow $GEODESIC_HOST_CWD/.envrc
in it.
# Our older Geodesic configurations relied on `direnv`, which we no longer recommend,
# preferring YAML configuration files instead.
Ya, we really haven’t invested too much more in this b/c it’s an interactive shell thing and we’ve been moving gitops
Good stuff — Thanks gents!
2022-09-16
v1.3.1 See also “notable change” in v1.3.0 Update debian Docker tag to v11.5 @renovate (<a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1370767376” data-permission-text=”Title is private” data-url=”https://github.com/cloudposse/geodesic/issues/803“…
Update debian Docker tag to v11.5 @renovate (#803) This PR contains the following updates: Package Type Update Change debian final minor 11.4-slim -> 11.5-slim debian stage minor 11.4-slim…
renovate has one repository available. Follow their code on GitHub.
This PR contains the following updates: Package Type Update Change debian final minor 11.4-slim -> 11.5-slim debian stage minor 11.4-slim -> 11.5-slim Configuration Schedule: Branch …
2022-09-24
v1.3.2 See also “notable change” in v1.3.0 Latest Included Tools Update AWS CLI packages @renovate (<a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1384465718” data-permission-text=”Title is private” data-url=”https://github.com/cloudposse/geodesic/issues/804“…
Included Tools Update AWS CLI packages @renovate (#804) This PR contains the following updates: Package Change Age Adoption Passing Confidence awscli (source, changelog) ==1.25.76 -> ==…
renovate has one repository available. Follow their code on GitHub.
This PR contains the following updates: Package Change Age Adoption Passing Confidence awscli (source, changelog) ==1.25.76 -> ==1.25.81 boto3 ==1.24.75 -> ==1.24.80 Release No…