Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Community Edition
Commits
d674cc19
Commit
d674cc19
authored
4 years ago
by
github-actions
Browse files
Options
Download
Email Patches
Plain Diff
Github token only supported on https
parent
3f8b21bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hack/build-tanzu.sh
+3
-3
hack/build-tanzu.sh
with
3 additions
and
3 deletions
+3
-3
hack/build-tanzu.sh
+
3
-
3
View file @
d674cc19
...
...
@@ -40,7 +40,7 @@ fi
rm
-rf
"
${
ROOT_REPO_DIR
}
/tkg-providers"
set
+x
git clone
--depth
1
--branch
"
${
TKG_PROVIDERS_REPO_BRANCH
}
"
"
ssh
://git@github.com/vmware-tanzu-private/tkg-providers.git"
git clone
--depth
1
--branch
"
${
TKG_PROVIDERS_REPO_BRANCH
}
"
"
https
://git
:
${
GH_ACCESS_TOKEN
}
@github.com/vmware-tanzu-private/tkg-providers.git"
set
-x
pushd
"
${
ROOT_REPO_DIR
}
/tkg-providers"
||
exit
1
git reset
--hard
...
...
@@ -49,7 +49,7 @@ popd || exit 1
rm
-rf
"
${
ROOT_REPO_DIR
}
/core"
mv
-f
"
${
HOME
}
/.tanzu"
"
${
HOME
}
/.tanzu-
$(
date
+
"%Y-%m-%d_%H:%M"
)
"
set
+x
git clone
--depth
1
--branch
"
${
TANZU_CORE_REPO_BRANCH
}
"
"
ssh
://git@github.com/vmware-tanzu-private/core.git"
git clone
--depth
1
--branch
"
${
TANZU_CORE_REPO_BRANCH
}
"
"
https
://git
:
${
GH_ACCESS_TOKEN
}
@github.com/vmware-tanzu-private/core.git"
set
-x
pushd
"
${
ROOT_REPO_DIR
}
/core"
||
exit
1
git reset
--hard
...
...
@@ -62,7 +62,7 @@ popd || exit 1
rm
-rf
"
${
ROOT_REPO_DIR
}
/tanzu-cli-tkg-plugins"
set
+x
git clone
--depth
1
--branch
"
${
TANZU_TKG_CLI_PLUGINS_REPO_BRANCH
}
"
"
ssh
://git@github.com/vmware-tanzu-private/tanzu-cli-tkg-plugins.git"
git clone
--depth
1
--branch
"
${
TANZU_TKG_CLI_PLUGINS_REPO_BRANCH
}
"
"
https
://git
:
${
GH_ACCESS_TOKEN
}
@github.com/vmware-tanzu-private/tanzu-cli-tkg-plugins.git"
set
-x
pushd
"
${
ROOT_REPO_DIR
}
/tanzu-cli-tkg-plugins"
||
exit
1
git reset
--hard
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help