Skip to content

FreeBSD CI Run logs retention#4089

Merged
jedevc merged 1 commit intomoby:masterfrom
akhramov:feature/freebsd-ci-run-logs-retention
Aug 2, 2023
Merged

FreeBSD CI Run logs retention#4089
jedevc merged 1 commit intomoby:masterfrom
akhramov:feature/freebsd-ci-run-logs-retention

Conversation

@akhramov
Copy link
Copy Markdown
Contributor

@akhramov akhramov commented Aug 2, 2023

FreeBSD CI Run logs retention

This is a follow-up to
#2376 (comment).
Currently, once the integration test has been run, there is no way to
check the buildkitd / containerd logs.

This change adds a step to print the logs

@akhramov akhramov force-pushed the feature/freebsd-ci-run-logs-retention branch from 73b4cb3 to ba01999 Compare August 2, 2023 10:41
@akhramov akhramov mentioned this pull request Aug 2, 2023
Comment thread .github/workflows/test-os.yml Outdated
Comment on lines +114 to +120
- name: Archive integration test artifacts
uses: actions/upload-artifact@v3
with:
name: freebsd-run-logs
path: run-logs
retention-days: 5
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should always run this step, I think this only runs if the previous job succeeds.

Also, if we could print out the logs similar to how we do for the other tests, see https://github.com/moby/buildkit/actions/runs/5737822387/job/15550263885?pr=4089#step:19:3.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed. I also changed the test image tag, for the old one was removed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Instead of uploading to workflow artifacts we could have just print them if the test step failed.

Copy link
Copy Markdown
Member

@crazy-max crazy-max Aug 2, 2023

Choose a reason for hiding this comment

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

Ah sorry @jedevc, I missed this upload-artifact step has been removed. Looks good then 👍

@akhramov akhramov force-pushed the feature/freebsd-ci-run-logs-retention branch 9 times, most recently from c048e4b to e863405 Compare August 2, 2023 13:00
This is a follow-up to
moby#2376 (comment).
Currently, once the integration test has been run, there is no way to
check the buildkitd / containerd logs.

This change adds a step to print the logs

Signed-off-by: Artem Khramov <akhramov@pm.me>
@jedevc
Copy link
Copy Markdown
Member

jedevc commented Aug 2, 2023

Thanks @akhramov, much appreciated ❤️

@jedevc jedevc merged commit 3197395 into moby:master Aug 2, 2023
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.

3 participants