Liu Shilong
fc9dee41a2
[ci] Update reproducible build related pipeline. ( #11810 )
2022-10-26 08:22:31 +08:00
Liu Shilong
cb4ac4285d
[ci] Update azp template variable for reproducible build. ( #11419 )
2022-10-26 08:22:31 +08:00
Liu Shilong
9d1ef336ff
[ci] Update azp reference to support transfering organization from Azure to sonic-net ( #11603 )
2022-08-02 16:15:33 +08:00
Liu Shilong
ffd289b1c1
[ci] Transfer organization from Azure to sonic-net for sonic-mgmt ( #11559 ) ( #11561 )
...
Why I did it
Transfer organization from Azure to sonic-net for sonic-mgmt
2022-07-28 15:31:20 +08:00
Liu Shilong
a8cdb62fc3
[ci] Fix test stage dependency issue. ( #11386 ) ( #11393 )
...
Why I did it
When any of the test job failed in the test stage, the rerun will not work, the test stage will be skipped automaticall, so we do not have chance to rerun the test stage again, and the checks of the test will be always in failed status, block the PR to merge forever.
It should be caused by the condition in the Test stage, we should specify the status of the BuildVS stage.
How I did it
Fix stage dependency logic.
2022-07-11 19:03:05 +08:00
Shilong Liu
95a3cd56eb
Cherry-pick two PRs ( #11194 )
...
* [ci] Support to skip vstest using include/exclude config file. (#11086 )
* [build] Add version files to docker image dependencies (#11179 )
2022-06-21 13:27:16 +08:00
Shilong Liu
9008132871
[ci] Set default ACR in UpgrateVersion/PR/official pipeline. ( #10341 )
...
Why I did it
docker hub will limit the pull rate.
Use ACR instead to pull debian related docker image.
How I did it
Set DEFAULT_CONTAINER_REGISTRY in pipeline.
2022-04-02 00:07:22 +00:00
xumia
202dfb601d
[Build]: Enable marvell-armhf PR check ( #10259 )
...
Why I did it
[Build]: Enable marvell-armhf PR check
Improve the azp dependencies, make the Test stage only depended on BuildVS stage. The Test stage will be triggered once the BuildVS stage finished, reduce the waiting time.
2022-03-27 19:29:59 -07:00
xumia
84681956e4
[Build]: Support reproducible build for release branches ( #9426 )
...
[Build]: Support reproducible build for release branches #9426
2021-12-26 20:55:51 -08:00
Shilong Liu
09d9ce4cf0
Enable azp in 202111 branch ( #9427 )
...
* [ci] Enable official/PR build on azure pipeline.
2021-12-07 15:21:53 +08:00
Stephen Sun
0aebad9fe9
[ci]: Extend timeout for kvm-t0 test from 300 minutes to 360 minutes ( #9336 )
...
Recently a lot of PRs didn't pass azure pipeline kvm v0 test due to timeout
Signed-off-by: Stephen Sun <stephens@nvidia.com>
2021-11-22 09:54:27 -08:00
Guohan Lu
53e4280df1
[ci]: increase the t0 kvm test limit to 5 hours
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-09-02 01:23:37 -07:00
Shilong Liu
c44dbf0fe0
[build] Fix reproducible build issues ( #8548 )
...
* [build] Fix reproducible build issues
2021-08-26 18:21:18 +08:00
Guohan Lu
51fce2ae99
[ci]: fix artifact download syntax error for vstest ( #8547 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-08-21 14:30:04 -07:00
Saikrishna Arcot
dc0b03ef3f
Enable CI builds on PRs going to the Bullseye branch
...
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2021-08-12 23:18:01 -07:00
lguohan
15be15392d
[ci]: build swi on broadcom platform for pr ( #7522 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-05-05 15:42:33 -07:00
xumia
39d877c1ad
[ci] Fix the boolean value case sensitive issue in Azure Pipelines ( #7399 )
...
Why I did it
Fix the boolean value case sensitive issue in Azure Pipelines
When passing parameters to a template, the "true" or "false" will have case sensitive issue, it should be a type casting issue.
To fix it, we change the true/false to yes/no, to escape the trap.
Support to override the job groups in the template, so PR build has chance to use different build parameters, only build simple targets. For example, for broadcom, we only build target/sonic-broadcom.bin, the other images, such as swi, debug bin, etc, will not be built.
2021-04-23 09:26:16 +08:00
Shilong Liu
38f65c8fd0
[CI] Update azure PR pipeline file. Not affect pipeline running ( #7397 )
...
Signed-off-by: Shilong Liu <shilongliu@microsoft.com>
2021-04-22 08:36:25 -07:00
liushilongbuaa
6bc660e11b
[CI] Use the same template in PR-build pipeline and official-build pipeline
...
Signed-off-by: liushilongbuaa <shilongliu@microsoft.com>
2021-04-21 09:03:11 -07:00
lguohan
7475b98eda
[ci]: build vs image in official build ( #6768 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-02-11 23:34:05 -08:00
Guohan Lu
092f5378bb
[ci]: use build-template for pr build
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-02-07 02:09:44 -08:00
Guohan Lu
c591efc4a1
[ci]: further clean up the source directory before checkout
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-02-03 10:32:27 -08:00
lguohan
70a6d7618a
[ci]: exclude .github from trigger build ( #6661 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-02-03 10:17:13 -08:00
xumia
aae96647ff
[ci]: Cleanup fsroot before checking out code ( #6639 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Co-authored-by: Guohan Lu <lguohan@gmail.com>
2021-02-03 07:27:51 -08:00
lguohan
dbfdab7c4e
[ci]: add t1-lag testbed ( #6619 )
...
introduce run-test template
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-31 19:47:10 -08:00
Guohan Lu
c041d25f92
[ci]: cleanup source directory upon checkout
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-30 17:38:33 -08:00
Guohan Lu
3ffa352ac7
[ci]: reset the repo
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-30 06:27:40 -08:00
Guohan Lu
fb0b999361
[ci]: append job.attempt in memdump/log artifacts
...
azure pipepline does not allow upload same artifacts again.
thus, use job.attempt to uniquely name the test artifacts
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-28 01:05:44 -08:00
lguohan
7d01613300
[ci]: correct ownership of artifacts ( #6582 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-27 20:57:17 -08:00
Qi Luo
69c5832153
[ci]: Download artifact instead of using nfs storage ( #6570 )
...
I notice that I rerun a failed job (not the stages), the nfs store is already cleaned by previous failed jobs.
2021-01-27 19:58:58 -08:00
Guohan Lu
f3a901c41e
[ci]: build docker-ptf on vs platform
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-27 08:28:21 -08:00
Qi Luo
e616a32950
[ci]: add master and 202012 into azure-pipelines trigger ( #6560 )
2021-01-26 15:42:04 -08:00
lguohan
a9a0e3062c
[ci]: archive kvmtest artifacts ( #6567 )
...
- archive logs
- archive kvm memdump when failed
- publish kvm test results
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-26 13:09:56 -08:00
lguohan
30ae46ea7f
[ci]: add -k ceos option to setup t0 testbed ( #6565 )
...
this is due to command line change in
1e12790a93
this is due to command line change in
Azure/sonic-mgmt@1e12790
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-26 02:28:27 -08:00
lguohan
6957e376be
[ci]: reset the owner for all files under working directory ( #6557 )
...
reset the owner for all files under working directory. some files were owned by root after build, which cause
next build to fail since directory cannot be cleanned.
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-25 19:05:01 -08:00
lguohan
3bc82e5556
[ci]: add vs tests ( #6506 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-24 21:01:19 -08:00
lguohan
0daad0b51d
[ci]: build syncd-rpc for broadcom and mellanox ( #6522 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-24 17:31:47 -08:00
lguohan
53c2a0a606
[ci]: build docker-sonic-vs.gz in kvm build pipeline ( #6494 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-19 09:35:19 -08:00
lguohan
52afc801b4
[ci]: exit kvmtest on the first error ( #6489 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-18 21:26:41 -08:00
lguohan
1c00145813
[ci]: cleanup fsroot reliably ( #6431 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-13 10:30:49 -08:00
lguohan
6ff8d2cb10
[ci]: add mellanox build to azure-pipeline ( #6409 )
...
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-12 06:01:59 -08:00
lguohan
fc3cb76dcf
[ci]: Set up CI with Azure Pipelines ( #6384 )
...
[skip ci]
2021-01-07 19:50:11 -08:00
lguohan
6a73f86dc3
Set up CI with Azure Pipelines
...
[skip ci]
2020-11-26 04:18:25 -08:00