Skip to content

Enable ci integration test#54

Closed
alicefr wants to merge 9 commits intotrusted-execution-clusters:mainfrom
alicefr:enable-ci-integration-test
Closed

Enable ci integration test#54
alicefr wants to merge 9 commits intotrusted-execution-clusters:mainfrom
alicefr:enable-ci-integration-test

Conversation

@alicefr
Copy link
Copy Markdown
Contributor

@alicefr alicefr commented Oct 10, 2025

Add github action to run the integration tests, if in the end we decide to use the github action

Only run the unit tests since the integration tests require a cluster to
be created and configured.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Signed-off-by: Alice Frosi <afrosi@redhat.com>
The trustee address should be set by the cloud admin while the manifests
will be part of the release.

Also run rustfmt and fixing minor formatting issues.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Set the owner reference for the image-pcrs in the config maps. In this
way, if the cocl cr is deleted, the configmap is cleaned up as well.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
* Each test suite runs in its own Kubernetes namespace to avoid conflicts.
* Introduced a common module for managing test namespaces and resources.
* Added two integration tests:
  * Verifies that creating a CoCL CR also creates the ConfigMap used for PCR calculation.
  * Ensures that deleting the CoCL CR cleans up the associated ConfigMap.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Setting -x for the cluster creation for better debuggability on the ci.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Source isn't recognized as command by the github actions.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr alicefr marked this pull request as draft October 10, 2025 06:20
@alicefr
Copy link
Copy Markdown
Contributor Author

alicefr commented Nov 13, 2025

We need to create a new CI setup not relying on github action for the integration tests.

@alicefr alicefr closed this Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant