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

.dockerignore: add *.box files #14045

Merged
merged 1 commit into from
Nov 17, 2020
Merged

.dockerignore: add *.box files #14045

merged 1 commit into from
Nov 17, 2020

Conversation

kkourt
Copy link
Contributor

@kkourt kkourt commented Nov 16, 2020

By default, test/packet/scripts/add_vagrant_box.sh uses . as the
destination directory which might lead to large *.box files in the
cilium source directory. Instruct docker to ignore these files.

Signed-off-by: Kornilios Kourtis kornilios@isovalent.com

By default, `test/packet/scripts/add_vagrant_box.sh` uses `.` as the
destination directory which might lead to large `*.box` files in the
cilium source directory. Instruct docker to ignore these files.

Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
@kkourt kkourt requested a review from a team as a code owner November 16, 2020 14:50
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Nov 16, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Nov 16, 2020
@kkourt kkourt added the release-note/misc This PR makes changes that have no direct user impact. label Nov 16, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Nov 16, 2020
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@fristonio fristonio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

@qmonnet qmonnet added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 16, 2020
@rolinh
Copy link
Member

rolinh commented Nov 16, 2020

While you're at it, would you mind adding a pkg/alignchecker/.gitignore file with this content?

!testdata/bpf_foo.o

This should not be ignored but is currently marked to be ignored with the global *.o pattern.

@rolinh rolinh added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. and removed ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Nov 16, 2020
pchaigno added a commit that referenced this pull request Nov 17, 2020
By default, the add_vagrant_box.sh script used to download Vagrant boxes
to the current directory. This can lead to issues when the current
directory is Cilium's [1].

This commit removes the -t flag to download to /tmp and makes that the
default. Now, if -t is given, it will display a warning. This commit
also introduces a new -d <dir> flag to download the Vagrant boxes to a
directory different from /tmp.

1 - #14045
Signed-off-by: Paul Chaignon <paul@cilium.io>
aanm pushed a commit that referenced this pull request Nov 17, 2020
By default, the add_vagrant_box.sh script used to download Vagrant boxes
to the current directory. This can lead to issues when the current
directory is Cilium's [1].

This commit removes the -t flag to download to /tmp and makes that the
default. Now, if -t is given, it will display a warning. This commit
also introduces a new -d <dir> flag to download the Vagrant boxes to a
directory different from /tmp.

1 - #14045
Signed-off-by: Paul Chaignon <paul@cilium.io>
@aanm aanm merged commit 0251a04 into master Nov 17, 2020
@aanm aanm deleted the pr/kkourt/dockerignore-box branch November 17, 2020 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants