This commit is contained in:
parent
e200ff583b
commit
ee69c088c2
2 changed files with 16 additions and 16 deletions
|
@ -104,5 +104,4 @@ from various contexts of CA, CI and OCI / OS.
|
||||||
### .sh
|
### .sh
|
||||||
|
|
||||||
* check if file & variable match
|
* check if file & variable match
|
||||||
* clone branch if not gitlab
|
|
||||||
* support opensuse
|
* support opensuse
|
||||||
|
|
|
@ -17,24 +17,25 @@ COMMANDS_PREFIX = "spcd-"
|
||||||
|
|
||||||
|
|
||||||
def clone_project_branch() -> None:
|
def clone_project_branch() -> None:
|
||||||
step("Clone project branch")
|
if not projects.environment.get("GITLAB_CI"):
|
||||||
log.info(projects)
|
step("Clone project branch")
|
||||||
split()
|
log.info(projects)
|
||||||
log.info(project)
|
split()
|
||||||
split()
|
log.info(project)
|
||||||
log.info(f"""\
|
split()
|
||||||
|
log.info(f"""\
|
||||||
{project.url}
|
{project.url}
|
||||||
↓
|
↓
|
||||||
""")
|
""")
|
||||||
run(
|
run(
|
||||||
"git",
|
"git",
|
||||||
"clone",
|
"clone",
|
||||||
"--branch",
|
"--branch",
|
||||||
project.branch,
|
project.branch,
|
||||||
"--",
|
"--",
|
||||||
project.url,
|
project.url,
|
||||||
project.root,
|
project.root,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def install_commands(path: str) -> None:
|
def install_commands(path: str) -> None:
|
||||||
|
|
Loading…
Reference in a new issue