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

feat(storage.yaml): Add new storage #2763

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

nuclearcat
Copy link
Member

Add new kernelci-storage definition.
It is plain http storage, already supported as "backend".

@nuclearcat nuclearcat force-pushed the add-kci-storage branch 4 times, most recently from a8738dd to 6642ac0 Compare January 1, 2025 18:21
Copy link
Contributor

@pawiecz pawiecz left a comment

Choose a reason for hiding this comment

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

I'll have to create follow-up issues to track debt taken here.

Changes in the PR should work fine for now.


kci-storage:
storage_type: backend
base_url: http://mon.kernelci.org:3000/
Copy link
Contributor

Choose a reason for hiding this comment

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

I recall you mentioning that storage on this system fills up pretty quickly and also that these config changes are just temporary - let's verify all the bits in this PR and move to the permanent config values as a next step.

@@ -40,8 +40,10 @@ def generate(self, job, params):
instance = os.getenv('KCI_INSTANCE', 'prod')
if instance == 'prod':
params['k8s_api_key'] = 'kci-api-jwt-early-access'
params['k8s_storage_token_name'] = 'production'
Copy link
Contributor

Choose a reason for hiding this comment

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

This might cause some headache later when working with localinstall or other non-managed Maestro instances but should be fine in the current setup.

Usage of os.getenv('KCI_INSTANCE', ...) needs to be tracked and reduced over time, though.

@nuclearcat nuclearcat changed the title WIP: feat(storage.yaml): Add new storage feat(storage.yaml): Add new storage Jan 16, 2025
Add new kernelci-storage definition.
It is plain http storage, already supported as "backend".

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
@nuclearcat nuclearcat added this pull request to the merge queue Jan 16, 2025
Merged via the queue into kernelci:main with commit 3be7784 Jan 16, 2025
2 of 4 checks passed
@nuclearcat nuclearcat deleted the add-kci-storage branch January 16, 2025 17:02
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.

2 participants