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

ci, fix: change profile of mysql-k8s to testing, skip artefact collection on success #624

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

DnPlas
Copy link
Contributor

@DnPlas DnPlas commented Nov 26, 2024

This PR introduces the following changes to help alleviate the Github runners disk pressure.

  • ci, fix: change profile of mysql-k8s to testing

The mysql-k8s charm, used as kfp-db, has a profile configuration option that can
be set to testing which sets the scope of deployment. This option configures the
sizes of buffers it uses to a small number (and it allocates those buffers upon startup);
otherwise, it uses the pod's resources as it should in production. If the pod has resource
limits, the buffers will be allocated relative to these resource limits; otherwise it will
allocate relative to host machine's resources.
This is recommended for testing environments.

  • ci: skip collection of debug artefacts on success

The Github runners for the KFP CI are getting out of storage by the
time the tests execution finishes, so there is no space left for saving
logs. Skipping saving the debug artefacts on success will allow the workflows
to run successfully.

The mysql-k8s charm, used as kfp-db, has a profile configuration option that can
be set to testing which sets the scope of deployment. This is recommended for
testing environments with limited memory/disk.
@DnPlas DnPlas marked this pull request as ready for review November 27, 2024 14:06
@DnPlas DnPlas requested a review from a team as a code owner November 27, 2024 14:06
orfeas-k
orfeas-k previously approved these changes Nov 27, 2024
@orfeas-k orfeas-k dismissed their stale review November 27, 2024 15:23

Should we consider running collect debug artifacts only on failure() || cancelled()?

orfeas-k
orfeas-k previously approved these changes Nov 27, 2024
The Github runners for the KFP CI are getting out of storage by the
time the tests execution finishes, so there is no space left for saving
logs. Skipping saving the debug artefacts on success will allow the workflows
to run successfully.
@DnPlas DnPlas changed the title ci, fix: change profile of mysql-k8s to testing ci, fix: change profile of mysql-k8s to testing, skip artefact collection on success Nov 27, 2024
@DnPlas DnPlas merged commit 8523e2e into main Nov 27, 2024
75 checks passed
@DnPlas DnPlas deleted the dnplas-use-profile-testing branch November 27, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants