-
Notifications
You must be signed in to change notification settings - Fork 6.7k
feat: Add DRIFT region tag parser to CI #4506
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b3fd0d5
Add DRIFT region tag parser to CI
a23d664
Merge branch 'master' into drift-parser-2
27a1f1c
Merge branch 'master' into drift-parser-2
6fbf850
Address comments
d699285
Address comments, take 2
65599ff
Address comments, take 2.1 (yaml)
01f28d8
Merge branch 'master' into drift-parser-2
b92b20e
Address feedback, take 3
c0d2629
Merge branch 'drift-parser-2' of http://github.com/GoogleCloudPlatfor…
55281f3
Address comments, take 4
231a7e4
Fix missing bracket
9b4d428
Address comments, take 5
a6b821b
Address comments, take 6
7d51e03
Move pip install to run_tests.sh
744990f
Merge branch 'master' into drift-parser-2
611044e
Use uuid in temp file + python write instead of stdout
802d8b7
DBG foo
18dc556
Address comments + get things working locally
09e19ee
Merge branch 'drift-parser-2' of http://github.com/GoogleCloudPlatfor…
487712d
Revert "DBG foo"
01d2896
uuid -> mktemp
2c3d822
Merge branch 'drift-parser-2' of http://github.com/GoogleCloudPlatfor…
d1cf339
Merge branch 'master' into drift-parser-2
085ada5
Use set e for error handling + check file existence
00a2d3b
Merge branch 'drift-parser-2' of http://github.com/GoogleCloudPlatfor…
a723d33
Merge branch 'master' into drift-parser-2
d653e3e
use `python3 -m pip install`
18358aa
remove env vars from run_single_test.sh
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you 100% sure that there is a file when the script exit with 0?
If not, please check the file existance.
Also, does it make sense to log something here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the file at
$XUNIT_TMP_PATHdoesn't exist, then themvcommand should fail.IMO, logging something here would be overkill. 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if
mvfails, the test is marked as failed even if just the injection here failed?I don't like it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, actually, there's no
-eflag set in this file. So it may keep running.I still like the explicit check, but I think I can live with the current code.