-
Notifications
You must be signed in to change notification settings - Fork 113
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
Conversation
@@ -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/* |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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/* |
There was a problem hiding this comment.
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.
40ffed1
to
6c624a2
Compare
6c624a2
to
a64b8e2
Compare
In case of success daily artifacts are not interesting and can be removed, otherwise the script will error out before reaching the added line.