File tree Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,18 @@ def build_test_gs_edge():
6868# Integration testsuite (no edge version)
6969
7070
71- def test_integration_testsuite():
71+ def test_integration_testsuite(local_vscode_qual=None):
72+ if local_vscode_qual is None:
73+ local_vscode_qual = vscode_qual
74+
7275 # These two components have been built by the build job of the CI, install them.
7376 anod_install("als")
74- anod_install("vscode-extension", qualifier=vscode_qual)
77+ anod_install("vscode-extension", qualifier=local_vscode_qual)
78+
79+ test_int_ts(local_vscode_qual)
80+
7581
82+ def test_int_ts(local_vscode_qual):
7683 # For the following components, we'd like to install with latest=True to be
7784 # resilient to failures in nightly builds.
7885 #
@@ -97,5 +104,20 @@ def test_integration_testsuite():
97104 "run-tools": "vscode",
98105 "cleanup-mode": "none",
99106 }
100- | vscode_qual ,
107+ | local_vscode_qual ,
101108 )
109+
110+
111+ # Offline sentinel
112+
113+
114+ def offline_sentinel():
115+ offline_qual = vscode_qual | {
116+ "npm-online": False,
117+ "npm-package": False,
118+ }
119+
120+ anod_install("als")
121+ anod_build("vscode-extension", qualifier=offline_qual)
122+ anod_test("vscode-extension", qualifier=offline_qual)
123+ test_int_ts(offline_qual)
Original file line number Diff line number Diff line change @@ -29,6 +29,17 @@ include:
2929 save-component : true
3030 save-anod-logs : true
3131
32+ # Offline sentinel build/test of vscode-extension
33+ - component : $CI_SERVER_FQDN/eng/gitlab-templates/build@~latest
34+ inputs :
35+ job-name : offline-sentinel
36+ anod-args : run offline_sentinel
37+ needs : [build:linux]
38+ cpus : 4
39+ disk : 80
40+ image : systemgtk
41+ save-anod-logs : true
42+
3243 # Testing of the ALS
3344 - component : $CI_SERVER_FQDN/eng/gitlab-templates/test@~latest
3445 inputs :
You can’t perform that action at this time.
0 commit comments