forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make evaluates conditions in the preprocessing phase - before any target is executed. It means that we will not be able to detect the changes made by make or make generate in a make condition. This change fixes this issue by moving the check into a dedicated script and calling it from the verifying targets. We also now sync kubevirt ci in the dedicated container to avoid issues with different tool versions. Signed-off-by: Daniel Belenky <[email protected]>
- Loading branch information
Daniel Belenky
committed
Aug 30, 2020
1 parent
08be23f
commit 1dddf1d
Showing
6 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
10f64444b69573f1a5380670a1be4e98cc33f7f2 | ||
0bd56e7aca8eae1dafb5a6e0a64d9fc9e80eaa03 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
12b5cdabfec1da7285c59724248d44b01de3693e | ||
426443f01f541258d17d8abd005c1f9296f614d6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [[ -n $(git status --porcelain 2>/dev/null) ]]; then | ||
echo "ERROR: git tree state is not clean!" | ||
echo "You probably need to run 'make generate' or 'make' and commit the changes" | ||
git status | ||
exit 1 | ||
fi |