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

chore: refactor Dockerfiles to reduce the build time #9081

Merged
merged 1 commit into from
Apr 13, 2022
Merged

chore: refactor Dockerfiles to reduce the build time #9081

merged 1 commit into from
Apr 13, 2022

Conversation

adriang-90
Copy link
Contributor

Checklist:

  • [c] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I have signed off all my commits as required by DCO
  • My build is green (troubleshooting builds).

Summary

I managed to reduce build time by half with those changes. In addition I wanted to make a changes to Dockerfiles that follows the best practices, such as:

@adriang-90 adriang-90 changed the title chore: refactor Dockerfiles to reduce build time chore: refactor Dockerfiles to reduce the build time Apr 12, 2022
@codecov
Copy link

codecov bot commented Apr 12, 2022

Codecov Report

Merging #9081 (bcdd8bd) into master (2e0b2a1) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9081      +/-   ##
==========================================
- Coverage   45.48%   45.44%   -0.05%     
==========================================
  Files         217      217              
  Lines       25655    25655              
==========================================
- Hits        11669    11658      -11     
- Misses      12357    12371      +14     
+ Partials     1629     1626       -3     
Impacted Files Coverage Δ
applicationset/services/scm_provider/github.go 63.52% <0.00%> (-17.65%) ⬇️
util/settings/settings.go 48.10% <0.00%> (ø)
applicationset/services/scm_provider/utils.go 88.50% <0.00%> (+4.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e0b2a1...bcdd8bd. Read the comment docs.

Copy link
Member

@crenshaw-dev crenshaw-dev left a comment

Choose a reason for hiding this comment

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

One clarifying question. Otherwise lgtm!

Dockerfile Show resolved Hide resolved
Copy link
Member

@pasha-codefresh pasha-codefresh left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@crenshaw-dev crenshaw-dev merged commit cc6c625 into argoproj:master Apr 13, 2022
@adriang-90 adriang-90 deleted the devops branch April 20, 2022 16:41
wojtekidd pushed a commit to wojtekidd/argo-cd that referenced this pull request Apr 25, 2022
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.

4 participants