Skip to content

Add support for bypassing static build cache on PRs. - #14646

Merged
Ferroin merged 1 commit into
netdata:masterfrom
Ferroin:bypass-static-cache
Mar 3, 2023
Merged

Add support for bypassing static build cache on PRs.#14646
Ferroin merged 1 commit into
netdata:masterfrom
Ferroin:bypass-static-cache

Conversation

@Ferroin

@Ferroin Ferroin commented Mar 2, 2023

Copy link
Copy Markdown
Member
Summary

This is done via a new PR label called run-ci/no-cache. When present on a PR, this should skip any actions/cache actions and any associated support actions for caching so that the CI runs do not use caches.

Intended to simplify debugging when caching causes issues.

Test Plan

Observe that the static build jobs on this PR do not do any caching.

Additional Information

Also fixes a long-standing bug in the static build workflow.

@Ferroin Ferroin added no changelog Issues which are not going to be added to changelog run-ci/no-cache Bypass caching in CI jobs on PRs which have this label. labels Mar 2, 2023
@Ferroin
Ferroin marked this pull request as ready for review March 2, 2023 12:56
@Ferroin
Ferroin requested a review from tkatsoulas as a code owner March 2, 2023 12:56
@Ferroin
Ferroin requested a review from a team March 2, 2023 12:56

@thiagoftsm thiagoftsm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PR achieved expected result as shown here. LGTM!

@Ferroin
Ferroin merged commit af360d8 into netdata:master Mar 3, 2023
@Ferroin
Ferroin deleted the bypass-static-cache branch March 3, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci no changelog Issues which are not going to be added to changelog run-ci/no-cache Bypass caching in CI jobs on PRs which have this label.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants