Pull request #10: adjusted build scripts for repo rename

Merge in RR/fb-detr from refactor-build to master

Squashed commit of the following:

commit 96d272ecfaf94b88ade5dd64fce662832ec44684
Author: Julius Unverfehrt <Julius.Unverfehrt@iqser.com>
Date:   Mon Feb 21 16:31:31 2022 +0100

    adjusted build scripts for repo rename
This commit is contained in:
Julius Unverfehrt 2022-02-21 16:32:38 +01:00
parent 3e2cb94060
commit 0f4acddd02
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
ARG BASE_ROOT="nexus.iqser.com:5001/red/"
ARG VERSION_TAG="latest"
FROM ${BASE_ROOT}fb_detr_prediction_container-base:${VERSION_TAG}
FROM ${BASE_ROOT}fb-detr-base:${VERSION_TAG}
WORKDIR /app/service

View File

@ -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_prediction_container";
private static final String SERVICE_NAME_BASE = "fb_detr_prediction_container-base";
private static final String SERVICE_NAME = "fb-detr";
private static final String SERVICE_NAME_BASE = "fb-detr-base";
private static final String SERVICE_KEY = SERVICE_NAME.toUpperCase().replaceAll("-","").replaceAll("_","");
@ -72,7 +72,7 @@ public class PlanSpec {
return new Plan(
project(),
SERVICE_NAME, new BambooKey(SERVICE_KEY))
.description("Docker build for fb_detr_prediction_container.")
.description("Docker build for fb-detr.")
// .variables()
.stages(new Stage("Build Stage")
.jobs(

View File

@ -11,5 +11,5 @@ dvc pull
git submodule update --init --recursive
docker build -f Dockerfile_base -t fb_detr_prediction_container-base .
docker build -f Dockerfile -t detr-server .
docker build -f Dockerfile_base -t fb-detr-base .
docker build -f Dockerfile -t fb-detr .