Skip to content

Commit 1ada372

Browse files
committed
Remove recommended testcases
- move them into dedicated modules that are not included in any version - remove (rec) column from details page Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
1 parent 9642946 commit 1ada372

2 files changed

Lines changed: 47 additions & 5 deletions

File tree

Tests/scs-compatible-iaas.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ modules:
311311
- scs-0101-rngd
312312
- scs-0101-entropy-avail
313313
- scs-0101-fips-test
314+
- id: scs-0101-v1-rec
315+
name: Entropy v1
316+
url: https://docs.scs.community/standards/scs-0101-v1-entropy
317+
targets:
314318
recommended:
315319
- scs-0101-flavor-property
316320
- scs-0101-image-property
@@ -333,6 +337,10 @@ modules:
333337
- scs-0102-prop-provided_until
334338
- scs-0102-prop-uuid_validity
335339
- scs-0102-image-recency
340+
- id: scs-0102-v1-rec
341+
name: Image metadata v1
342+
url: https://docs.scs.community/standards/scs-0102-v1-image-metadata
343+
targets:
336344
recommended:
337345
- scs-0102-prop-hash_algo
338346
- scs-0102-prop-os_purpose
@@ -361,6 +369,10 @@ modules:
361369
- scs-0102-prop-uuid_validity
362370
- scs-0102-image-recency
363371
- scs-0102-os_purpose-uniqueness
372+
- id: scs-0102-v2-rec
373+
name: Image metadata v2
374+
url: https://docs.scs.community/standards/scs-0102-v2-image-metadata
375+
targets:
364376
recommended:
365377
- scs-0102-prop-hash_algo
366378
- scs-0102-prop-hypervisor_type
@@ -386,6 +398,10 @@ modules:
386398
- scs-0103-flavor-1l-1
387399
- scs-0103-flavor-2v-4-20s
388400
- scs-0103-flavor-4v-16-100s
401+
- id: scs-0103-v1-rec
402+
name: Standard flavors
403+
url: https://docs.scs.community/standards/scs-0103-v1-standard-flavors
404+
targets:
389405
recommended:
390406
- scs-0103-flavor-1v-4-10
391407
- scs-0103-flavor-2v-8-20
@@ -416,6 +432,12 @@ modules:
416432
- scs-0104-source-debian-12
417433
- scs-0104-source-debian-11
418434
- scs-0104-image-ubuntu-2204
435+
- id: scs-0104-v1-1-rec
436+
name: Standard images
437+
url: https://docs.scs.community/standards/scs-0104-v1-standard-images
438+
parameters:
439+
image_spec: address (URL) of an image-spec (YAML) file
440+
targets:
419441
recommended:
420442
- scs-0104-image-capi-1
421443
- id: scs-0104-v1-2
@@ -434,6 +456,12 @@ modules:
434456
- scs-0104-source-debian-12
435457
- scs-0104-source-debian-11
436458
- scs-0104-image-ubuntu-2404
459+
- id: scs-0104-v1-2-rec
460+
name: Standard images
461+
url: https://docs.scs.community/standards/scs-0104-v1-standard-images
462+
parameters:
463+
image_spec: address (URL) of an image-spec (YAML) file
464+
targets:
437465
recommended:
438466
- scs-0104-image-capi-2
439467
- scs-0104-image-debian-12
@@ -443,6 +471,10 @@ modules:
443471
targets:
444472
main:
445473
- scs-0114-syntax-check
474+
- id: scs-0114-v1-rec
475+
name: Volume Types
476+
url: https://docs.scs.community/standards/scs-0114-v1-volume-type-standard
477+
targets:
446478
recommended:
447479
- scs-0114-encrypted-type
448480
- scs-0114-replicated-type
@@ -458,6 +490,10 @@ modules:
458490
targets:
459491
main:
460492
- scs-0116-permissions
493+
- id: scs-0116-v1-rec
494+
name: Key manager
495+
url: https://docs.scs.community/standards/scs-0116-v1-key-manager-standard
496+
targets:
461497
recommended:
462498
- scs-0116-presence
463499
preview:
@@ -469,6 +505,10 @@ modules:
469505
main:
470506
- scs-0117-test-backup
471507
- id: scs-0121-v1
508+
name: Availability Zones
509+
url: https://docs.scs.community/standards/scs-0121-v1-Availability-Zones-Standard
510+
targets: {}
511+
- id: scs-0121-v1-rec
472512
name: Availability Zones
473513
url: https://docs.scs.community/standards/scs-0121-v1-Availability-Zones-Standard
474514
targets:
@@ -500,6 +540,10 @@ modules:
500540
- scs-0123-storage-apis
501541
- scs-0123-service-s3
502542
- id: scs-0302-v1
543+
name: Domain Manager Role
544+
url: https://docs.scs.community/standards/scs-0302-v1-domain-manager-role
545+
targets: {}
546+
- id: scs-0302-v1-rec
503547
name: Domain Manager Role
504548
url: https://docs.scs.community/standards/scs-0302-v1-domain-manager-role
505549
targets:

compliance-monitor/templates/details.md.j2

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ No recent test results available.
2525

2626
{% else %}
2727

28-
The columns labeled _(rec)_ contain recommended testcases for the scope version named in the preceding column header.
29-
30-
| testcase id | result |{% for version in scope_result.relevant %} {{ version }}{{ scope_result.versions[version].validity | validity_symbol }} | (rec) |{% endfor %} description |
31-
|---|---|{% for version in scope_result.relevant %}---|---|{% endfor %}---|
28+
| testcase id | result |{% for version in scope_result.relevant %} {{ version }}{{ scope_result.versions[version].validity | validity_symbol }} |{% endfor %} description |
29+
|---|---|{% for version in scope_result.relevant %}---|{% endfor %}---|
3230
{% for cat, sym0, val in (('FAIL', '🛑🟧', -1), ('MISSING', '❓', None), ('DNF', '❔', 0), ('pass', '✅', 1)) -%}
3331
{% set bucket = scope_result.buckets[val] -%}
3432
{% for testcase_id in bucket -%}
@@ -43,7 +41,7 @@ The columns labeled _(rec)_ contain recommended testcases for the scope version
4341
| {{sym}} {{cat}}{% if res.report %} ([{{ res.checked_at | short_isodate }}]({{ report_url(res.report, version, testcase_id) }})) { title="{{ res.report }} {{ res.checked_at }}" }{% endif %} {# -#}
4442
{% for version in scope_result.relevant %}| {%
4543
set tgt = scope_result.versions[version].tc_target[testcase_id]
46-
%}{% if tgt == 'main' %}X { title="main" }{% endif %} | {% if tgt and tgt != 'main' %}x { title="{{ tgt }}" }{% endif %} {% endfor -%}
44+
%}{% if tgt == 'main' %}X { title="main" }{% endif %} {% endfor -%}
4745
| {{ testcase.description | trim }} |
4846
{% endfor %}{# testcase -#}
4947
{% endfor %}{# categories #}

0 commit comments

Comments
 (0)