Skip to content

ci: scope cache to enhance speed - #2120

Merged
aluzzardi merged 1 commit into
dagger:mainfrom
TomChv:feat/multi-cache-management
Apr 25, 2022
Merged

aluzzardi merged 1 commit into
dagger:mainfrom
TomChv:feat/multi-cache-management

Conversation

@TomChv

@TomChv TomChv commented Apr 11, 2022

Copy link
Copy Markdown
Member

Resolves: #2059

Signed-off-by: Vasek - Tom C [email protected]

@TomChv
TomChv requested a review from aluzzardi April 11, 2022 11:14
@TomChv TomChv self-assigned this Apr 11, 2022
@TomChv
TomChv requested review from a team, helderco and shykes as code owners April 11, 2022 11:14
@TomChv

This comment was marked as resolved.

@TomChv
TomChv force-pushed the feat/multi-cache-management branch 7 times, most recently from 631bbe4 to 595c158 Compare April 11, 2022 14:43
@aluzzardi

Copy link
Copy Markdown
Contributor

@TomChv Nice!

Any interesting result?

@TomChv

TomChv commented Apr 11, 2022

Copy link
Copy Markdown
Member Author

There is still issues which dagger CI / Build that I do not understand, I think it's because go cache isn't saved locally through #CacheDir
But on the other side, some operation are CACHED.

I need more work and try to see if it's really efficient

@aluzzardi

Copy link
Copy Markdown
Contributor

#2120 does the trick for our repo, but we need to find a way that works out of the box for everyone

@sipsma sipsma mentioned this pull request Apr 13, 2022
5 of 14 tasks
@TomChv

TomChv commented Apr 19, 2022

Copy link
Copy Markdown
Member Author

I think we should merge that one to fix our use case and see how we can find a generic way through #2140
WDYT @aluzzardi ?

@aluzzardi aluzzardi 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.

LGTM

/cc @sipsma

Comment thread cmd/dagger/cmd/common/common.go Resolved
Comment thread cmd/dagger/cmd/common/common.go Resolved
Comment thread .github/workflows/test-integration.yml Outdated

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.

some workflows are setting DAGGER_LOG_FORMAT and some are not -- maybe standardize one or the other?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Some are set it in helpers.bash, I think I can take care of that in another PR

Resolves: dagger#2059
Signed-off-by: Vasek - Tom C <[email protected]>
@TomChv
TomChv force-pushed the feat/multi-cache-management branch from 595c158 to 30586d7 Compare April 25, 2022 17:50
@TomChv
TomChv requested a review from samalba as a code owner April 25, 2022 17:50
Comment thread .github/workflows/test-integration.yml Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scope cache by PR

3 participants