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
60726da4
Commit
60726da4
authored
Feb 01, 2017
by
Robert Rati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add env variable to build federation images locally. #39870
parent
ff67d821
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
develop.sh
federation/develop/develop.sh
+8
-3
No files found.
federation/develop/develop.sh
View file @
60726da4
...
@@ -43,10 +43,15 @@ readonly TMP_DIR="$(mktemp -d)"
...
@@ -43,10 +43,15 @@ readonly TMP_DIR="$(mktemp -d)"
readonly
FEDERATION_OUTPUT_ROOT
=
"
${
LOCAL_OUTPUT_ROOT
}
/federation"
readonly
FEDERATION_OUTPUT_ROOT
=
"
${
LOCAL_OUTPUT_ROOT
}
/federation"
readonly
VERSIONS_FILE
=
"
${
FEDERATION_OUTPUT_ROOT
}
/versions"
readonly
VERSIONS_FILE
=
"
${
FEDERATION_OUTPUT_ROOT
}
/versions"
detect-project
if
[[
"
${
KUBERNETES_PROVIDER
}
"
==
"gke"
||
"
${
KUBERNETES_PROVIDER
}
"
==
"gce"
]]
;
then
readonly
KUBE_PROJECT
=
"
${
KUBE_PROJECT
:-${
PROJECT
:-}}
"
detect-project
readonly
KUBE_PROJECT
=
"
${
KUBE_PROJECT
:-${
PROJECT
:-}}
"
readonly
KUBE_REGISTRY
=
"
${
KUBE_REGISTRY
:-
gcr
.io/
${
KUBE_PROJECT
}}
"
else
readonly
KUBE_PROJECT
=
"
${
KUBE_PROJECT
:-${
PROJECT
:-
federation
}}
"
readonly
KUBE_REGISTRY
=
"
${
KUBE_REGISTRY
:-
localhost
:5000/
${
KUBE_PROJECT
}}
"
fi
readonly
KUBE_REGISTRY
=
"
${
KUBE_REGISTRY
:-
gcr
.io/
${
KUBE_PROJECT
}}
"
# In dev environments this value must be recomputed after build. See
# In dev environments this value must be recomputed after build. See
# the build_image() function. So not making it readonly
# the build_image() function. So not making it readonly
KUBE_VERSION
=
"
${
KUBE_VERSION
:-}
"
KUBE_VERSION
=
"
${
KUBE_VERSION
:-}
"
...
...
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