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
93f8b87d
Commit
93f8b87d
authored
Sep 08, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Sep 08, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #32235 from david-mcmahon/push-build
Automatic merge from submit-queue Change push-ci-build.sh to push-build.sh.
parents
986fe3bf
92ddc22f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
18 deletions
+10
-18
build.sh
hack/jenkins/build.sh
+10
-18
No files found.
hack/jenkins/build.sh
View file @
93f8b87d
...
@@ -39,15 +39,7 @@ export CLOUDSDK_COMPONENT_MANAGER_DISABLE_UPDATE_CHECK=true
...
@@ -39,15 +39,7 @@ export CLOUDSDK_COMPONENT_MANAGER_DISABLE_UPDATE_CHECK=true
# FEDERATION?
# FEDERATION?
:
${
FEDERATION
:
=
"false"
}
:
${
FEDERATION
:
=
"false"
}
:
${
KUBE_RELEASE_RUN_TESTS
:
=
"n"
}
:
${
KUBE_RELEASE_RUN_TESTS
:
=
"n"
}
export
KUBE_RELEASE_RUN_TESTS
# New kubernetes/release/push-ci-build.sh values
# RELEASE_INFRA_PUSH=true when we're using kubernetes/release/push-ci-build.sh
:
${
RELEASE_INFRA_PUSH
:
=
"false"
}
# SET_NOMOCK_FLAG=true means we're doing full pushes and we pass --nomock to
# push-ci-build.sh. This is set to false in the
# testing jobs and only used in the RELEASE_INFRA_PUSH=true scope below.
:
${
SET_NOMOCK_FLAG
:
=
"true"
}
export
KUBE_RELEASE_RUN_TESTS RELEASE_INFRA_PUSH FEDERATION SET_NOMOCK_FLAG
# Clean stuff out. Assume the last build left the tree in an odd
# Clean stuff out. Assume the last build left the tree in an odd
# state.
# state.
...
@@ -72,19 +64,19 @@ else
...
@@ -72,19 +64,19 @@ else
mkdir
-p
${
WORKSPACE
}
/_tmp
mkdir
-p
${
WORKSPACE
}
/_tmp
git clone https://github.com/kubernetes/release
${
release_infra_clone
}
git clone https://github.com/kubernetes/release
${
release_infra_clone
}
if
[[
!
-x
${
release_infra_clone
}
/push-ci-build.sh
]]
;
then
push_build
=
${
release_infra_clone
}
/push-build.sh
echo
"FATAL: Something went wrong."
\
"
${
release_infra_clone
}
/push-ci-build.sh isn't available."
\
"Exiting..."
>
&2
exit
1
fi
if
[[
!
-x
${
push_build
}
]]
;
then
# TODO: Remove/Restore this with the full deprecation PR
push_build
=
${
release_infra_clone
}
/push-ci-build.sh
#echo "FATAL: Something went wrong. ${push_build} isn't available." \
# "Exiting..." >&2
#exit 1
fi
[[
-n
"
${
KUBE_GCS_RELEASE_BUCKET
-
}
"
]]
\
[[
-n
"
${
KUBE_GCS_RELEASE_BUCKET
-
}
"
]]
\
&&
bucket_flag
=
"--bucket=
${
KUBE_GCS_RELEASE_BUCKET
-
}
"
&&
bucket_flag
=
"--bucket=
${
KUBE_GCS_RELEASE_BUCKET
-
}
"
${
FEDERATION
}
&&
federation_flag
=
"--federation"
${
FEDERATION
}
&&
federation_flag
=
"--federation"
${
SET_NOMOCK_FLAG
}
&&
mock_flag
=
"--nomock"
${
push_build
}
${
bucket_flag
-
}
${
federation_flag
-
}
--nomock
--verbose
--ci
${
release_infra_clone
}
/push-ci-build.sh
${
bucket_flag
-
}
${
federation_flag
-
}
\
${
mock_flag
-
}
--verbose
fi
fi
sha256sum
_output/release-tars/kubernetes
*
.tar.gz
sha256sum
_output/release-tars/kubernetes
*
.tar.gz
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