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

Support container logs #54

Merged
merged 3 commits into from
Dec 8, 2023
Merged

Support container logs #54

merged 3 commits into from
Dec 8, 2023

Conversation

FrostyX
Copy link
Member

@FrostyX FrostyX commented Dec 7, 2023

Fix #24
Fix #34
Fix #35

We collaborated on this PR with @nikromen

nikromen and others added 3 commits December 7, 2023 22:01
- New container_file field added to schemas - serves the same purpose
as spec_file, just for containerfiles.

- New endpoint for feedbacks for container logs created
/frontend/contribute/container

- New provider for containers created, fetching only logs from URL
for now

Fixes #35
- url has to check if header contains text/plain not if
it exactly contains it - e.g. paste.centos's raw text contains
text/plain; charset=utf-8 as a content

- packit provider for whatever reason was checking build_id
instead of task_id for packit api
@jpodivin jpodivin merged commit 1bdf2ca into main Dec 8, 2023
1 check passed
@jpodivin jpodivin deleted the container-logs branch December 8, 2023 10:11
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.

Fetching container logs [backend] Fetching container logs [frontend] Fetching container logs
3 participants