Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
14eb91a7
Commit
14eb91a7
authored
May 24, 2019
by
Sarath Subramanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3234: Add option in Precommit-Atlas to build and run tests on git pull request
parent
5196fd71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test-patch.sh
dev-support/test-patch.sh
+6
-0
No files found.
dev-support/test-patch.sh
View file @
14eb91a7
...
...
@@ -126,6 +126,9 @@ parseArgs() {
--review-id
=
*
)
REVIEW_ID
=
${
i
#*=
}
;;
--pullrequest-id
=
*
)
PR_ID
=
${
i
#*=
}
;;
--local-patch
=
*
)
LOCAL_PATCH
=
${
i
#*=
}
;;
...
...
@@ -213,6 +216,9 @@ downloadPatch () {
if
[[
-n
$REVIEW_ID
]]
;
then
echo
"Download Patch from Review Board: https://reviews.apache.org/r/
$REVIEW_ID
/diff/raw at
`
date
`
"
$WGET
-q
-O
$PATCH_DIR
/patch https://reviews.apache.org/r/
$REVIEW_ID
/diff/raw
elif
[[
-n
$PR_ID
]]
;
then
echo
"Download Patch from Git pull request: https://patch-diff.githubusercontent.com/raw/apache/atlas/pull/
$PR_ID
.patch at
`
date
`
"
$WGET
-q
-O
$PATCH_DIR
/patch https://patch-diff.githubusercontent.com/raw/apache/atlas/pull/
$PR_ID
.patch
elif
[[
-n
$LOCAL_PATCH
]]
;
then
echo
"Using Local Patch in
$LOCAL_PATCH
at
`
date
`
"
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment