phase2: s/SetProperty/SetPropertyFromCommand/
authorThibaut VARÈNE <hacks@slashdirt.org>
Sat, 11 Nov 2023 15:28:07 +0000 (16:28 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 16 Nov 2023 08:57:19 +0000 (09:57 +0100)
Align with phase1 (3141c97)

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase2/master.cfg

index 7342363a4dd87f8245b0c89e77c6041fd668d677..9a0211f49997ccf0428ca2c073360ce161998009 100644 (file)
@@ -29,7 +29,7 @@ from buildbot.process.properties import WithProperties
 from buildbot.schedulers.basic import SingleBranchScheduler
 from buildbot.schedulers.forcesched import ForceScheduler
 from buildbot.steps.master import MasterShellCommand
-from buildbot.steps.shell import SetProperty
+from buildbot.steps.shell import SetPropertyFromCommand
 from buildbot.steps.shell import ShellCommand
 from buildbot.steps.transfer import FileDownload
 from buildbot.steps.transfer import FileUpload
@@ -435,7 +435,7 @@ for arch in arches:
                doStepIf = IsSharedWorkdir))
 
        # find number of cores
-       factory.addStep(SetProperty(
+       factory.addStep(SetPropertyFromCommand(
                name = "nproc",
                property = "nproc",
                description = "Finding number of CPUs",
@@ -517,7 +517,7 @@ for arch in arches:
                workerdest = "sdk/getversion.mk",
                mode = 0o755))
 
-       factory.addStep(SetProperty(
+       factory.addStep(SetPropertyFromCommand(
                name = "getversion",
                property = "release_version",
                description = "Finding SDK release version",