Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Update
flyctl
to 0.2.55This also reworks the check phases. Upstream introduced some tests in flyctl#3430 that require network access - we can skip all of them by ignoring
TestToTestMachineConfig
.For some reason, we were running tests in postCheck. We can instead override checkPhase (replicating the base construct) to run checks against
./...
. Under currentbuildGoModule
structure, it is not possible to usesubPackages
(which we want in this case since we only want to build the root package, and not the various internal and audit ones), and also run tests against./...
.By reusing the plumbing of
checkPhase
, we can also avoid duplicating theldflags
as they are already included.See #284568 for an ongoing, potential fix to test problem.
An updateScript has been added as well - upstream tags any PR merge as its own release tag like
v2024.5.20-pr3545.4
- by ignoring tags with-
, we can skip those and stick to the normal release tags.I have also added myself as a maintainer.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.