Commit 2319683f authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix CI

parent b2b8f537
Pipeline #14762 failed with stage
in 55 seconds
......@@ -339,9 +339,11 @@ class Project(Links, NamedModel, TimeStampedModel):
branch = str(self.main_branch()).split('/', maxsplit=2)[2]
self.git().head.commit = self.git().remotes[self.main_repo().git_remote()].refs[branch].commit
def main_gitlab_repo(self):
return self.repo_set.get(forge__source=SOURCES.gitlab, namespace=self.main_namespace)
def ci_jobs(self):
if self.main_forge.source == SOURCES.gitlab:
def update(self, only_main_branches=True):
if self.main_namespace is None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment