You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the .gitignore and the .terraformignore files are only read at the root of the repo.
This doesn't align with how git describes its working .gitignore file resolution.
from man gitignore:
Patterns read from a .gitignore file in the same directory as the path, or in any parent directory (up to the top-level of the working tree), with patterns in the higher level files being overridden by those in lower level files down to the directory containing the file. These patterns match relative to the location of the .gitignore file. A project normally includes such .gitignore files in its repository, containing patterns for files generated as part of the project build.
The text was updated successfully, but these errors were encountered:
We tripped over this too. We had some secrets on the filestyem that were gitignored by directory/.gitignore, but were uploaded to spacelift during a local-preview. This was confounded by spacelift's slack integration sharing local-preview presigned s3 url -- effectively sharing these sensitive files with the entire company.
Additionally, spacectl should mind $GIT_DIR/info/exclude (checkout specific and repo specific excludes) and git config core.excludesfile (user specific global excludes).
This was confounded by spacelift's slack integration sharing local-preview presigned s3 url -- effectively sharing these sensitive files with the entire company.
This was confounded by spacelift's slack integration sharing local-preview presigned s3 url -- effectively sharing these sensitive files with the entire company.
This was fixed and should not happen again.
Thank you -- we noticed and appreciate that change to the slack integration.
Currently the
.gitignore
and the.terraformignore
files are only read at the root of the repo.This doesn't align with how
git
describes its working.gitignore
file resolution.from
man gitignore
:The text was updated successfully, but these errors were encountered: