From 0858a69364993b4b877c13145707e8b70119aa79 Mon Sep 17 00:00:00 2001 From: Julius Unverfehrt Date: Wed, 22 Jun 2022 12:43:58 +0200 Subject: [PATCH] update planspec in order to add pyinfra as subrepo to bamboo, since it cant't be updated on other branches --- bamboo-specs/src/main/java/buildjob/PlanSpec.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bamboo-specs/src/main/java/buildjob/PlanSpec.java b/bamboo-specs/src/main/java/buildjob/PlanSpec.java index ec8905b..1dd7270 100644 --- a/bamboo-specs/src/main/java/buildjob/PlanSpec.java +++ b/bamboo-specs/src/main/java/buildjob/PlanSpec.java @@ -84,6 +84,9 @@ public class PlanSpec { new VcsCheckoutTask() .description("Checkout default repository.") .checkoutItems(new CheckoutItem().defaultRepository()), + new VcsCheckoutTask() + .description("Checkout pyinfra research repository.") + .checkoutItems(new CheckoutItem().repository("RR / pyinfra").path("pyinfra")), new ScriptTask() .description("Set config and keys.") .inlineBody("mkdir -p ~/.ssh\n" + @@ -108,6 +111,9 @@ public class PlanSpec { new VcsCheckoutTask() .description("Checkout default repository.") .checkoutItems(new CheckoutItem().defaultRepository()), + new VcsCheckoutTask() + .description("Checkout pyinfra research repository.") + .checkoutItems(new CheckoutItem().repository("RR / pyinfra").path("pyinfra")), new ScriptTask() .description("Set config and keys.") .inlineBody("mkdir -p ~/.ssh\n" + @@ -146,7 +152,7 @@ public class PlanSpec { .defaultRepository()) .dockerConfiguration( new DockerConfiguration() - .image("nexus.iqser.com:5001/infra/release_build:2.7.0")), + .image("nexus.iqser.com:5001/infra/release_build:4.4.1")), new Job("Licence Job", new BambooKey("LICENCE")) .enabled(false) .tasks( @@ -163,6 +169,7 @@ public class PlanSpec { .volume("/etc/maven/settings.xml", "/usr/share/maven/ref/settings.xml") .volume("/var/run/docker.sock", "/var/run/docker.sock")))) .linkedRepositories("RR / " + SERVICE_NAME) + .linkedRepositories("RR / pyinfra") .triggers(new BitbucketServerTrigger()) .planBranchManagement(new PlanBranchManagement() .createForVcsBranch()