Run SSA resource manager tests in CI

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2021-09-14 10:22:49 +03:00
parent 9c8f284b7f
commit 9c533e4a52
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
7 changed files with 73 additions and 3 deletions

View File

@ -34,7 +34,9 @@ jobs:
uses: fluxcd/pkg/actions/kubectl@main
with:
version: 1.21.2
- name: Run tests
- name: Run internal tests
run: make test-internal
- name: Run controller tests
run: make test
- name: Check if working tree is dirty
run: |

View File

@ -779,7 +779,7 @@ spec:
type: object
type: array
inventory:
description: The last successfully applied revision metadata.
description: Inventory contains the list of Kubernetes resource object references that have been successfully applied.
properties:
entries:
description: Entries of Kubernetes resource object references.

View File

@ -920,7 +920,7 @@ ResourceInventory
</td>
<td>
<em>(Optional)</em>
<p>The last successfully applied revision metadata.</p>
<p>Inventory contains the list of Kubernetes resource object references that have been successfully applied.</p>
</td>
</tr>
</tbody>

View File

@ -1,3 +1,20 @@
/*
Copyright 2021 Stefan Prodan
Copyright 2021 The Flux authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package ssa
import (

View File

@ -1,3 +1,20 @@
/*
Copyright 2021 Stefan Prodan
Copyright 2021 The Flux authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package ssa
import (

View File

@ -1,3 +1,20 @@
/*
Copyright 2021 Stefan Prodan
Copyright 2021 The Flux authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package ssa
import (

View File

@ -1,3 +1,20 @@
/*
Copyright 2021 Stefan Prodan
Copyright 2021 The Flux authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package ssa
import (