@@ -181,218 +181,6 @@ tests:
181181 name : test-release-cluster-scanner
182182 optional : true
183183
184- - it : " fails if the onPremCompatibilityVersion is not set and the runtimeStatusIntegrator version is incorrect"
185- templates :
186- - ../templates/deployment.yaml
187- set :
188- runtimeStatusIntegrator.image.tag : " 0.3.4"
189- imageSbomExtractor.image.tag : " 1.3.4"
190- asserts :
191- - failedTemplate :
192- errorMessage : " incompatible version for runtimeStatusIntegrator.image.tag, set 0.3.4 expected >= 0.5.0"
193-
194- - it : " fails if the onPremCompatibilityVersion is not set and the imageSbomExtractor version is incorrect"
195- templates :
196- - ../templates/deployment.yaml
197- set :
198- runtimeStatusIntegrator.image.tag : " 1.3.4"
199- imageSbomExtractor.image.tag : " 0.1.0"
200- asserts :
201- - failedTemplate :
202- errorMessage : " incompatible version for imageSbomExtractor.image.tag, set 0.1.0 expected >= 0.5.0"
203-
204- - it : " fails if the onPremCompatibilityVersion is set to 6.2 and the runtimeStatusIntegrator version is incorrect"
205- templates :
206- - ../templates/deployment.yaml
207- set :
208- onPremCompatibilityVersion : " 6.2"
209- runtimeStatusIntegrator.image.tag : " 4.3.4"
210- imageSbomExtractor.image.tag : " 0.3.4"
211- asserts :
212- - failedTemplate :
213- errorMessage : " incompatible version for runtimeStatusIntegrator.image.tag, set 4.3.4 expected < 0.5.0"
214-
215- - it : " fails if the onPremCompatibilityVersion is set to 6.2 and the imageSbomExtractor version is incorrect"
216- templates :
217- - ../templates/deployment.yaml
218- set :
219- onPremCompatibilityVersion : " 6.2"
220- runtimeStatusIntegrator.image.tag : " 0.0.1"
221- imageSbomExtractor.image.tag : " 6.1.0"
222- asserts :
223- - failedTemplate :
224- errorMessage : " incompatible version for imageSbomExtractor.image.tag, set 6.1.0 expected < 0.5.0"
225-
226- - it : " fails if the onPremCompatibilityVersion is set to 6.3 and the runtimeStatusIntegrator version is incorrect"
227- templates :
228- - ../templates/deployment.yaml
229- set :
230- onPremCompatibilityVersion : " 6.3"
231- runtimeStatusIntegrator.image.tag : " 4.3.4"
232- imageSbomExtractor.image.tag : " 0.3.4"
233- asserts :
234- - failedTemplate :
235- errorMessage : " incompatible version for runtimeStatusIntegrator.image.tag, set 4.3.4 expected < 0.5.0"
236-
237- - it : " fails if the onPremCompatibilityVersion is set to 6.3 and the imageSbomExtractor version is incorrect"
238- templates :
239- - ../templates/deployment.yaml
240- set :
241- onPremCompatibilityVersion : " 6.3"
242- runtimeStatusIntegrator.image.tag : " 0.0.1"
243- imageSbomExtractor.image.tag : " 6.1.0"
244- asserts :
245- - failedTemplate :
246- errorMessage : " incompatible version for imageSbomExtractor.image.tag, set 6.1.0 expected < 0.5.0"
247-
248- - it : " fails if the onPremCompatibilityVersion is set to 6.6 and the runtimeStatusIntegrator version is incorrect"
249- templates :
250- - ../templates/deployment.yaml
251- set :
252- onPremCompatibilityVersion : " 6.6"
253- runtimeStatusIntegrator.image.tag : " 0.3.4"
254- imageSbomExtractor.image.tag : " 1.3.4"
255- asserts :
256- - failedTemplate :
257- errorMessage : " incompatible version for runtimeStatusIntegrator.image.tag, set 0.3.4 expected >= 0.5.0"
258-
259- - it : " fails if the onPremCompatibilityVersion is set to 6.6 and the imageSbomExtractor version is incorrect"
260- templates :
261- - ../templates/deployment.yaml
262- set :
263- onPremCompatibilityVersion : " 6.6"
264- runtimeStatusIntegrator.image.tag : " 1.3.4"
265- imageSbomExtractor.image.tag : " 0.1.0"
266- asserts :
267- - failedTemplate :
268- errorMessage : " incompatible version for imageSbomExtractor.image.tag, set 0.1.0 expected >= 0.5.0"
269-
270- - it : " fails if the onPremCompatibilityVersion is set to 6.7 and the runtimeStatusIntegrator version is incorrect"
271- templates :
272- - ../templates/deployment.yaml
273- set :
274- onPremCompatibilityVersion : " 6.7"
275- runtimeStatusIntegrator.image.tag : " 0.3.4"
276- imageSbomExtractor.image.tag : " 1.3.4"
277- asserts :
278- - failedTemplate :
279- errorMessage : " incompatible version for runtimeStatusIntegrator.image.tag, set 0.3.4 expected >= 0.5.0"
280-
281- - it : " fails if the onPremCompatibilityVersion is set to 6.7 and the imageSbomExtractor version is incorrect"
282- templates :
283- - ../templates/deployment.yaml
284- set :
285- onPremCompatibilityVersion : " 6.7"
286- runtimeStatusIntegrator.image.tag : " 1.3.4"
287- imageSbomExtractor.image.tag : " 0.1.0"
288- asserts :
289- - failedTemplate :
290- errorMessage : " incompatible version for imageSbomExtractor.image.tag, set 0.1.0 expected >= 0.5.0"
291-
292- - it : " succeeds if the onPremCompatibilityVersion is not set and the runtimeStatusIntegrator and imageSbomExtractor versions are correct"
293- templates :
294- - ../templates/deployment.yaml
295- set :
296- runtimeStatusIntegrator.image.tag : " 2.3.4"
297- imageSbomExtractor.image.tag : " 0.5.0"
298- asserts :
299- - equal :
300- path : spec.template.spec.containers[0].image
301- value : quay.io/sysdig/runtime-status-integrator:2.3.4
302- - equal :
303- path : spec.template.spec.containers[1].image
304- value : quay.io/sysdig/image-sbom-extractor:0.5.0
305-
306- - it : " succeeds if the onPremCompatibilityVersion is set to 6.2 and the runtimeStatusIntegrator and imageSbomExtractor versions are correct"
307- templates :
308- - ../templates/deployment.yaml
309- set :
310- onPremCompatibilityVersion : " 6.2"
311- runtimeStatusIntegrator.image.tag : " 0.3.4"
312- imageSbomExtractor.image.tag : " 0.4.10"
313- asserts :
314- - equal :
315- path : spec.template.spec.containers[0].image
316- value : quay.io/sysdig/runtime-status-integrator:0.3.4
317- - equal :
318- path : spec.template.spec.containers[1].image
319- value : quay.io/sysdig/image-sbom-extractor:0.4.10
320-
321- - it : " succeeds if the onPremCompatibilityVersion is set to 6.3 and the runtimeStatusIntegrator and imageSbomExtractor versions are correct"
322- templates :
323- - ../templates/deployment.yaml
324- set :
325- onPremCompatibilityVersion : " 6.3"
326- runtimeStatusIntegrator.image.tag : " 0.3.4"
327- imageSbomExtractor.image.tag : " 0.4.10"
328- asserts :
329- - equal :
330- path : spec.template.spec.containers[0].image
331- value : quay.io/sysdig/runtime-status-integrator:0.3.4
332- - equal :
333- path : spec.template.spec.containers[1].image
334- value : quay.io/sysdig/image-sbom-extractor:0.4.10
335-
336- - it : " succeeds if the onPremCompatibilityVersion is set to 6.6 and the runtimeStatusIntegrator and imageSbomExtractor versions are correct"
337- templates :
338- - ../templates/deployment.yaml
339- set :
340- onPremCompatibilityVersion : " 6.6"
341- runtimeStatusIntegrator.image.tag : " 2.3.4"
342- imageSbomExtractor.image.tag : " 0.5.0"
343- asserts :
344- - equal :
345- path : spec.template.spec.containers[0].image
346- value : quay.io/sysdig/runtime-status-integrator:2.3.4
347- - equal :
348- path : spec.template.spec.containers[1].image
349- value : quay.io/sysdig/image-sbom-extractor:0.5.0
350-
351- - it : " succeeds if the onPremCompatibilityVersion is set to 6.7 and the runtimeStatusIntegrator and imageSbomExtractor versions are correct"
352- templates :
353- - ../templates/deployment.yaml
354- set :
355- onPremCompatibilityVersion : " 6.7"
356- runtimeStatusIntegrator.image.tag : " 2.3.4"
357- imageSbomExtractor.image.tag : " 0.5.0"
358- asserts :
359- - equal :
360- path : spec.template.spec.containers[0].image
361- value : quay.io/sysdig/runtime-status-integrator:2.3.4
362- - equal :
363- path : spec.template.spec.containers[1].image
364- value : quay.io/sysdig/image-sbom-extractor:0.5.0
365-
366- - it : " succeeds if the runtimeStatusIntegrator version is not a semver and the onPremCompatibilityVersion is 6.4"
367- templates :
368- - ../templates/deployment.yaml
369- set :
370- onPremCompatibilityVersion : " 6.4"
371- runtimeStatusIntegrator.image.tag : " unstable-rc"
372- imageSbomExtractor.image.tag : " 0.4.9"
373- asserts :
374- - equal :
375- path : spec.template.spec.containers[0].image
376- value : quay.io/sysdig/runtime-status-integrator:unstable-rc
377- - equal :
378- path : spec.template.spec.containers[1].image
379- value : quay.io/sysdig/image-sbom-extractor:0.4.9
380-
381- - it : " succeeds if the imageSbomExtractor version is not a semver and the onPremCompatibilityVersion is 6.6"
382- templates :
383- - ../templates/deployment.yaml
384- set :
385- onPremCompatibilityVersion : " 6.6"
386- runtimeStatusIntegrator.image.tag : " 1.3.5"
387- imageSbomExtractor.image.tag : " 3bc59a4958d15dfa6afed20dfd2459e268b4cda8"
388- asserts :
389- - equal :
390- path : spec.template.spec.containers[0].image
391- value : quay.io/sysdig/runtime-status-integrator:1.3.5
392- - equal :
393- path : spec.template.spec.containers[1].image
394- value : quay.io/sysdig/image-sbom-extractor:3bc59a4958d15dfa6afed20dfd2459e268b4cda8
395-
396184 - it : " correctly sets the CLUSTERSCANNER_PLATFORM_ENABLED env var"
397185 templates :
398186 - ../templates/deployment.yaml
0 commit comments