sonic-buildimage/platform/barefoot
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
..
bfn-modules [BFN] Added the latest version of FPGA driver and modules (#10458) 2022-04-16 15:11:59 -07:00
docker-saiserver-bfn [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-syncd-bfn Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
docker-syncd-bfn-rpc Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
sonic-platform-modules-accton Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30
sonic-platform-modules-arista@9b61f8bdbe [Arista] Update platform submodules (#10561) 2022-04-21 13:14:59 -07:00
sonic-platform-modules-bfn [platform/barefoot] fix bullseye build system (#9779) 2022-01-22 10:33:34 -08:00
sonic-platform-modules-bfn-montara [BFN] Fix exception when fwutil run without sudo (#10335) 2022-04-05 11:33:51 -07:00
sonic-platform-modules-bfn-newport [BFN] Added the latest version of FPGA driver and modules (#10458) 2022-04-16 15:11:59 -07:00
sonic-platform-modules-ingrasys Update Barefoot platform module for Bullseye and 5.10 kernel (#8) 2021-11-10 15:27:22 -08:00
sonic-platform-modules-wnc-osw1800 [dockers] Barefoot fix bulleye build (#9766) 2022-01-16 11:25:44 -08:00
.gitignore [barefoot]: Add psample module to load at boot time on BFN platform (#7164) 2021-03-26 11:08:28 -07:00
bfn-modules.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
bfn-platform-ingrasys.mk [platform] update Ingrassy platform to support stretch (#2322) 2018-11-30 20:46:36 -08:00
bfn-platform-wnc.mk [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
bfn-platform.mk [BFN] updated SDE packages for BFN platforms (#10512) 2022-04-09 10:47:55 -07:00
bfn-sai.mk [BFN] updated SDE packages for BFN platforms (#10512) 2022-04-09 10:47:55 -07:00
docker-syncd-bfn-rpc.mk [BFN] syncd-rpc build with thrift 0.14.1 (#9884) 2022-02-18 01:44:42 -08:00
docker-syncd-bfn.mk [BFN] Fixed BFN platform build (#9271) 2021-11-26 00:48:48 -08:00
libsaithrift-dev.mk [BFN] Remove SAI patches (#10343) 2022-03-31 21:49:22 +02:00
one-aboot.mk [Arista] Update driver submodules (#9393) 2021-12-08 11:33:36 -08:00
one-image.mk Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30
platform-modules-accton.mk Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30
platform-modules-arista.mk [Arista] Update driver submodules (#9393) 2021-12-08 11:33:36 -08:00
platform-modules-bfn-montara.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-bfn-newport.mk [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
platform-modules-bfn.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-ingrasys.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-wnc-osw1800.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform.conf [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
rules.mk Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30