Skip to content

Commit bfa6ba4

Browse files
committed
Rearange configuration files
Signed-off-by: Toni Finger <[email protected]>
1 parent 9a2809a commit bfa6ba4

File tree

3 files changed

+18
-26
lines changed

3 files changed

+18
-26
lines changed

Tests/config.toml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,32 +48,28 @@ workers = 4
4848
[scopes.scs-compatible-iaas]
4949
spec = "./scs-compatible-iaas.yaml"
5050

51+
5152
[scopes.scs-compatible-kaas]
5253
spec = "./scs-compatible-kaas.yaml"
5354

5455

5556
# default subject (not a real subject, but used to declare a default mapping)
5657
# (this is the only mapping declaration that supports using Python string interpolation)
5758
[subjects._.mapping]
58-
os_cloud = "{subject}"
59-
subject_root = "{subject}"
59+
os_cloud = "{subject}"
60+
subject_root = "{subject}"
6061

6162

6263
[subjects._.kubernetes_setup]
6364
kube_plugin = "kind"
6465
clusterspec = "kaas/clusterspec.yaml"
65-
clusterspec_cluster = "default"
66-
67-
68-
69-
[subjects."cspA-v1.29".kubernetes_setup]
70-
kube_plugin = "kind"
71-
clusterspec_cluster = "v1.29"
72-
66+
clusterspec_cluster = "current-k8s-release"
7367

7468

7569
[subjects."cspA-v1.30".kubernetes_setup]
76-
kube_plugin = "kind"
77-
clusterspec_cluster = "v1.30"
70+
clusterspec_cluster = "current-k8s-release-1"
7871

7972

73+
[subjects."cspA-v1.29".kubernetes_setup]
74+
clusterspec_cluster = "current-k8s-release-2"
75+

Tests/kaas/clusterspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# this file specifies all clusters that have to be provisioned for the tests to run
22
clusters:
3-
default:
3+
current-k8s-release:
44
branch: default
55
kubeconfig: kubeconfig.yaml
6-
v1.29:
6+
current-k8s-release-1:
77
branch: "1.29"
8-
kubeconfig: kubecfg129.yaml
9-
v1.30:
8+
kubeconfig: kubeconfig.yaml
9+
current-k8s-release-2:
1010
branch: "1.30"
11-
kubeconfig: kubecfg130.yaml
11+
kubeconfig: kubeconfig.yaml

Tests/scs-compatible-kaas.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,30 @@ variables:
66
modules:
77
- id: cncf-k8s-conformance
88
name: CNCF Kubernetes conformance
9-
url: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Standards/scs-0210-v2-k8s-version-policy.md # TODO:!!! this standard mentions cncf but is is the right reference?
9+
url: https://github.com/cncf/k8s-conformance/tree/master
1010
parameters:
11-
kubeconfig: relative path to kubeconfig file
11+
result_dir_name:
1212
run:
1313
- executable: ./kaas/plugin/run_sonobuoy_executor.py
14-
args: -k {subject_root}/{kubeconfig} -r {result_dir_name} -c 'cncf-conformance'
14+
args: -k {subject_root}/kubeconfig.yaml -r {subject_root}/{result_dir_name} -c 'cncf-conformance'
1515
testcases:
1616
- id: cncf-k8s-conformance
1717
tags: [mandatory]
1818
- id: scs-0210-v2
1919
name: Kubernetes version policy
2020
url: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Standards/scs-0210-v2-k8s-version-policy.md
21-
parameters:
22-
kubeconfig: relative path to kubeconfig file
2321
run:
2422
- executable: ./kaas/k8s-version-policy/k8s_version_policy.py
25-
args: -k {subject_root}/{kubeconfig}
23+
args: -k {subject_root}/kubeconfig.yaml
2624
testcases:
2725
- id: version-policy-check
2826
tags: [mandatory]
2927
- id: scs-0214-v2
3028
name: Kubernetes node distribution and availability
3129
url: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Standards/scs-0214-v1-k8s-node-distribution.md
32-
parameters:
33-
kubeconfig: relative path to kubeconfig file
3430
run:
3531
- executable: ./kaas/k8s-node-distribution/k8s_node_distribution_check.py
36-
args: -k {subject_root}/{kubeconfig}
32+
args: -k {subject_root}/kubeconfig.yaml
3733
testcases:
3834
- id: node-distribution-check
3935
tags: [mandatory]

0 commit comments

Comments
 (0)