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

Enhance hack/check-samples script #1858

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

tejal29
Copy link
Contributor

@tejal29 tejal29 commented Mar 21, 2019

Why?
Some of the files in the examples directory could be ignored by
git e.g. integration/examples/jib-multimodule/target if developers
.gitconfig ignore target dir everywhere.

Since this script does a file comparison, debugging failures in such
situation takes times.

To verify on this branch run:

 mkdir integration/examples/hack_script_check
touch integration/examples/hack_script_check/foo
./hack/check-samples.sh 
Every code sample that is in ./examples should also be in ./integration/examples
1c1
< examples:
---
> integration/examples:
4a5
> hack_script_check

@tejal29 tejal29 removed request for dgageot, r2d4 and nkubala March 21, 2019 23:05
@tejal29 tejal29 force-pushed the enhance_hack_script branch 3 times, most recently from 41b6fc3 to 7f59f2f Compare March 21, 2019 23:35
Some of the files in the examples directory could be ignored by
git e.g. integration/examples/jib-multimodule/target if developers
.gitconfig ignore target dir everywhere.

Since this script does a file comparison, debugging failures in such
situation takes times.

Co-authored-by: Balint Pato <balopat@users.noreply.github.com>
@tejal29 tejal29 force-pushed the enhance_hack_script branch from 7f59f2f to 183125a Compare March 21, 2019 23:36
@dgageot dgageot merged commit 6e726bb into GoogleContainerTools:master Mar 22, 2019
@tejal29 tejal29 deleted the enhance_hack_script branch September 18, 2019 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants