#ci-next.exs

1 messages Β· Page 1 of 1 (latest)

cinder rapids
tired bronze
#

Great, will change that tonight πŸ™‚

#

Awesome that it's an (experimental) official sdk now, too bad it seems that no-one is interested/uses it (I found very little on the internet about it)

#

Just wanted to verify if it is/was still a good approach, or if things changed since then

cinder rapids
#

Oh, I just see the one breaking change. Let me update in a few minutes!

cinder rapids
tired bronze
#

That is amazing. I will try later tonight and report back! Thank you so much for your swift help with this!

tired bronze
#

That worked, amazing. I just need to figure out how to push to (my own private) registry, but that should be easy enough

#

I have a lot of warnings like this:

┃ warning: Dagger.Directory.directory/2 is undefined (module Dagger.Directory is not available or is yet to be defined)                             
┃   lib/mix/tasks/dagger.test.ex:69  ```
#

Also I seem to be triggering full mix recompiles very often (even when just changing the dagger pipeline code), is there a trick to reduce this and have it cache it better?

#

Especially all the dependencies should not be required (without changes to mix.exs)

cinder rapids
cinder rapids
tired bronze
cinder rapids
tired bronze
#

I have this warning for every function from the library, I probably did something odd with my imports

cinder rapids
tired bronze
#

I'm also doing something wrong with the cache, but no idea yet what πŸ™‚

cinder rapids
#

It's problably because of the task copy release from _build which's living inside the cache volume (https://gist.github.com/everte/262bd91e1ae3cea23bfe9f5e3078ce5b#file-dagger-ex-L80) and dagger is not allowed to copy from cache volume directly.

The possible solution that I can think at the moment is just copy the release bundle to outside and uses it instead. I post a solution into your gist https://gist.github.com/everte/262bd91e1ae3cea23bfe9f5e3078ce5b?permalink_comment_id=4801943#gistcomment-4801943. Hope this can help.

Gist

dagger. GitHub Gist: instantly share code, notes, and snippets.

Gist

dagger. GitHub Gist: instantly share code, notes, and snippets.

tired bronze
#

That seems to work regarding the caching πŸ™‚

#

Still having this huge list of warnings

cinder rapids
#

Did you try mix deps.clean --all?

#

I try on my machine but no luck to see the huge warnings like your build. 😦

tired bronze
#

Jup, even after mix deps.clean --all.Odd but not a dealbreaker πŸ™‚

tired bronze
#

Hmm, one tiny issue left, I seem to be missing the bin/migrate bin/server

cinder rapids
tired bronze
#

Hmm, still needs some tweaking. I had to remove the caching because it was caching too good

tired bronze