Skip to content

Conversation

@bwagner5
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:

  • Cache go mods

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bwagner5 bwagner5 requested a review from a team as a code owner January 31, 2022 23:26
Copy link
Contributor

@snay2 snay2 left a comment

Choose a reason for hiding this comment

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

What is the intention of this change? Should it improve build times? Reduce build failures?

Does it come with any additional costs (e.g., GHA capacity usage)?

Copy link
Contributor

@snay2 snay2 left a comment

Choose a reason for hiding this comment

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

Discussed during the SIG meeting. Risks are low. Build times improved dramatically when they did this on Karpenter, so we're going to merge it and see what benefit we get.

@bwagner5
Copy link
Contributor Author

bwagner5 commented Feb 1, 2022

I think I remember why I haven't done this before... because we're building NTH in containers so we'd need to do some storage mapping to get this to work properly.... I'm going to merge since this will still be necessary and doesn't hurt things currently, but I guess there's some more work to do here :)

@bwagner5 bwagner5 merged commit ae65a87 into aws:main Feb 1, 2022
@bwagner5 bwagner5 deleted the gha-cache branch February 1, 2022 20:45
@snay2
Copy link
Contributor

snay2 commented Feb 10, 2022

Some follow-up data comparing build times of v1.14.1 (before this PR) and v1.15.0 (after). Doesn't look like this had much effect.

v1.14.1 v1.15.0
Linux build 17m 4s 17m 30s
Windows build 32m 32s 36m 50s

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.

2 participants