Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 73a17c4c authored by Gilles Habran's avatar Gilles Habran
Browse files

AITED-249: update ecr link for ci images

parent 9a6db795
No related branches found
No related tags found
1 merge request!3AITED-249: update ecr link for ci images
......@@ -10,7 +10,7 @@ build-image:
image:
name: gcr.io/kaniko-project/executor:v1.9.0-debug
entrypoint: [ "" ]
script: sh -x ci/build_push_image.sh "528719223857.dkr.ecr.eu-west-1.amazonaws.com/sagemaker-classifiers-ci:$(/busybox/sh ci/get_config_value.sh image_name)-$CI_PIPELINE_ID"
script: sh -x ci/build_push_image.sh "528719223857.dkr.ecr.eu-west-1.amazonaws.com/ci-temporary-images:$(/busybox/sh ci/get_config_value.sh image_name)-$CI_PIPELINE_ID"
train:
stage: train
......
......@@ -73,11 +73,11 @@ These artifacts must then be deployed using terraform to create SageMaker endpoi
### All pipelines
#### build-image
Executes the script ci/build_push_image.sh to build the Docker image for SageMaker training and push it to Amazon ECR repository sagemaker-classifiers-ci.
Executes the script ci/build_push_image.sh to build the Docker image for SageMaker training and push it to Amazon ECR repository ci-temporary-images.
To facilitate the cleanup, 2 distinct ECR repositories were created:
* sagemaker-classifiers-ci: contains temporary Docker images for CI needs (feature branches) - automatically removed after some time
* ci-temporary-images: contains temporary Docker images for CI needs (feature branches) - automatically removed after some time
* sagemaker-classifiers: contains the real images that will be used for inference - not removed
#### train
......
......@@ -17,7 +17,7 @@ fi
s3_training_data_prefix="s3://d-ew1-ted-ai-ml-data/experiments/$experiment_id"
datetime=$(date '+%Y-%m-%d-%H-%M-%S')
image_url="528719223857.dkr.ecr.eu-west-1.amazonaws.com/sagemaker-classifiers-ci:$image_name-$CI_PIPELINE_ID"
image_url="528719223857.dkr.ecr.eu-west-1.amazonaws.com/ci-temporary-images:$image_name-$CI_PIPELINE_ID"
s3_output_prefix=s3://d-ew1-ted-ai-ml-models/models-ci
metrics="$(cat metrics.json)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment