Implement authentication via Gitea
Some checks failed
/ checks (pull_request) Failing after 14s

This commit is contained in:
Bart van der Braak 2024-11-20 23:59:35 +01:00
parent 0f45b38432
commit edb56e96dc
22 changed files with 134 additions and 82 deletions

View file

@ -26,8 +26,8 @@ class LinkMultipleFileUpload(plugins_steps.MultipleFileUpload):
return
def create_deliver_step(ENVIRONMENT):
worker_config = conf.worker.get_config(ENVIRONMENT)
def create_deliver_step(environment):
worker_config = conf.worker.get_config(environment)
file_size_in_mb = 500 * 1024 * 1024
worker_source_path = pathlib.Path("../../../../git/blender-vdev/build_package")
@ -48,7 +48,7 @@ def create_deliver_step(ENVIRONMENT):
)
def populate(ENVIRONMENT):
def populate(environment):
properties = [
buildbot.plugins.util.StringParameter(
name="commit_id",
@ -68,7 +68,7 @@ def populate(ENVIRONMENT):
]
return pipeline.common.create_pipeline(
ENVIRONMENT,
environment,
"code-benchmark",
"code_benchmark.py",
[
@ -78,7 +78,7 @@ def populate(ENVIRONMENT):
"compile-gpu",
"compile-install",
"benchmark",
partial(create_deliver_step, ENVIRONMENT),
partial(create_deliver_step, environment),
"clean",
],
{"vdev": "main"},