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
13d23644
Commit
13d23644
authored
Feb 25, 2016
by
Marek Grabowski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #20710 from fgrzadkowski/backward_compatible_release
Make #19601 backward compatible.
parents
a7f06905
6f6cb456
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
common.sh
build/common.sh
+7
-0
release.sh
build/release.sh
+1
-0
build-official-release.sh
release/build-official-release.sh
+0
-2
No files found.
build/common.sh
View file @
13d23644
...
...
@@ -667,6 +667,13 @@ function kube::release::clean_cruft() {
find
${
RELEASE_STAGE
}
-name '.DS*' -exec rm {}
\;
}
function kube::release::package_hyperkube() {
# If we have these variables set then we want to build all docker images.
if [[ -n "
${
KUBE_DOCKER_IMAGE_TAG
-
}
" && -n "
${
KUBE_DOCKER_REGISTRY
-
}
" ]]; then
REGISTRY="
${
KUBE_DOCKER_REGISTRY
}
" VERSION="
${
KUBE_DOCKER_IMAGE_TAG
}
" make -C cluster/images/hyperkube/ build
fi
}
function kube::release::package_tarballs() {
# Clean out any old releases
rm -rf "
${
RELEASE_DIR
}
"
...
...
build/release.sh
View file @
13d23644
...
...
@@ -39,3 +39,4 @@ fi
kube::build::copy_output
kube::release::package_tarballs
kube::release::package_hyperkube
release/build-official-release.sh
View file @
13d23644
...
...
@@ -91,8 +91,6 @@ export KUBE_DOCKER_REGISTRY="gcr.io/google_containers"
export
KUBE_DOCKER_IMAGE_TAG
=
"
${
KUBE_RELEASE_VERSION
}
"
make release
# We don't want to include this in 'make release' as it'd slow down every day development cycle.
REGISTRY
=
"
${
KUBE_DOCKER_REGISTRY
}
"
VERSION
=
"
${
KUBE_DOCKER_IMAGE_TAG
}
"
make
-C
cluster/images/hyperkube/ build
if
${
KUBE_BUILD_DIR
}
/cluster/kubectl.sh version |
grep
Client |
grep
dirty
;
then
echo
"!!! Tag at invalid point, or something else is bad. Build is dirty. Don't push this build."
>
&2
...
...
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