-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makefile: Extend to build debug docker images for all stretch dockers #2789
Commits on Apr 5, 2019
-
Updated Makefile infrastructure to build debug images.
As a sample, platform/broadcom/docker-orchagent-brcm.mk is updated to add a docker-orchagent-brcm-dbg.gz target. Now "BLDENV=stretch make target/docker-orchagent-brcm-dbg.gz" will build the debug image. NOTE: If you don't specify NOSTRETcH=1, it implicitly calls "make stretch", which builds all stretch targets and that would include debug dockers too. This debug image can be used in any linux box to inspect core file. If your module's external dependency can be suitably mocked, you my even manually run it inside. "docker run -it --entrypoint=/bin/bash e47a8fb8ed38" You may map the core file path to this docker run.
Configuration menu - View commit details
-
Copy full SHA for 941eb7d - Browse repository at this point
Copy the full SHA 941eb7dView commit details
Commits on Apr 6, 2019
-
Dropped the regular binary using DBG_PACKAGES and a small name change…
… to help readability.
Configuration menu - View commit details
-
Copy full SHA for 042d51e - Browse repository at this point
Copy the full SHA 042d51eView commit details
Commits on Apr 8, 2019
-
Tweaked the changes to retain the existing behavior w.r.t INSTALL_DEB…
…UG_TOOLS=y. When this change ('building debug docker image transparently') is extended to all dockers, this flag would become redundant. Yet, there can be some test based use cases that rely on this flag. Until after all the dockers gets their debug images by default and we switch all use cases of this flag to use the newly built debug images, we need to maintain the existing behavior.
Configuration menu - View commit details
-
Copy full SHA for 24f38f2 - Browse repository at this point
Copy the full SHA 24f38f2View commit details
Commits on Apr 11, 2019
-
1) slave.mk - Dropped unused Docker build args
2) Debug template builder: renamed build_dbg_j2.sh to build_debug_docker_j2.sh 3) Dropped insignifcant statement CMD from debug Docker file, as base docker has Entrypoint.
Configuration menu - View commit details
-
Copy full SHA for 4443c70 - Browse repository at this point
Copy the full SHA 4443c70View commit details -
Reverted some changes, per review comments.
"User, uid, guid, frr-uid & frr-guid" are required for all docker images, with exception of debug images.
Configuration menu - View commit details
-
Copy full SHA for 7b84e64 - Browse repository at this point
Copy the full SHA 7b84e64View commit details
Commits on Apr 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c717e50 - Browse repository at this point
Copy the full SHA c717e50View commit details -
Get in sync with the new update that filters out dockers to be built …
…(SONIC_STRETCH_DOCKERS_FOR_INSTALLERS) and build debug-dockers only for those to be built and debug target is available.
Configuration menu - View commit details
-
Copy full SHA for 60a001c - Browse repository at this point
Copy the full SHA 60a001cView commit details
Commits on Apr 15, 2019
-
Merge remote-tracking branch 'upstream/master'
merge with upstream
Configuration menu - View commit details
-
Copy full SHA for cefc4b8 - Browse repository at this point
Copy the full SHA cefc4b8View commit details -
Mkae a template for each target that can be shared by all platforms.
Where needed a platform entry can override the template. This avoids duplication, hence easier to maintain.
Configuration menu - View commit details
-
Copy full SHA for f659917 - Browse repository at this point
Copy the full SHA f659917View commit details -
A small change, that can fit better with other targets too.
Just take the platform code and do the rest in template.
Configuration menu - View commit details
-
Copy full SHA for 9d7aedb - Browse repository at this point
Copy the full SHA 9d7aedbView commit details
Commits on Apr 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 279084f - Browse repository at this point
Copy the full SHA 279084fView commit details
Commits on Apr 18, 2019
-
Merge remote-tracking branch 'upstream/master'
sync with upstream
Configuration menu - View commit details
-
Copy full SHA for 99783dd - Browse repository at this point
Copy the full SHA 99783ddView commit details -
1) Combined all orchagent makefiles into one platform independent mak…
…e under rules/docker-orchagent.mk 2) Extened debug image to all stretch dockers
Configuration menu - View commit details
-
Copy full SHA for a2297a3 - Browse repository at this point
Copy the full SHA a2297a3View commit details -
1) Dropped LIBSAIREDIS_DBG from database, teamd, router-advertiser, telemetry, and platform-monitor docker*.mk files from _DBG_DEPENDS list 2) W.r.t docker make for syncd, moved DEPENDS from template to specific makefile and let the template has stuff that is applicable to all.
Configuration menu - View commit details
-
Copy full SHA for b4b30fd - Browse repository at this point
Copy the full SHA b4b30fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 575e43d - Browse repository at this point
Copy the full SHA 575e43dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e504eb7 - Browse repository at this point
Copy the full SHA e504eb7View commit details
Commits on Apr 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0db6c0f - Browse repository at this point
Copy the full SHA 0db6c0fView commit details