Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
74134c0
[sonic-utilities] submodule update (#8658)
qiluo-msft Sep 8, 2021
f4dea87
Revert "[hostcfgd] Delay hostcfgd and aaastatsd for faster boot time …
lguohan Sep 8, 2021
63ba489
[Mellanox] Advance hw-mgmt to V.7.0010.2346. (#8667)
nazariig Sep 8, 2021
888aa54
[broadcom]: BRCM SAI 5.0.0.8 Catch up fixes since 5.0.0.6 (#8684)
gechiang Sep 8, 2021
f53213e
DellEMC: Z9332f fix reboot cause issue (#8640)
aravindmani-1 Sep 9, 2021
7e02f7b
[submodule] advance sonic-utilities (#8695)
lolyu Sep 9, 2021
8514a48
[platform/ragile] support ra-b6910-64c (#7950)
pettershao-ragilenetworks Sep 9, 2021
8171bfe
Enhancing vs support to mock based on platform (#8685)
dgsudharsan Sep 9, 2021
f899a82
[Arista] Fix Clearwater2 phy initialization when no configuration is …
Staphylo Sep 9, 2021
f894954
[submodule]: Advance sonic-sairedis. (#8706)
nazariig Sep 10, 2021
f36952f
[Mellanox]: Update SAI to v1.19.2 (#8618)
nazariig Sep 10, 2021
b171e56
DellEMC Z9332f: Platform API - Remove EEPROM Vendor Extension decodin…
ArunSaravananBalachandran Sep 11, 2021
1652613
[submodule]: retreat sonic-swss submodule (#8732)
lguohan Sep 11, 2021
b19d42e
[Nokia ixs7215] Miscellaneous platform API fixes (#8707)
dflynn-Nokia Sep 11, 2021
d20f0cb
[Mellanox] Remove 2x40G from SN3800 hwsku (#8712)
dgsudharsan Sep 13, 2021
41643a9
[202012][fstrim] delay fstrim timer after sonic.target (#8737)
yxieca Sep 13, 2021
b423b17
[DPB]Removing default admin status initialization in DPB flow while l…
dgsudharsan Sep 13, 2021
db529af
Removing execute permission from copp config file (#8680)
dgsudharsan Sep 13, 2021
690f6ad
[show] add platform components in Newport, Montara, Mavericks for fix…
KostiantynYarovyiBf Sep 14, 2021
66ca6d3
Revert "Revert "[hostcfgd] Delay hostcfgd and aaastatsd for faster bo…
yxieca Sep 14, 2021
1863e1f
[multi-asic][cli][chassis-db] Avoid connecting to chassis db when cli…
vganesan-nokia Sep 14, 2021
2662a19
[sonic-py-swsssdk]: submodule update (#8757)
liorghub Sep 15, 2021
8a00ad7
[gearbox] support gearbox feature on docker-sonic-vs (#8765)
jimmyzhai Sep 15, 2021
13ec43b
[baseimage]: Logrotate for wtmp and btmp files. (#8743)
abdosi Sep 16, 2021
83e7876
[Nokia ixs7215] Add support for SFP eeprom type_abbrv_name attribute …
dflynn-Nokia Sep 16, 2021
5c2d4dd
DellEMC: Z9332f fix platform bugs (#8777)
aravindmani-1 Sep 16, 2021
508b649
Advancing sonic-sairedis submodule pointer (#8775)
dgsudharsan Sep 16, 2021
f6ec932
DellEMC Z9332f: Platform API - Update maximum fan speed (#8766)
ArunSaravananBalachandran Sep 17, 2021
1a2e852
[Nokia ixs7215] Support show system-health (#8771)
dflynn-Nokia Sep 17, 2021
e6699a0
Add pipeline to build vhdx image. (#8665)
liushilongbuaa Sep 17, 2021
f1dac17
Update sonic-platform-daemon submodule (#8788)
prgeor Sep 18, 2021
e46dd63
[healthd] Add system health configuration for platform Celestica E103…
yozhao101 Sep 18, 2021
d588b3b
DellEMC: Z9332f - Platform API implementation (#8787)
ArunSaravananBalachandran Sep 19, 2021
4049067
[yang]: Adding yang model for PFC watch dog parameters (#7839)
AmitKaushik7 Sep 20, 2021
34dddb8
[RESTAPI] Update submodule
sumukhatv Sep 21, 2021
4da623c
[docker-sonic-vs] always use separator ':' for GB_ASIC_DB, like ASIC_…
jimmyzhai Sep 22, 2021
bc06c6f
Incorporate DHCPv6 Relay Agent into dhcp-relay docker (#8321)
kellyyeh Sep 22, 2021
1d7e82b
Update minigraph parser to support type MIRROR_DSCP (#8819)
bingwang-ms Sep 23, 2021
31a647a
[docker-sonic-mgmt]: Snappi version to 0.5.11 (#8790)
selldinesh Sep 23, 2021
27aef53
[submodule] update sonic-swss-common to latest (#8828)
jimmyzhai Sep 24, 2021
8325500
DellEMC: N3248TE Initial platform commit (#8809)
arunlk-dell Sep 24, 2021
62a1f5e
Add CLI Support for IPv6 Helpers and DHCPv6 Relay Counters (#8593)
kellyyeh Sep 24, 2021
ee9250e
Save DB dump after warm/fast reboot (#8803)
vaibhavhd Sep 24, 2021
38500fa
Add gdb and pyrasite to ptf image (#8816)
yejianquan Sep 24, 2021
5324ce8
[azure-pipeline][multi-asic]: Add azure pipeline script to generate m…
SuvarnaMeenakshi Sep 24, 2021
b0b0ba8
DellEMC: N3248PXE Initial platform commit (#8562)
arunlk-dell Sep 25, 2021
c668f2a
DellEMC: Initial commit for S5224F platform support (#8717)
arunlk-dell Sep 26, 2021
6c40fe4
[Submodule] update for swss (#8839)
AshokDaparthi Sep 28, 2021
144b9f1
[docker-sonic-vs] Make the ID numbers of "GB_ASIC_DB", "GB_COUNTERS_D…
jimmyzhai Sep 28, 2021
c770375
[submodule] Update submodule for sonic-utilities (#8752)
Junchao-Mellanox Sep 28, 2021
ada8043
SONiC Yang for Warm Restart (#7698)
ArthiSivanantham Sep 28, 2021
b2659dc
Handle feature flow when state is always_enabled (#8811)
dgsudharsan Sep 28, 2021
6cbdf11
SONIC QOS YANG - Remove qos tables field value refernce format (#7752)
AshokDaparthi Sep 28, 2021
57ad1ed
Add Mellanox-SN4600C-D100C12S2 SKU (#8832)
alexrallen Sep 29, 2021
67db126
Reduce logging level for RESTAPI from trace to info (#8858)
sumukhatv Sep 29, 2021
33e64a4
[RESTAPI] submodule update (#8859)
sumukhatv Sep 29, 2021
1e35915
Load global config in caclmgrd only in multi asic NPU (#8812)
dgsudharsan Sep 30, 2021
83108d9
[YANG MGMT]: Support Grouping translation in YANG Models. (#8318)
Sep 30, 2021
3e397ce
[Nokia 7215] Rename alias column with etpN normination (#8879)
yxieca Sep 30, 2021
df6361f
Change radv interval to 3min (#8882)
kellyyeh Oct 1, 2021
552963a
[Mellanox] Change thermal recover threshold from temp_trip_norm to te…
Junchao-Mellanox Oct 4, 2021
677f31d
[arista] Add asic and phy configs for clearwater2ms (#8174)
byu343 Oct 5, 2021
b7d49b0
Dell S6000: PCIe Gen1 settings (#8663)
aravindmani-1 Oct 5, 2021
3426739
[yang] Feature yang changes (#7955)
arlakshm Oct 5, 2021
800de69
[Celestica/sonic_platform]: Fixed failed test cases in Haliburton pla…
Oct 8, 2021
77b6bc3
DellEMC: Fix z9332f low power mode issue (#8693)
aravindmani-1 Oct 8, 2021
3855ce2
[ci]: Support azp for cisco 8000 (#8654)
xumia Oct 8, 2021
0780aea
[master] Submodule advance sonic-swss (#8915)
vaibhavhd Oct 9, 2021
add9b65
Add platform_asic file to each platform folder in sonic-device-data b…
qiluo-msft Oct 9, 2021
32e73b0
[RESTAPI] Update Submodule (#8931)
sumukhatv Oct 9, 2021
7d40384
[TACACS+] Add plugin support to bash. (#8660)
liuh-80 Oct 11, 2021
f52f97c
[sonic-utilities] Update sonic-utilities submodule to pick set of new…
gechiang Oct 12, 2021
ce7abad
[Mellanox] Update SAI to v1.19.4 (#8929)
volodymyrsamotiy Oct 12, 2021
434a641
[DPB][Mellanox]Fixing DPB modes in Mellanox-SN2700-D40C8S8 (#8953)
dgsudharsan Oct 13, 2021
e8adee2
[frrcfgd][bgpcfgd] Add portchannel support (#8911)
d-dashkov Oct 13, 2021
4654f72
[determine-reboot-cause] delay execution (#8935)
Xichen96 Oct 14, 2021
a4ac69e
[TACACS+]: Extract tacacs support functions into library and fix memo…
liuh-80 Oct 14, 2021
638c287
[copp] bind copp-config.service to sonic.target (#8969)
yxieca Oct 14, 2021
b9366f3
Fix failed to download cisco artifacts issue (#8942)
xumia Oct 14, 2021
f4f6955
[devices]: Add new SKU for SONiC VM (#8971)
Pterosaur Oct 14, 2021
669dfaa
[Marvell] Update amd64 SAI version (#8868)
rajkumar38 Oct 14, 2021
c374705
[Nokia][port]Modify the Nokia-IXR7250E-36x400G device data (#8875)
mlok-nokia Oct 14, 2021
c9c2826
Merged PR 3845699: [linkmgrd]: Introduce MUX cable linkmgrd
Jan 26, 2021
f071149
[linkmgrd] Enhance Init And Switch State When Config Is Active
tahmed-dev Feb 4, 2021
29e9b77
[mux] Add New Package Vars
tahmed-dev Aug 18, 2021
56d4c34
[linkmgrd] Relocate Linkmgrd to Github
tahmed-dev Aug 12, 2021
bff785e
Merged PR 4234524: [mux] Start Mux on Only Dual-ToR Platform
Mar 16, 2021
0295c83
Merged PR 4366316: [mux.service]: Bind to sonic.target
theasianpianist Apr 16, 2021
b880f9d
Merged PR 4813977: [mux] Update Service Install With SONiC Target
Jul 21, 2021
14403c6
[mux]: Initialize all mux ports as standby
theasianpianist Apr 27, 2021
5232647
[mux]: Make write_standby available on host
theasianpianist May 1, 2021
fad5ec4
[mux]: Call write_standby from host only
theasianpianist May 5, 2021
69bae5b
[write_standby]: Improve logging
theasianpianist May 6, 2021
17cbfc4
Merged PR 4559560: [bgp]: Switch to standby if BGP container exits
theasianpianist Jun 4, 2021
d5834fc
Merged PR 4679112: [write_standby]: Ignore non-auto interfaces
theasianpianist Jun 18, 2021
cefb9c1
[platform] [mellanox] Use correct API call to update firmware in auto…
alexrallen Oct 15, 2021
e6e6f41
[mellanox] Remove validation for fw filenames with no extension (#8956)
alexrallen Oct 15, 2021
5356244
[Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799)
dprital Oct 17, 2021
a99d78d
[Yang model] SONiC QOS Scheduler, WRED, Queue Yangs (#7281)
AshokDaparthi Oct 18, 2021
c971fa7
[swss, swss-common, sairedis] submodule update (#8996)
TACappleman Oct 18, 2021
3bb248b
[chassis-packet] minigraph parsing and BGP template changes (#8966)
abdosi Oct 19, 2021
6432b50
redis-dump-load: Pin the redis package to use 3.5.3 (#9001)
saiarcot895 Oct 19, 2021
546340b
[dhcp_relay] Fix import for dhcp_counters on clear_dhcp6relay_counter…
shlomibitton Oct 19, 2021
e6733e9
[build]: update sonic-slave-bullseye for armhf and arm64
lguohan Oct 19, 2021
459d3d1
SONiC QoS MAPs and PORT_QOS_MAP Yang (#7375)
ohu1 Oct 19, 2021
14aca81
Fix dhcpmon bugs (#9008)
kellyyeh Oct 19, 2021
9527cbe
[Mellanox] Upgrade Mellanox firmware tools to 4.17.2-12 (#8978)
DavidZagury Oct 20, 2021
60e424e
Fix delay type from boot instead of unit activation (#8895)
shlomibitton Oct 20, 2021
cd0d407
[fan] Fixed dynamic minimum fan speed table for SN4410 (#8960)
vadymhlushko-mlnx Oct 21, 2021
8a2b307
DellEMC: Z9332f - Component firmware upgrade platform API implementat…
ArunSaravananBalachandran Oct 21, 2021
992dc47
[Dell] S6000 I2C not responding to certain optics (#8736)
santhosh-kt Oct 21, 2021
861e878
dhcp6relay: Save the dbgsym package into the target folder (#9013)
saiarcot895 Oct 21, 2021
c1d5e06
docker-dhcp-relay: Fix waiting for interfaces to get set up (#9034)
saiarcot895 Oct 22, 2021
12b8cac
[devices]: Fix unit test script in order to run stretch python 3.5.3 …
qiluo-msft Oct 22, 2021
5b5f3f0
[Bash] Fix bash build break when re-build bash issue. (#9027)
liuh-80 Oct 22, 2021
ddfaa1d
[dhcp_relay] fix data type in dhcp6relay, add protection in packet da…
kellyyeh Oct 22, 2021
7d981b9
Update default_sku (#8992)
pettershao-ragilenetworks Oct 22, 2021
3971c20
Flush RESTAPI_DB when config reload is performed (#9037)
sumukhatv Oct 22, 2021
9632178
[Alphanetworks] Add new platform SNJ60D0-320F (#8780)
juntseng62 Oct 22, 2021
8b5f33d
[sonic-sairedis submodule] Update SAI header to ver 1.9.1 for MLNX SD…
vmittal-msft Oct 22, 2021
d4f2913
[BFN]: updated BFN packages to SAI 1.9 (#9038)
Oct 24, 2021
bb9c36c
[sonic-platform-common] submodule update (#9022)
vdahiya12 Oct 24, 2021
9c4a7c2
[PMON] Skip chassis_db_init task on Mellanox simx platform (#9017)
keboliu Oct 24, 2021
ba2968d
add onie image install's platform verification (#8814)
wen587 Oct 25, 2021
d051bc4
Update wpa supplicant (#8998)
Pterosaur Oct 25, 2021
e8b4c2a
[Mellanox] Refactor Mellanox platform API to support dynamic port con…
Junchao-Mellanox Oct 25, 2021
1506737
[ci]: build centec arm64 to sonicbld-arm64 pool
lguohan Oct 25, 2021
b0c73d9
[submodule] Update submodule for sonic-utilities (#9051)
wen587 Oct 26, 2021
453346f
[teamd]: Send USR1/USR2 only to subscribers. (#8856)
nazariig Oct 26, 2021
f01076e
Added Support for Dell EMC S5212f in SONiC (#8678)
thaj-deen Oct 26, 2021
32ad744
[centec] support TM.MX board v682-48y8c_d (#8747)
LuiSzee Oct 26, 2021
8eab0e0
Added Netberg Aurora 715 support (#8604)
andrewsapronov Oct 26, 2021
4e0c4fb
Add service mark_dhcp_packet to mux container (#9015)
Oct 26, 2021
b91190d
[Nokia] Add protobuf and grpc C++ and python lib to support Nokia IXR…
mlok-nokia Oct 27, 2021
7e34a54
[vstes] Virtual chssis default config rendering (#8008)
vganesan-nokia Oct 27, 2021
81f4fca
Allow database instances on multi-asic linecards to connect to chassi…
mlorrillere Oct 27, 2021
1957558
[Nokia ixs7215] Add new platform capabilities to platform.json (#9032)
dflynn-Nokia Oct 27, 2021
d632039
[Nokia ixs7215] Platform API fixes (#9025)
dflynn-Nokia Oct 27, 2021
4ad5f2a
[swss.sh] fix an issue that dependent services are not read from a fi…
stepanblyschak Oct 27, 2021
4bda0a9
[build] Use pip to install setup.py dependency instead of `python set…
qiluo-msft Oct 27, 2021
99dcc83
[gearbox] Add gbsyncd container for Credo gearbox chips (#9009)
sacnaik Oct 27, 2021
046f025
[Makefile.cache] fix an issue that non-direct dependencies are not ac…
stepanblyschak Oct 27, 2021
7ae638c
[devices]: Add platform_asic files for new platforms (#9078)
qiluo-msft Oct 27, 2021
d35b50b
[minigraph] Add tagged vlan member support for storage backend (#9045)
neethajohn Oct 27, 2021
0c68585
[ci]: build marvel armhf on sonicbld-armhf pool [Guohan Lu]
lguohan Oct 27, 2021
04b9ce8
[BCMSAI] Update BCMSAI debian to 6.0.0.10 with 6.5.23 SDK, and openns…
vmittal-msft Oct 28, 2021
99753c6
[Arista] Update Arista submodule and remove building python2 for Aris…
zzhiyuan Oct 28, 2021
3788294
[hostcfgd] Fixed the brief blackout in hostcfgd using SubscriberState…
vivekrnv Oct 28, 2021
aab689e
[swss-common] Update swss-common submodule (#9073)
TACappleman Oct 28, 2021
7de673c
[gearbox] Use separator ':' for GB_ASIC_DB, GB_COUNTERS_DB and GB_FLE…
jimmyzhai Oct 28, 2021
51c9c98
[sonic-slave]: Add gmock for sonic-swss-common tests (#8950)
donNewtonAlpha Oct 28, 2021
1c07d39
[sonic-snmpagent] Update submodule (#9076)
qiluo-msft Oct 29, 2021
919b3e5
[chassis-packet] Fixed BGP Internal Peer template (#9106)
abdosi Oct 29, 2021
7095b38
Updated saibcm-modules-dnx for SAI header 1.9.1, SAI 6.0 and SDK 6.5.…
vmittal-msft Oct 29, 2021
dfc1697
[CBF] Added configuration templates to generate configs for CBF (#8689)
Cosmin-Jinga-MS Oct 30, 2021
9661f10
[swss] Update sub module (#9124)
dgsudharsan Nov 1, 2021
021b7dc
[sonic-breakout_cfg.yang]: Remove pattern from sonic-breakout_cfg.yan…
Nov 1, 2021
ac8fd0d
[Mellanox] Fix split configuration for Mellanox SN3800-D112C8 SKU SAI…
shlomibitton Nov 1, 2021
9f80f2d
[slave.mk] record the package versions by expanding the list of depen…
stepanblyschak Nov 1, 2021
2ef97bb
[dockers] change RPC, DBG dockers version: put RPG, DBG sign in build…
stepanblyschak Nov 1, 2021
fcff3f3
VxLAN Tunnel Counters and Rates implementation (#8369)
dgsudharsan Nov 1, 2021
dd9ff10
[docker-sonic-vs]Added support for Mellanox-SN2700 based SKU for dock…
dgsudharsan Nov 2, 2021
9a143ae
[sonic-utilities] update submodule (#9137)
stepanblyschak Nov 2, 2021
3f8821c
[BFN]: updated SDK with SAI 1.9.1 (#9135)
Nov 2, 2021
05b6207
[hostcfgd] Missing comment added (#9113)
vivekrnv Nov 2, 2021
1067bc8
Fix invalid destination address error (#9143)
kellyyeh Nov 2, 2021
689c101
update DHCP_PACKET_MARK schema (#9077)
Nov 2, 2021
7c0507b
[swss]: Start ndppd after vlanmgrd (#9155)
theasianpianist Nov 3, 2021
4175619
[Nokia][supervisor]Fixed the asic_type for Nokia IXR7250E supervisor …
mlok-nokia Nov 3, 2021
ea91a72
[multi-asic] fix syslog not getting generated. (#9160)
abdosi Nov 4, 2021
5604983
[Marvell] Move amd64 & arm64 syncd to buster (#8869)
rajkumar38 Nov 4, 2021
fed19e3
Added get_system_mac support for cisco-8000 device (#9104)
anamehra Nov 4, 2021
2c801ef
[yang]: SONiC Yang model for DHCP-Relay parameters (#8946)
AkhileshSamineni Nov 4, 2021
2d7840c
DellEMC: Z9332f - SFP API get_error_description implementation (#9071)
ArunSaravananBalachandran Nov 4, 2021
a61ffcd
[TACACS+] Add Config DB schema and HostCfg Enforcer plugin to support…
liuh-80 Nov 5, 2021
0290207
[Submodule] update for swss-common (#9180)
prsunny Nov 5, 2021
4f00b86
[swss] Update Submodule (#9174)
dgsudharsan Nov 5, 2021
738de2d
[docker-sonic-vs] Removing fake_platform variable since it is no more…
dgsudharsan Nov 5, 2021
68dfbfa
Allow interface type value none (#9098)
Junchao-Mellanox Nov 6, 2021
3fc42df
dhcp6relay: remove line overwriting docker-dhcp-relay variable (#9179)
saiarcot895 Nov 6, 2021
7cfce6f
[ci]: add native arm64/armhf sonic-slave build pipeline (#9056)
lguohan Nov 6, 2021
97d70e3
Update repos for Bullseye slave container
saiarcot895 Sep 6, 2021
a2d0dbe
[sonic-yang]: introduce yang template for cvl yang (#8880)
lguohan Nov 6, 2021
41c3a6d
Add new files for the new platform MSN2201 (nvidia naming)
liorghub Oct 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 7 additions & 2 deletions .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
platform_rpc: centec

- name: centec-arm64
pool: sonicbld_8c
pool: sonicbld-arm64
timeoutInMinutes: 2880
variables:
PLATFORM_ARCH: arm64
Expand All @@ -78,7 +78,7 @@ jobs:
dbg_image: yes

- name: marvell-armhf
pool: sonicbld_8c
pool: sonicbld-armhf
timeoutInMinutes: 2880
variables:
PLATFORM_ARCH: armhf
Expand All @@ -104,6 +104,11 @@ jobs:
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz && mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz
fi
make $BUILD_OPTIONS target/docker-sonic-vs.gz target/sonic-vs.img.gz target/docker-ptf.gz
if [ $(Build.Reason) != 'PullRequest' ];then
gzip -kd target/sonic-vs.img.gz
SONIC_RUN_CMDS="qemu-img convert target/sonic-vs.img -O vhdx -o subformat=dynamic target/sonic-vs.vhdx" make sonic-slave-run
rm target/sonic-vs.img
fi
else
if [ $(dbg_image) == yes ]; then
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-$(GROUP_NAME).bin && \
Expand Down
3 changes: 2 additions & 1 deletion .azure-pipelines/azure-pipelines-image-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
jobVariables: ${{ parameters.jobVariables }}
preSteps:
- template: cleanup.yml
- ${{ parameters. preSteps }}
- ${{ parameters.preSteps }}
- script: |
if [ -n "$(CACHE_MODE)" ] && echo $(PLATFORM_AZP) | grep -E -q "^(vs|broadcom|mellanox)$"; then
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=$(CACHE_MODE) SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/$(PLATFORM_AZP)"
Expand All @@ -36,6 +36,7 @@ jobs:
displayName: "Set cache options"
- checkout: self
submodules: recursive
condition: eq(variables.SKIP_CHECKOUT, '')
displayName: 'Checkout code'
- script: |
BRANCH_NAME=$(Build.SourceBranchName)
Expand Down
44 changes: 44 additions & 0 deletions .azure-pipelines/docker-sonic-slave-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
# Build and push sonic-slave-[buster|jessie|stretch] images for amd64/armhf/arm64

schedules:
- cron: "0 8 * * *"
branches:
include:
- master
- 202012
always: true

trigger: none
pr:
branches:
include:
- master
paths:
include:
- sonic-slave-jessie
- sonic-slave-stretch
- sonic-slave-buster
- sonic-slave-bullseye

parameters:
- name: 'dists'
type: object
default:
- bullseye
- buster
- stretch

stages:
- stage: Build
jobs:
- ${{ each dist in parameters.dists }}:
- ${{ if contains(variables['Build.DefinitionName'], dist) }}:
- template: docker-sonic-slave-template.yml
parameters:
pool: sonicbld-arm64
arch: arm64
dist: ${{ dist }}
44 changes: 44 additions & 0 deletions .azure-pipelines/docker-sonic-slave-armhf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
# Build and push sonic-slave-[buster|jessie|stretch] images for amd64/armhf/arm64

schedules:
- cron: "0 8 * * *"
branches:
include:
- master
- 202012
always: true

trigger: none
pr:
branches:
include:
- master
paths:
include:
- sonic-slave-jessie
- sonic-slave-stretch
- sonic-slave-buster
- sonic-slave-bullseye

parameters:
- name: 'dists'
type: object
default:
- bullseye
- buster
- stretch

stages:
- stage: Build
jobs:
- ${{ each dist in parameters.dists }}:
- ${{ if contains(variables['Build.DefinitionName'], dist) }}:
- template: docker-sonic-slave-template.yml
parameters:
pool: sonicbld-armhf
arch: armhf
dist: ${{ dist }}
108 changes: 108 additions & 0 deletions .azure-pipelines/docker-sonic-slave-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
# Build and push sonic-slave-[buster|jessie|stretch] images for amd64/armhf/arm64

parameters:
- name: arch
type: string
values:
- amd64
- armhf
- arm64
- name: dist
type: string
values:
- bullseye
- buster
- stretch
- jessie
- name: registry_url
type: string
default: sonicdev-microsoft.azurecr.io
- name: registry_conn
type: string
default: sonicdev
- name: pool
type: string
default: sonicbld
values:
- sonicbld
- sonicbld-arm64
- sonicbld-armhf

jobs:
- job: Build_${{ parameters.dist }}_${{ parameters.arch }}
timeoutInMinutes: 360
pool: ${{ parameters.pool }}
steps:
- template: cleanup.yml
- checkout: self
clean: true
submodules: recursive
- bash: |
set -ex

SLAVE_DIR=sonic-slave-${{ parameters.dist }}
if [ x${{ parameters.pool }} == x"sonicbld" ]; then
if [ x${{ parameters.arch }} == x"amd64" ]; then
SLAVE_BASE_IMAGE=${SLAVE_DIR}
SLAVE_BASE_IMAGE_UPLOAD=${SLAVE_DIR}
elif [ x${{ parameters.pool }} == x"sonicbld" ]; then
SLAVE_BASE_IMAGE=${SLAVE_DIR}-march-${{ parameters.arch }}
SLAVE_BASE_IMAGE_UPLOAD=${SLAVE_DIR}-march-${{ parameters.arch }}
fi
elif [[ x${{ parameters.pool }} == x"sonicbld-armhf" && x${{ parameters.arch }} == x"armhf" ]]; then
SLAVE_BASE_IMAGE=${SLAVE_DIR}
SLAVE_BASE_IMAGE_UPLOAD=${SLAVE_DIR}-armhf
elif [[ x${{ parameters.pool }} == x"sonicbld-arm64" && x${{ parameters.arch }} == x"arm64" ]]; then
SLAVE_BASE_IMAGE=${SLAVE_DIR}
SLAVE_BASE_IMAGE_UPLOAD=${SLAVE_DIR}-arm64
else
echo "do not support build ${{ parameters.arch }} on ${{ parameters.pool }}"
exit 1
fi

if [ x"$(Build.SourceBranchName)" == x"202012" ]; then
BUILD_OPTIONS = 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'
fi

containers=$(docker container ls | grep "sonic-slave" | awk '{ print $1 }')
if [ ! -z "$containers" ]; then
docker container kill $containers || true
sleep 5
fi
images=$(docker images 'sonic-slave-*' -a -q)
if [ ! -z "$images" ]; then
docker rmi -f $images
fi

tmpfile=$(mktemp)

echo ${{ parameters.arch }} > .arch

DOCKER_DATA_ROOT_FOR_MULTIARCH=/data/march/docker BLDENV=${{ parameters.dist }} $(BUILD_OPTIONS) make -f Makefile.work sonic-slave-build | tee $tmpfile
SLAVE_BASE_TAG=$(grep "^Checking sonic-slave-base image:" $tmpfile | awk -F ':' '{print $3}')
SLAVE_TAG=$(grep "^Checking sonic-slave image:" $tmpfile | awk -F ':' '{print $3}')

mkdir -p target

docker tag $SLAVE_BASE_IMAGE:$SLAVE_BASE_TAG $REGISTRY_SERVER/$SLAVE_BASE_IMAGE_UPLOAD:latest
docker tag $SLAVE_BASE_IMAGE:$SLAVE_BASE_TAG $REGISTRY_SERVER/$SLAVE_BASE_IMAGE_UPLOAD:$SLAVE_BASE_TAG
set +x
echo "##vso[task.setvariable variable=VARIABLE_SLAVE_BASE_IMAGE]$SLAVE_BASE_IMAGE_UPLOAD"
echo "##vso[task.setvariable variable=VARIABLE_SLAVE_BASE_TAG]$SLAVE_BASE_TAG"
env:
REGISTRY_SERVER: ${{ parameters.registry_url }}
displayName: Build sonic-slave-${{ parameters.dist }}-${{ parameters.arch }}

- task: Docker@2
displayName: Upload image
inputs:
containerRegistry: ${{ parameters.registry_conn }}
repository: $(VARIABLE_SLAVE_BASE_IMAGE)
command: push
tags: |
$(VARIABLE_SLAVE_BASE_TAG)
latest
66 changes: 5 additions & 61 deletions .azure-pipelines/docker-sonic-slave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,70 +45,14 @@ parameters:
type: string
default: sonicdev

variables:
- ${{ if eq(variables['Build.SourceBranchName'], '202012') }}:
- name: BUILD_OPTIONS
value: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'

stages:
- stage: Build
jobs:
- ${{ each dist in parameters.dists }}:
- ${{ if endswith(variables['Build.DefinitionName'], dist) }}:
- ${{ each arch in parameters.arches }}:
- job: Build_${{ dist }}_${{ arch }}
timeoutInMinutes: 360
pool: sonicbld
steps:
- template: cleanup.yml
- checkout: self
clean: true
submodules: recursive
- bash: |
set -ex

containers=$(docker container ls | grep "sonic-slave" | awk '{ print $1 }')
if [ ! -z "$containers" ]; then
docker container kill $containers || true
sleep 5
fi
images=$(docker images 'sonic-slave-*' -a -q)
if [ ! -z "$images" ]; then
docker rmi -f $images
fi

SLAVE_DIR=sonic-slave-${{ dist }}
if [ x${{ arch }} == x"amd64" ]; then
SLAVE_BASE_IMAGE=${SLAVE_DIR}
else
SLAVE_BASE_IMAGE=${SLAVE_DIR}-march-${{ arch }}
fi

tmpfile=$(mktemp)

echo ${{ arch }} > .arch

DOCKER_DATA_ROOT_FOR_MULTIARCH=/data/march/docker BLDENV=${{ dist }} $(BUILD_OPTIONS) make -f Makefile.work sonic-slave-build | tee $tmpfile
SLAVE_BASE_TAG=$(grep "^Checking sonic-slave-base image:" $tmpfile | awk -F ':' '{print $3}')
SLAVE_TAG=$(grep "^Checking sonic-slave image:" $tmpfile | awk -F ':' '{print $3}')

mkdir -p target

docker tag $SLAVE_BASE_IMAGE:$SLAVE_BASE_TAG $REGISTRY_SERVER/$SLAVE_BASE_IMAGE:latest
docker tag $SLAVE_BASE_IMAGE:$SLAVE_BASE_TAG $REGISTRY_SERVER/$SLAVE_BASE_IMAGE:$SLAVE_BASE_TAG
set +x
echo "##vso[task.setvariable variable=VARIABLE_SLAVE_BASE_IMAGE]$SLAVE_BASE_IMAGE"
echo "##vso[task.setvariable variable=VARIABLE_SLAVE_BASE_TAG]$SLAVE_BASE_TAG"
env:
REGISTRY_SERVER: ${{ parameters.registry_url }}
displayName: Build sonic-slave-${{ dist }}-${{ arch }}

- task: Docker@2
displayName: Upload image
inputs:
containerRegistry: ${{ parameters.registry_conn }}
repository: $(VARIABLE_SLAVE_BASE_IMAGE)
command: push
tags: |
$(VARIABLE_SLAVE_BASE_TAG)
latest
- template: docker-sonic-slave-template.yml
parameters:
pool: sonicbld
arch: ${{ arch }}
dist: ${{ dist }}
64 changes: 64 additions & 0 deletions .azure-pipelines/official-build-cisco-8000.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

schedules:
- cron: "0 8 * * *"
displayName: Daily midnight build
branches:
include:
- master
- 202012
always: true

trigger: none
pr: none

resources:
repositories:
- repository: cisco-8000
type: github
name: Cisco-8000-sonic/platform-cisco-8000
endpoint: cisco-connection

stages:
- stage: Build
pool: sonic
variables:
CACHE_MODE: wcache
SKIP_CHECKOUT: true
TERM: ''

jobs:
- template: azure-pipelines-build.yml
parameters:
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}'
preSteps:
- checkout: self
submodules: recursive
path: s
displayName: 'Checkout code'
- checkout: cisco-8000
submodules: recursive
path: s/platform/cisco-8000
displayName: 'Checkout cisco-8000'
- script: |
cisco_ref=$(cat platform/checkout/cisco-8000.ini | grep '^ref=' | cut -d= -f2)
echo "The cisco 8000 release version is $cisco_ref"
echo "##vso[task.setvariable variable=cisco.ref]$cisco_ref"
displayName: 'Export cisco release version'
- task: DownloadGitHubRelease@0
inputs:
connection: cisco-connection
userRepository: Cisco-8000-sonic/platform-cisco-8000
defaultVersionType: specificTag
version: $(cisco.ref)
itemPattern: 'artifactory-*.tar.gz'
downloadPath: '$(System.ArtifactsDirectory)'
- script: |
make PLATFORM=cisco-8000 platform/cisco-8000
tar xfz $(System.ArtifactsDirectory)/artifactory-*.tar.gz -C platform/cisco-8000
displayName: 'Setup cisco artifacts'
jobGroups:
- name: cisco-8000
Loading