test
This commit is contained in:
parent
462786bb37
commit
649bb5b1bc
|
@ -544,6 +544,13 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
|||
logging.debug('Committing files into git mirror')
|
||||
repo.index.commit("fdroidserver git-mirror")
|
||||
|
||||
# Test
|
||||
import os
|
||||
os.listdir()
|
||||
print(f"In index-only: {index_only} mode")
|
||||
print(repo.git.status())
|
||||
print(repo.head.log())
|
||||
|
||||
# only deploy to GitLab Artifacts if too big for GitLab Pages
|
||||
if common.get_dir_size(git_fdroiddir) <= common.GITLAB_COM_PAGES_MAX_SIZE:
|
||||
gitlab_ci_job_name = 'pages'
|
||||
|
@ -556,10 +563,6 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
|||
% (common.GITLAB_COM_PAGES_MAX_SIZE / 1000000000)
|
||||
)
|
||||
|
||||
# Test
|
||||
print(repo.git.status())
|
||||
print(repo.head.log())
|
||||
|
||||
# push. This will overwrite the git history
|
||||
remote = repo.remote(name)
|
||||
if remote.name == 'gitlab':
|
||||
|
|
Loading…
Reference in New Issue