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: Remove daily artifacts on successful test run #5370

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

gw0
Copy link
Contributor

@gw0 gw0 commented Sep 20, 2023

In case of success daily artifacts are not interesting and can be removed, otherwise the script will error out before reaching the added line.

@@ -12,6 +12,9 @@ if [[ $BUILDKITE_RETRY_COUNT == 0 ]]; then
--scenario_timeout 900m \
--scenario e2e/runtime/txsource-multi \
"$@"

# In case of success daily artifacts are not interesting and can be removed.
rm -rf /var/tmp/longtests/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove line 8?

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess not, because of failed runs.

Copy link
Contributor Author

@gw0 gw0 Sep 20, 2023

Choose a reason for hiding this comment

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

Actually we should, because it doesn't do anything. Nowadays, Buildkite jobs are now much more isolated from other jobs (only the caches are shared), and it can not remove any remains of other jobs.

@@ -12,6 +12,9 @@ if [[ $BUILDKITE_RETRY_COUNT == 0 ]]; then
--scenario_timeout 900m \
--scenario e2e/runtime/txsource-multi \
"$@"

# In case of success daily artifacts are not interesting and can be removed.
rm -rf /var/tmp/longtests/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess not, because of failed runs.

@gw0 gw0 force-pushed the gw0/remove-daily-artifacts-on-success branch from 40ffed1 to 6c624a2 Compare September 20, 2023 10:05
@gw0 gw0 force-pushed the gw0/remove-daily-artifacts-on-success branch from 6c624a2 to a64b8e2 Compare September 20, 2023 10:07
@gw0 gw0 merged commit 647d533 into master Sep 20, 2023
1 check passed
@gw0 gw0 deleted the gw0/remove-daily-artifacts-on-success branch September 20, 2023 15:27
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