From 63fbeba1a54b62bcab913161a2c4e104dce95cbc Mon Sep 17 00:00:00 2001 From: cdietrich Date: Thu, 17 Feb 2022 16:25:40 +0100 Subject: [PATCH] change service name to repo name --- Dockerfile | 2 +- bamboo-specs/src/main/java/buildjob/PlanSpec.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce41849..c7d3c41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG BASE_ROOT="nexus.iqser.com:5001/red/" ARG VERSION_TAG=latest -FROM ${BASE_ROOT}detr-server-base:${VERSION_TAG} +FROM ${BASE_ROOT}fb_detr_prediction_container-base:${VERSION_TAG} WORKDIR /app/service diff --git a/bamboo-specs/src/main/java/buildjob/PlanSpec.java b/bamboo-specs/src/main/java/buildjob/PlanSpec.java index dbbbf7e..405fc96 100644 --- a/bamboo-specs/src/main/java/buildjob/PlanSpec.java +++ b/bamboo-specs/src/main/java/buildjob/PlanSpec.java @@ -33,8 +33,8 @@ import com.atlassian.bamboo.specs.model.task.ScriptTaskProperties.Location; @BambooSpec public class PlanSpec { - private static final String SERVICE_NAME = "fb-detr-service"; - private static final String SERVICE_NAME_BASE = "fb-detr-service-base"; + private static final String SERVICE_NAME = "fb_detr_prediction_container"; + private static final String SERVICE_NAME_BASE = "fb_detr_prediction_container-base"; private static final String SERVICE_KEY = SERVICE_NAME.toUpperCase().replaceAll("-",""); @@ -72,7 +72,7 @@ public class PlanSpec { return new Plan( project(), SERVICE_NAME, new BambooKey(SERVICE_KEY)) - .description("Docker build for image-service.") + .description("Docker build for fb_detr_prediction_container.") // .variables() .stages(new Stage("Build Stage") .jobs(