change service name to repo name
This commit is contained in:
parent
07cb72a572
commit
63fbeba1a5
@ -1,7 +1,7 @@
|
|||||||
ARG BASE_ROOT="nexus.iqser.com:5001/red/"
|
ARG BASE_ROOT="nexus.iqser.com:5001/red/"
|
||||||
ARG VERSION_TAG=latest
|
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
|
WORKDIR /app/service
|
||||||
|
|
||||||
|
|||||||
@ -33,8 +33,8 @@ import com.atlassian.bamboo.specs.model.task.ScriptTaskProperties.Location;
|
|||||||
@BambooSpec
|
@BambooSpec
|
||||||
public class PlanSpec {
|
public class PlanSpec {
|
||||||
|
|
||||||
private static final String SERVICE_NAME = "fb-detr-service";
|
private static final String SERVICE_NAME = "fb_detr_prediction_container";
|
||||||
private static final String SERVICE_NAME_BASE = "fb-detr-service-base";
|
private static final String SERVICE_NAME_BASE = "fb_detr_prediction_container-base";
|
||||||
|
|
||||||
private static final String SERVICE_KEY = SERVICE_NAME.toUpperCase().replaceAll("-","");
|
private static final String SERVICE_KEY = SERVICE_NAME.toUpperCase().replaceAll("-","");
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ public class PlanSpec {
|
|||||||
return new Plan(
|
return new Plan(
|
||||||
project(),
|
project(),
|
||||||
SERVICE_NAME, new BambooKey(SERVICE_KEY))
|
SERVICE_NAME, new BambooKey(SERVICE_KEY))
|
||||||
.description("Docker build for image-service.")
|
.description("Docker build for fb_detr_prediction_container.")
|
||||||
// .variables()
|
// .variables()
|
||||||
.stages(new Stage("Build Stage")
|
.stages(new Stage("Build Stage")
|
||||||
.jobs(
|
.jobs(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user