feat: added prerequisites
This commit is contained in:
parent
ce273209c1
commit
41d4efd624
3 changed files with 23 additions and 4 deletions
|
|
@ -61,13 +61,15 @@ func checkoutRepositories(repositories []Repository) {
|
|||
|
||||
// create clone gitlab url
|
||||
repoName := string(repo.PathWithNamespace)
|
||||
gitlabUrl := fmt.Sprintf("https://gitlab-token:%s@%s/%s.git",
|
||||
gitlabToken, gitlabHost, repoName)
|
||||
gitlabUrl := fmt.Sprintf("https://gitlab-token:%s@%s/%s.git",
|
||||
gitlabToken,
|
||||
gitlabHost,
|
||||
repoName)
|
||||
|
||||
// create repository destination
|
||||
repoDestination := repoDestinationPre + repoName
|
||||
|
||||
// create bar description
|
||||
// create and update bar description
|
||||
descriptionPrefixPre := "Cloning repository "
|
||||
descriptionPrefix := descriptionPrefixPre + repoName + " ..."
|
||||
bar.Describe(descriptionPrefix)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue