change downloading address

This commit is contained in:
Muzahid 2022-02-25 12:20:14 +05:30
parent b0c434dcb6
commit 9fc6e77073
Signed by: cis-muzahid
GPG Key ID: 1DC85E7D3AB613EA
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ Requires docker
# TODO: write hook job, maybe also a dockerfile?
# TODO: what to do about non-docker jobs
from os import listdir, walk
from os import listdir, walk, getenv
from os.path import exists, isfile, join
import requests
import re
@ -41,7 +41,7 @@ def add_parent_step(build_factory):
build_factory.addStep(steps.ShellCommand(
name="download worker",
command=["sudo", "wget", "-O", "https://git.bitmessage.org/Bitmessage/buildbot_multibuild/raw/branch/master/lib/worker_multibuild.py", ".local/bin/worker_multibuild.py"]
command=["sudo", "wget", "-O", "https://git.bitmessage.org/Bitmessage/buildbot_multibuild/raw/branch/master/lib/worker_multibuild.py", join(getenv['HOME'], '.local/bin/worker_multibuild.py')]
))
# build_factory.addStep(
@ -70,7 +70,7 @@ def add_parent_step(build_factory):
def add_child_sh_steps(build_factory, directory=".buildbot"):
"""
Add a step to the download, build and test factory
Add a step to the download, build and test factory
"""
build_factory.addStep(