Commit Graph

7841 Commits

Author SHA1 Message Date
lguohan
775156f3bf [thrift]: fix thrift 0.9.3 test failure (#135)
https://issues.apache.org/jira/browse/THRIFT-3577
2016-12-16 19:12:56 -08:00
Shuotian Cheng
da9022971e Makefile: Add platform generic for platform neutral targets (#127) 2016-12-15 19:43:17 -08:00
Qi Luo
f92ee6937c Add mkdir if the target dir does not exist (#130) 2016-12-16 02:19:15 +00:00
Qi Luo
f20bba87a0 Refine get_docker-base: store the file in target directory (#129) 2016-12-15 17:19:11 -08:00
Qi Luo
8886fc8286 Fix build: install libjemalloc1 when build docker images (#128)
* Fix build: install libjemalloc1 when build docker images

* (comment)
2016-12-15 16:48:22 -08:00
lguohan
82e6b1d7d4 [quagga]: add bgp ipv6 ecmp support (#123) 2016-12-14 21:02:44 -08:00
lguohan
131aa6f4ed bug fix: build docker orchagent brcm (#122) 2016-12-14 21:02:21 -08:00
lguohan
a65224abc5 add build badge for broadcom platform 2016-12-14 14:33:07 -08:00
lguohan
98e3479e26 build orchagent and syncd docker on broadcom platform (#118)
* build orchagent and syncd docker on broadcom platform
2016-12-14 14:33:07 -08:00
Marian Pritsak
c199614b69 Add redis-tools to docker-orchagent (#117)
Changes done in 7c9bffb18f
removed runtime dependency on redis from hiredis.
So we need to add them manually into orchagent docker
2016-12-14 14:33:07 -08:00
Marian Pritsak
1e3fdc45c4 Use same URL for mlnx FW as mlnx SDK does (#116) 2016-12-14 14:33:07 -08:00
Marian Pritsak
6ed8ff0a8b Use permanent URL for mlnx SDK (#113)
Change branch name into commit hash to have a
permanent URL for SDK
2016-12-14 14:33:03 -08:00
Marian Pritsak
9a39142421 Add python api to mlnx SDK (#110)
* Add python api to mlnx SDK

* Update sdk.mk

* Add runtime dependency on python api

Python SX SDK API is not required for build, however
it is useful package to have in syncd docker
2016-12-08 10:31:02 -08:00
Marian Pritsak
9095ea0d30 Integrate ptf into buildimage (#111) 2016-12-08 09:24:48 -08:00
Marian Pritsak
dd9389febf Add dev sdk packages to runtime dependency (#109)
Symbolic links for sx libraries are in dev packages,
so we need them installed in containers too
2016-12-08 07:08:13 -08:00
Marian Pritsak
4e4168d100 Rename docker-orchagent to docker-orchagent-mlnx (#108) 2016-12-08 07:07:54 -08:00
Marian Pritsak
44265fcffd Add docker-p4 to all tagets for p4 platform (#107)
Add dependency on p4 switch for libsairedis
2016-12-08 07:07:05 -08:00
Marian Pritsak
c42a54d755 Add required packages for docker-p4 (#106) 2016-12-08 07:06:42 -08:00
Marian Pritsak
0d9ca53c00 Enable logging for targets in SONIC_PYTHON_STDEB_DEBS (#105) 2016-12-08 07:05:19 -08:00
lguohan
b31956d333 add build dep for sai meta build and python3.5 (#103) 2016-12-07 07:59:21 -08:00
Qi Luo
7c9bffb18f Remove unnecessary build dependencies for hiredis (#91) 2016-12-07 07:26:07 -08:00
Marian Pritsak
709ca3c00f Add mlnx hw-management to all targets (#102)
* Add mlnx hw-management to all targets

* Use correct path for hw-management in all targets
2016-12-06 15:30:20 -08:00
Marian Pritsak
9b415aa5cf Update README according to new build procedure (#101)
* Update README according to new build procedure

* Add detailed description for targets
2016-12-06 15:29:25 -08:00
Marian Pritsak
6503d6a584 Add dependency on libl3 for libsnmp-base (#100) 2016-12-06 10:12:22 -08:00
Marian Pritsak
e6aadeb9f8 Update Dockerfile.template (#95) 2016-12-06 06:32:12 -08:00
Marian Pritsak
16a8224e23 Create group for user in sonic-slave if does absent (#98) 2016-12-06 06:31:59 -08:00
Marian Pritsak
54a3178174 Add runtime dependencies for syncd (#97)
Install lisairedis and libsaimetadata along with syncd
2016-12-05 11:21:22 -08:00
Marian Pritsak
edb54704ab Update mellanox FW version (#96)
Make FW compatible with SDK 4.2.3002
2016-12-05 11:20:46 -08:00
Marian Pritsak
e9098b99fb Build improvements (#80)
* Build improvements

Fix dependencies
Add configuration options
Automatically build sonic-slave

* Set default number of jobs to 1

* Auto generate target/debs directory

Signed-off-by: marian-pritsak <marianp@mellanox.com>

* Automatically remove sonic-slave container after exit

* Silence clean-logs

* Add SONIC_CLEAN_TARGETS to clean

* Use second expansion for clean dependencies

* Avoid creating empty log files

Remove log file on flush instead of writing empty string

* Put dpkg install inside lock

Use same lock as debian install targets do to avoid
race condition in dpkg installation

* Remove redirect to log from docker save

* Add .platform dependency to all and clean targets

* Remove header and footer from clean targets

* Disable messages for SONIC_CLEAN_TARGETS

* Exit with error if dpkg-buildpackage fails

* Set new location for debs in build_debian.sh

* Add recipe for docker-database

* Update redis version to 3.2.4

* Add support for p4 platform

* Add recipe for snmpd

* Add slave targets to phony and make all target default

* Remove build.sh from thrift

* Add versioning to team, nl, hiredis and initramfs

* Change sonic-slave to support snmpd build from sources

* Remove src/tenjin

* Add recipe for lldpd

* Add recipe for mpdecimal

* Remove hiredis directory on rebuild

* Add recipe for Mellanox hw management

* Remove generic image from all targets for Mellanox

* Add support for python wheels

* Add lldp and snmp dockers

* Sync docker-database to include libjemalloc

* Fix asyncsnmp variable name

* Change default build configuration

Redirect output to log files by default
Set number of jobs to nproc value
Do not print dependencies
Fix logging to print log of failed job into console

* Use docker inspect to check if sonic-slave image exists

* Use config in slave.mk directly

* Disable color output by default

* Remove sswsdk dependency from lldp and snmp dockers

* Fix comment in py wheels install targets

* Add dependency between two versions of sswsdk

* Add containers to mellanox platform

lldp, snmp and database containers

* Add recipe for team docker

* Add team docker to mellanox platform

* Encrypt password passed to build_debian.sh

* Update mellanox SAI version

Make version and revision setting only in main recipe

* Fix error handling in makefiles

As makefiles use .ONESHELL we should add -e
option to shell options in order to exit after any command fails

* Add recipe for platform monitor image

* Add platfotm monitor to mellanox targets

* Ignore submodules when building base image
2016-12-05 11:12:19 -08:00
lguohan
154b281cfb add instruction to pull sonic-slave image from docker registry 2016-12-01 13:50:46 -08:00
Qi Luo
c4f0833dac push_docker.sh: Remove deprecated comments (#90) 2016-12-01 10:41:29 -08:00
Qi Luo
b68ec0eee8 Split script: push_docker.sh (#89) 2016-12-01 02:18:59 -08:00
Shuotian Cheng
923b13afb4 src: Remove libjemalloc-dev from hiredis build.sh (#88)
libjemalloc-dev is installed in sonic-slave
2016-11-30 17:03:09 -08:00
Shuotian Cheng
6888eb74b2 dockers: Add docker-platform-monitor to make all (#87) 2016-11-30 15:44:54 -08:00
Taoyu Li
55ee247f02 Change to thrift 0.9.3 for docker-mlnx-sswstncd-rpc, docker-syncd-mlnx-rpc, and docker-syncd-rpc (#86) 2016-11-29 17:39:30 -08:00
Taoyu Li
c3257e1a9c Modify docker_ptf and docker_saiserver_mlnx to use libthrift0.9.3 (#84) 2016-11-29 14:16:55 -08:00
Qi Luo
6665c6ad2c Fetch redis source packages from mirror links (#83)
* Fetch redis source packages from mirror links

* Replace more version strings with macros
2016-11-28 15:30:06 -08:00
Qi Luo
7cf0f31a7d Fix getopts option-string (#82) 2016-11-28 13:49:06 -08:00
Qi Luo
543def350b Install lldpd Build-Depends (#81) 2016-11-28 12:15:39 -08:00
Denys Haryachyy
57ff53ea60 docker-syncd-cavm : Added synchronization between syncd and redis (#79) 2016-11-28 12:14:27 -08:00
Qi Luo
96c2834cad Refine installation order of mlnx-sdk debs (#78) 2016-11-28 12:03:12 -08:00
Qi Luo
f83460bdb7 Add Makefile target: lldp/snmp docker images (#74)
* Add sonic-dbsyncd submodule

* Add sonic-py-swsssdk submodule

* Add lldpd submodule

* Add sonic-snmpagent submodule

* Add Makefile target: lldp/snmp docker images

* Fix docker-snmp-sv2.gz dependency

* Add lldp/snmp sources to the top level targets
2016-11-23 16:18:35 -08:00
lguohan
f45e781782 update sonic-linux-kernel submodule (#77) 2016-11-23 16:10:35 -08:00
mbrar
691b787811 dockers: Add DHCP Relay docker (#38) 2016-11-23 16:09:43 -08:00
Nadiya
0532ee4ed6 platform: Cavium serial settings change (#72)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2016-11-23 13:47:19 -08:00
Qi Luo
ff14e9c724 build_docker.sh: Tag docker image before pushed to registry (#75) 2016-11-23 12:59:47 -08:00
lguohan
f25188e3a4 Add python3 build script (#76)
* build python 3.5

* update to 3.5.2-8

* add python3.5 and mpdecimal to Makefile
2016-11-22 21:08:55 -08:00
Qi Luo
5621082dbb LLDP docker: Remove outdated dependency (#73) 2016-11-21 17:44:16 -08:00
lguohan
14c86bbd25 remove applibs_*.deb to fix mlnx build (#70) 2016-11-21 17:25:45 -08:00
lguohan
590f2cb0b9 add fw-SPC.mfa in the filelist.txt (#71) 2016-11-21 10:27:23 -08:00