Skip to content

Commit 4a4a568

Browse files
authored
Merge pull request #748 from ros-infrastructure/simplified_docker_prefix
Reduce uniqueness of docker images to prevent continuous aggregation
2 parents fc29c5a + d2797ce commit 4a4a568

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ros_buildfarm/templates/ci/ci_job.xml.em

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ parameters = [
157157
'sleep 1',
158158
'',
159159
'# create a unique dockerfile name prefix',
160-
'export DOCKER_IMAGE_PREFIX=$(date +%s.%N)',
160+
'[ -z "$EXECUTOR_NUMBER" ] && export EXECUTOR_NUMBER=0',
161+
'export DOCKER_IMAGE_PREFIX=executor_$EXECUTOR_NUMBER',
161162
'',
162163
'# generate Dockerfile, build and run it',
163164
'# generating the Dockerfiles for the actual CI tasks',

0 commit comments

Comments
 (0)