Skip to content

ci: use manual caching with actions/cache #16788

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

Merged
merged 2 commits into from
May 5, 2025

Conversation

kruskall
Copy link
Member

@kruskall kruskall commented May 2, 2025

Motivation/summary

use os agnostic cache key
only cache pkg mod cache

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

Related issues

use os agnostic cache key
only cache pkg mod cache
@kruskall kruskall requested a review from a team as a code owner May 2, 2025 20:28
Copy link
Contributor

mergify bot commented May 2, 2025

This pull request does not have a backport label. Could you fix it @kruskall? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-7.17 is the label to automatically backport to the 7.17 branch.
  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • backport-9./d is the label to automatically backport to the 9./d branch. /d is the digit.
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

by default cache won't be shared across os

enable it so we can reuse the go module cache
@kruskall kruskall added backport-8.17 Automated backport with mergify backport-8.18 Automated backport to the 8.18 branch backport-9.0 Automated backport to the 9.0 branch backport-8.19 Automated backport to the 8.19 branch labels May 5, 2025
@kruskall kruskall merged commit bac9fec into elastic:main May 5, 2025
16 checks passed
@kruskall kruskall deleted the ci/manual-cache branch May 5, 2025 05:57
mergify bot pushed a commit that referenced this pull request May 5, 2025
* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml
mergify bot pushed a commit that referenced this pull request May 5, 2025
* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml
mergify bot pushed a commit that referenced this pull request May 5, 2025
* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml
mergify bot pushed a commit that referenced this pull request May 5, 2025
* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml
mergify bot added a commit that referenced this pull request May 5, 2025
…16791)

* ci: use manual caching with actions/cache (#16788)

* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml

* Update ci.yml

---------

Co-authored-by: kruskall <[email protected]>
mergify bot added a commit that referenced this pull request May 5, 2025
…6792)

* ci: use manual caching with actions/cache (#16788)

* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml

* Update ci.yml

* Update ci.yml

---------

Co-authored-by: kruskall <[email protected]>
mergify bot added a commit that referenced this pull request May 5, 2025
…16790)

* ci: use manual caching with actions/cache (#16788)

* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml

* Update ci.yml

---------

Co-authored-by: kruskall <[email protected]>
mergify bot added a commit that referenced this pull request May 5, 2025
…16789)

* ci: use manual caching with actions/cache (#16788)

* ci: use manual caching with actions/cache

use os agnostic cache key
only cache pkg mod cache

* ci: enable enableCrossOsArchive

by default cache won't be shared across os

enable it so we can reuse the go module cache

(cherry picked from commit bac9fec)

# Conflicts:
#	.github/workflows/ci.yml

* Update ci.yml

* Update ci.yml

* feat: bump elastic-agent-client lib to fix race condition

---------

Co-authored-by: kruskall <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.17 Automated backport with mergify backport-8.18 Automated backport to the 8.18 branch backport-8.19 Automated backport to the 8.19 branch backport-9.0 Automated backport to the 9.0 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants