Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3ad13293
Unverified
Commit
3ad13293
authored
Mar 13, 2017
by
Christoph Blecker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export patch files to artifacts
parent
71d1e899
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
verify-dockerized.sh
hack/jenkins/verify-dockerized.sh
+3
-0
verify-godeps.sh
hack/verify-godeps.sh
+10
-0
No files found.
hack/jenkins/verify-dockerized.sh
View file @
3ad13293
...
...
@@ -31,6 +31,9 @@ retry() {
export
PATH
=
${
GOPATH
}
/bin:
${
PWD
}
/third_party/etcd:/usr/local/go/bin:
${
PATH
}
# Set artifacts directory
export
ARTIFACTS_DIR
=
${
WORKSPACE
}
/artifacts
retry go get github.com/tools/godep
&&
godep version
export
LOG_LEVEL
=
4
...
...
hack/verify-godeps.sh
View file @
3ad13293
...
...
@@ -116,7 +116,12 @@ pushd "${KUBE_ROOT}" 2>&1 > /dev/null
echo
"If you're seeing this locally, run the below command to fix your Godeps.json:"
echo
"patch -p0 < godepdiff.patch"
echo
"(The above output can be saved as godepdiff.patch if you're not running this locally)"
echo
"(The patch file should also be exported as a build artifact if run through CI)"
KEEP_TMP
=
true
if
[[
-f
godepdiff.patch
&&
-d
"
${
ARTIFACTS_DIR
:-}
"
]]
;
then
echo
"Copying patch to artifacts.."
cp
godepdiff.patch
"
${
ARTIFACTS_DIR
:-}
/"
fi
ret
=
1
fi
...
...
@@ -128,7 +133,12 @@ pushd "${KUBE_ROOT}" 2>&1 > /dev/null
echo
"If you're seeing this locally, run the below command to fix your directories:"
echo
"patch -p0 < vendordiff.patch"
echo
"(The above output can be saved as godepdiff.patch if you're not running this locally)"
echo
"(The patch file should also be exported as a build artifact if run through CI)"
KEEP_TMP
=
true
if
[[
-f
vendordiff.patch
&&
-d
"
${
ARTIFACTS_DIR
:-}
"
]]
;
then
echo
"Copying patch to artifacts.."
cp
vendordiff.patch
"
${
ARTIFACTS_DIR
:-}
/"
fi
ret
=
1
fi
popd
2>&1
>
/dev/null
...
...
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