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
cabcfb87
Commit
cabcfb87
authored
Aug 05, 2016
by
David McMahon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SET_NOMOCK_FLAG handling.
Pass thru KUBE_GCS_RELEASE_BUCKET (for federation yamls that change it).
parent
5f9447a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
build.sh
hack/jenkins/build.sh
+16
-6
No files found.
hack/jenkins/build.sh
View file @
cabcfb87
...
@@ -38,9 +38,16 @@ export CLOUDSDK_COMPONENT_MANAGER_DISABLE_UPDATE_CHECK=true
...
@@ -38,9 +38,16 @@ export CLOUDSDK_COMPONENT_MANAGER_DISABLE_UPDATE_CHECK=true
# FEDERATION?
# FEDERATION?
:
${
FEDERATION
:
=
"false"
}
:
${
FEDERATION
:
=
"false"
}
:
${
RELEASE_INFRA_PUSH
:
=
"false"
}
:
${
KUBE_RELEASE_RUN_TESTS
:
=
"n"
}
:
${
KUBE_RELEASE_RUN_TESTS
:
=
"n"
}
export
KUBE_RELEASE_RUN_TESTS RELEASE_INFRA_PUSH FEDERATION
# 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.
...
@@ -67,14 +74,17 @@ elif ${RELEASE_INFRA_PUSH-}; then
...
@@ -67,14 +74,17 @@ elif ${RELEASE_INFRA_PUSH-}; then
if
[[
!
-x
${
release_infra_clone
}
/push-ci-build.sh
]]
;
then
if
[[
!
-x
${
release_infra_clone
}
/push-ci-build.sh
]]
;
then
echo
"FATAL: Something went wrong."
\
echo
"FATAL: Something went wrong."
\
"
${
release_infra_clone
}
/push-ci-build.sh isn't available. Exiting..."
>
&2
"
${
release_infra_clone
}
/push-ci-build.sh isn't available."
\
"Exiting..."
>
&2
exit
1
exit
1
fi
fi
[[
-n
"
$KUBE_GCS_RELEASE_BUCKET
"
]]
\
&&
bucket_flag
=
"--bucket=
$KUBE_GCS_RELEASE_BUCKET
"
${
FEDERATION
}
&&
federation_flag
=
"--federation"
${
FEDERATION
}
&&
federation_flag
=
"--federation"
# Use --nomock to do the real thing
${
SET_NOMOCK_FLAG
}
&&
mock_flag
=
"--nomock"
#$release_infra_clone/push-ci-build.sh --nomock ${federation_flag-}
${
release_infra_clone
}
/push-ci-build.sh
${
bucket_flag
-
}
${
federation_flag
-
}
\
${
release_infra_clone
}
/push-ci-build.sh
${
federation
_flag
-
}
${
mock
_flag
-
}
else
else
./build/push-ci-build.sh
./build/push-ci-build.sh
fi
fi
...
...
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