input-output-hk / devx

The Developer Experience Shell - This repo contains a nix develop shell for haskell. Its primary purpose is to help get a development shell for haskell quickly and across multiple operating systems (and architectures).
Apache License 2.0
37 stars 9 forks source link

Fix #98: main jobs fail with the ghcr.io upload #99

Closed yvan-sraka closed 10 months ago

yvan-sraka commented 10 months ago

https://github.com/input-output-hk/devx/actions/runs/6119451696

angerman commented 10 months ago

But we don't have a required job in hydra for this, if we wait for it like we do now, it will never finish.

angerman commented 10 months ago

Do note, we can't have a required job, as that would mean we end up copying all stuff to some machine to build the required job. So that's not really an option.

angerman commented 10 months ago

Let's see if this does a bit better.

angerman commented 10 months ago

So this is better, not ideal though. I think we could do one better with building a matrix to get it all done like here: https://www.kenmuse.com/blog/dynamic-build-matrices-in-github-actions/, however that requires a sentinel job. Maybe https://determinate.systems/posts/hydra-deployment-source-of-truth helps.