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