hercules-ci / support

User feedback, questions and our public roadmap. help@hercules-ci.com
5 stars 1 forks source link

Adding `flake.nix` doesn't trigger first build #64

Closed brainrake closed 1 year ago

brainrake commented 2 years ago

Need to push ci.nix or default.nix to trigger first build.

roberth commented 2 years ago

I couldn't reproduce a problem with flake.nix specifically. Did you observe this right after installation, before pushing anything new? Installation currently does not trigger a job.

brainrake commented 2 years ago

After adding repository with a flake.nix (but no ci.nix or default.nix) on Hercules dashboard and pushing a new commit, the dashboard still says "Push a commit with a Nix file to start the first job.". If I push an empty ci.nix, the build starts.

brainrake commented 2 years ago

After removing ci.nix, the project continues building with just flake.nix. It seems ci.nix is needed just to start the first job, flake.nix alone is not enough.

brainrake commented 1 year ago

Could not reproduce anymore. Seems fixed:)