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

move to buildkit with actions caching #4

Merged
merged 1 commit into from
Oct 3, 2021
Merged

move to buildkit with actions caching #4

merged 1 commit into from
Oct 3, 2021

Conversation

clux
Copy link
Member

@clux clux commented Oct 2, 2021

don't really want do do cargo-chef for musl images, i think just caching the buildkit directories should be better so experimenting a bit with that.

it works fine locally.

@clux
Copy link
Member Author

clux commented Oct 2, 2021

well. this was trying to adopt this article. the caching worked once.. 26s build (matching my 20s local time with only .rs modifications). probably just a small thing left.

Signed-off-by: clux <sszynrae@gmail.com>

add more jobs and test cache

Signed-off-by: clux <sszynrae@gmail.com>

keep publishing logic within CI

Signed-off-by: clux <sszynrae@gmail.com>

remove circleci build

Signed-off-by: clux <sszynrae@gmail.com>

tabs

Signed-off-by: clux <sszynrae@gmail.com>

fmt

Signed-off-by: clux <sszynrae@gmail.com>

test flags

Signed-off-by: clux <sszynrae@gmail.com>

no unit test in this repo

Signed-off-by: clux <sszynrae@gmail.com>

rustfmt / clippy tweaks

Signed-off-by: clux <sszynrae@gmail.com>

clippy + readme

Signed-off-by: clux <sszynrae@gmail.com>

try new suggestions for caching

Signed-off-by: clux <sszynrae@gmail.com>

test cache with only rs changes

Signed-off-by: clux <sszynrae@gmail.com>

try more things..

Signed-off-by: clux <sszynrae@gmail.com>

ping hooks - 2021-10-02

a-ha, mode=max!

Signed-off-by: clux <sszynrae@gmail.com>

final check, works now?

Signed-off-by: clux <sszynrae@gmail.com>

limits pushes to master

Signed-off-by: clux <sszynrae@gmail.com>

maybe wrap that?

Signed-off-by: clux <sszynrae@gmail.com>

rustfmt before clippy (clippy takes a few min)

Signed-off-by: clux <sszynrae@gmail.com>

another cache attempt

Signed-off-by: clux <sszynrae@gmail.com>

do we need mode=max everywhere?

Signed-off-by: clux <sszynrae@gmail.com>

try touching the .rs file..

Signed-off-by: clux <sszynrae@gmail.com>

context related?

Signed-off-by: clux <sszynrae@gmail.com>

apparently this thing does its own checkout!

Signed-off-by: clux <sszynrae@gmail.com>

ok, we need to check out to compute tags -_-

try with qemu

Signed-off-by: clux <sszynrae@gmail.com>

modify .rs file: take 3

Signed-off-by: clux <sszynrae@gmail.com>

fuck this opaque fucking builtin cache

Signed-off-by: clux <sszynrae@gmail.com>

modify .rs take 4

Signed-off-by: clux <sszynrae@gmail.com>

sigh

Signed-off-by: clux <sszynrae@gmail.com>

pointless check

Signed-off-by: clux <sszynrae@gmail.com>

go back to the gha type

Signed-off-by: clux <sszynrae@gmail.com>

context .

Signed-off-by: clux <sszynrae@gmail.com>

reinstate standard rules

Signed-off-by: clux <sszynrae@gmail.com>
@clux
Copy link
Member Author

clux commented Oct 3, 2021

well, going to merge this for now, and hope that maybe there's some branch issues here with the caching.
if not, hopefully it can be fixed later.

@clux clux merged commit 4ce844d into master Oct 3, 2021
@clux clux deleted the actions-buidkit branch October 3, 2021 09:45
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.

1 participant