diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 616c54053..910c1f18e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,6 +46,9 @@ jobs: - name: test cmd run: make test-cmd + - name: test api + run: make test-api + - name: test controllers on opensfhit run: CLUSTER_TYPE=openshift make test-controllers @@ -106,6 +109,9 @@ jobs: - name: test cmd run: make test-cmd + - name: test api + run: make test-api + - name: test controllers on opensfhit run: CLUSTER_TYPE=openshift make test-controllers diff --git a/api/v1/testdata/TestIBRendering/simpleib.golden b/api/v1/testdata/TestIBRendering/simpleib.golden index 747dd5253..c88d26c35 100644 --- a/api/v1/testdata/TestIBRendering/simpleib.golden +++ b/api/v1/testdata/TestIBRendering/simpleib.golden @@ -9,6 +9,6 @@ "namespace": "testnamespace" }, "spec": { - "config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"type\":\"ib-sriov\",\"capabilities\":foo,\"ipam\":{} }" + "config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"type\":\"ib-sriov\",\"capabilities\":foo,\"ipam\":{} }" } } diff --git a/api/v1/testdata/TestRendering/chained.golden b/api/v1/testdata/TestRendering/chained.golden index 3d1c2be4a..156acf88b 100644 --- a/api/v1/testdata/TestRendering/chained.golden +++ b/api/v1/testdata/TestRendering/chained.golden @@ -9,6 +9,6 @@ "namespace": "testnamespace" }, "spec": { - "config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"plugins\": [ {\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} },\n{ \"type\": \"vrf\", \"vrfname\": \"blue\" }\n] }" + "config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"plugins\": [ {\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} },\n{ \"type\": \"vrf\", \"vrfname\": \"blue\" }\n] }" } } diff --git a/api/v1/testdata/TestRendering/simple.golden b/api/v1/testdata/TestRendering/simple.golden index b8f94bcc4..3eb98bbb3 100644 --- a/api/v1/testdata/TestRendering/simple.golden +++ b/api/v1/testdata/TestRendering/simple.golden @@ -9,6 +9,6 @@ "namespace": "testnamespace" }, "spec": { - "config": "{ \"cniVersion\":\"0.3.1\", \"name\":\"\",\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} }" + "config": "{ \"cniVersion\":\"1.0.0\", \"name\":\"\",\"type\":\"sriov\",\"vlan\":0,\"vlanQoS\":0,\"ipam\":{} }" } }