sonic-buildimage/platform/centec
Kalimuthu-Velappan bc30528341
Parallel building of sonic dockers using native dockerd(dood). (#10352)
Currently, the build dockers are created as a user dockers(docker-base-stretch-<user>, etc) that are
specific to each user. But the sonic dockers (docker-database, docker-swss, etc) are
created with a fixed docker name and common to all the users.

    docker-database:latest
    docker-swss:latest

When multiple builds are triggered on the same build server that creates parallel building issue because
all the build jobs are trying to create the same docker with latest tag.
This happens only when sonic dockers are built using native host dockerd for sonic docker image creation.

This patch creates all sonic dockers as user sonic dockers and then, while
saving and loading the user sonic dockers, it rename the user sonic
dockers into correct sonic dockers with tag as latest.

	docker-database:latest <== SAVE/LOAD ==> docker-database-<user>:tag

The user sonic docker names are derived from 'DOCKER_USERNAME and DOCKER_USERTAG' make env
variable and using Jinja template, it replaces the FROM docker name with correct user sonic docker name for
loading and saving the docker image.
2022-04-28 08:39:37 +08:00
..
centec-dal Update Centec platform support for Bullseye and 5.10 kernel (#7) 2021-11-10 15:27:22 -08:00
docker-saiserver-centec Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
docker-syncd-centec Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
docker-syncd-centec-rpc Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
sonic-platform-modules-e582 Update Centec platform support for Bullseye and 5.10 kernel (#7) 2021-11-10 15:27:22 -08:00
sonic-platform-modules-embedway Update Centec platform support for Bullseye and 5.10 kernel (#7) 2021-11-10 15:27:22 -08:00
sonic-platform-modules-v682 [centec] support v682-48y8c and v682-48x8c (#9349) 2021-12-17 15:20:27 -08:00
.gitignore [centec] Support saiserver docker for centec-x86 and centec-arm64 platform (#9162) 2021-11-15 21:58:47 -08:00
docker-saiserver-centec.dep [centec] Support saiserver docker for centec-x86 and centec-arm64 platform (#9162) 2021-11-15 21:58:47 -08:00
docker-saiserver-centec.mk [centec][build] Fix docker-syncd-centec-rpc build fail (#9612) 2022-01-05 10:44:38 -08:00
docker-syncd-centec-rpc.mk [centec][build] Fix docker-syncd-centec-rpc build fail (#9612) 2022-01-05 10:44:38 -08:00
docker-syncd-centec.mk [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
libsaithrift-dev.mk [centec] Support saiserver docker for centec-x86 and centec-arm64 platform (#9162) 2021-11-15 21:58:47 -08:00
one-image.mk [centec] support v682-48y8c and v682-48x8c (#9349) 2021-12-17 15:20:27 -08:00
platform-modules-centec-e582.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-centec-v682.mk [centec] support v682-48y8c and v682-48x8c (#9349) 2021-12-17 15:20:27 -08:00
platform-modules-embedway.mk [Centec] upgrade to buster docker for DOCKER_SYNCD_CENTEC_RPC, docker-saiserver-centec and platform-modules (#6423) 2021-01-12 12:36:10 -08:00
platform.conf Support centec platform (#376) 2017-03-04 02:17:38 -08:00
rules.mk [centec] Support saiserver docker for centec-x86 and centec-arm64 platform (#9162) 2021-11-15 21:58:47 -08:00
sdk.mk [centec] support v682-48y8c and v682-48x8c (#9349) 2021-12-17 15:20:27 -08:00