Closed shyim closed 5 months ago
https://www.shellcheck.net/wiki/SC2064 -- Use single quotes, otherwise this... https://www.shellcheck.net/wiki/SC3010 -- In POSIX sh, [[ ]] is undefined.
In examples/mailpit/.test.sh line 6: trap "pkill -P $DEVENV_PID" EXIT ^---------^ SC2064 (warning): Use single quotes, otherwise this expands now rather than when signalled.
For more information: https://www.shellcheck.net/wiki/SC2064 -- Use single quotes, otherwise this...
I fixed the failure in mailpit. I think it was because shellcheck got updated with the lock file change
There's more failures
I unified all tests scripts now:
devenv up
last 10 log lines:
https://www.shellcheck.net/wiki/SC1091 -- Not following: /nix/var/nix/profi... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g...
In build_cloudflare.sh line 1: set -xe ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
For more information: https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y...
For full logs, run 'nix log /nix/store/96b5m76d34iz50bar5hzqn6k467l32a2-pre-commit-run.drv'.
So devenv ci
now runs without errors
Looks the gitignore change of examples broke almost all things. Maybe we can fix that with git config advice.addIgnoredFile false
🤔
That flag fixed it. Can you trigger again the pipeline?
I had to revert the ignoring of devenv.lock. I think we would need to adjust nix itself? to not run git add
on it. 🙈
So I fixed clickhouse, vault, modern-c, supported-languages. There is now something failing with ruby and rails. I have there no experience.
But more jobs are green than current main branch 😅
Thanks for fixing those :heart:
This allows exchanging caddy with a different caddy built binary but different program name. Example frankenphp in nixpkgs
I had to update the devenv.lock as in that commit that mainProgram wasn't added in nixpkgs.