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

Speed up atlantis image build time by using actions/cache #2704

Closed
nitrocode opened this issue Nov 21, 2022 · 1 comment
Closed

Speed up atlantis image build time by using actions/cache #2704

nitrocode opened this issue Nov 21, 2022 · 1 comment
Labels
bug Something isn't working build Relating to how we build Atlantis github-actions

Comments

@nitrocode
Copy link
Member

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

Builds can take up to 30 minutes within the container

Goreleaser only takes about 8 to 10 minutes

There are ways to reduce the time by taking advantage of actions/cache

https://markphelps.me/posts/speed-up-your-go-builds-with-actions-cache/

Reproduction Steps

See any build after a PR is merged or see atlantis-image PR checks

Logs

https://github.com/runatlantis/atlantis/actions/runs/3511730996/jobs/5882765189

Environment details

N/A

Additional Context

N/A

@nitrocode nitrocode added bug Something isn't working build Relating to how we build Atlantis area/build labels Nov 21, 2022
@nitrocode
Copy link
Member Author

Closed by #2737 and #2738 by @Tenzer ! Thank you again.

Although builds are still slow, we are now taking advantage of caching. We may need to create a new ticket to speed up builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Relating to how we build Atlantis github-actions
Projects
None yet
Development

No branches or pull requests

1 participant