Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run func tests locally on runner #129

Merged
merged 6 commits into from
Feb 14, 2025
Merged

Run func tests locally on runner #129

merged 6 commits into from
Feb 14, 2025

Conversation

samuelallan72
Copy link
Contributor

@samuelallan72 samuelallan72 commented Feb 13, 2025

Remove the dependency on the external juju controller, switching to running them locally on a larger github runner instance. In the process, update to the latest template from our automation.

Note that I removed cinder and ceph from the func test bundle. These services are not used in the func tests, and they take up a lot of compute and storage resources because they need to run in VMs. I think removing these, plus the new larger github runners available, has enabled the tests to pass without needing to deploy on an external juju controller.

Remove the dependency on the external juju controller,
switching to running them locally on a larger github runner instance.
In the process, update to the latest template from our automation.
So disable it for now to move forward.
an attempt to reduce the bundle size,
and avoid cases where storage is required (makes it simpler on an lxd cloud)
This may be causing the snap down test to fail,
because the default status hook interval is 5 minutes.
Previously, we had configured the interval to be 30s,
and the status update timeout in the tests is only 2 minutes.

There is the risk that this much shorter interval will increase
the load on the VM too much because of all the extra processing.
@samuelallan72 samuelallan72 marked this pull request as ready for review February 13, 2025 23:32
@samuelallan72 samuelallan72 requested a review from a team as a code owner February 13, 2025 23:32
Copy link
Contributor

@chanchiwai-ray chanchiwai-ray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice! Thanks

@samuelallan72 samuelallan72 merged commit 10763bf into main Feb 14, 2025
3 checks passed
@samuelallan72 samuelallan72 deleted the local-func-tests branch February 14, 2025 04:35
samuelallan72 added a commit to canonical/solutions-engineering-automation that referenced this pull request Feb 14, 2025
Since canonical/openstack-exporter-operator#129
followed the latest template,
we can now add it to automation.
@gabrielcocenza
Copy link
Member

Awesome! Thanks for changing this

gabrielcocenza pushed a commit to canonical/solutions-engineering-automation that referenced this pull request Feb 14, 2025
Since canonical/openstack-exporter-operator#129
followed the latest template,
we can now add it to automation.
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.

5 participants