Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clair: 4.0.4 -> 4.0.5 #120165

Merged
merged 1 commit into from Apr 22, 2021
Merged

clair: 4.0.4 -> 4.0.5 #120165

merged 1 commit into from Apr 22, 2021

Conversation

r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/quay/clair/releases.

meta.description for clair is: "Vulnerability Static Analysis for Containers"

meta.homepage for clair is: "https://github.com/quay/clair"

meta.changelog for clair is: "https://github.com/quay/clair/blob/v4.0.5/CHANGELOG.md"

Updates performed
  • Golang update
To inspect upstream changes
Impact
Checks done (click to expand)
  • built on NixOS

  • The tests defined in passthru.tests, if any, passed

  • /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5/bin/clair passed the binary check.

  • /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5/bin/clairctl passed the binary check.

  • /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5/bin/.clair-wrapped passed the binary check.

  • 3 of 3 passed binary check by having a zero exit code.

  • 2 of 3 passed binary check by having the new version present in output.

  • found 4.0.5 with grep in /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5

  • found 4.0.5 in filename of file in /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5

  • directory tree listing: https://gist.github.com/07df322c19a15a15796c8d20bbcce3fe

  • du listing: https://gist.github.com/f5d152a697ee8253635bb4d9a1c8840e


Rebuild report (if merged into master) (click to expand)
4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)


First fifty rebuilds by attrpath
clair
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A clair https://github.com/r-ryantm/nixpkgs/archive/4fad8345b2674e6d1cb3d86ca6e097f3c079a632.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5
ls -la /nix/store/y82lpv0qwhklbrs60sf9qr2x2pj5qyh3-clair-4.0.5/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:
  • clair

Maintainer pings

cc @marsam @kalbasit for testing.

@fabaff
Copy link
Member

fabaff commented Apr 22, 2021

Result of nixpkgs-review pr 120165 run on x86_64-linux 1

1 package built:
  • clair

Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...ew/pr-120165]$ ./results/clair/bin/clair -h
Usage of ./results/clair/bin/clair:
  -conf value
        The file system path to Clair's config file.
[...]]

Change looks good to me.

@marsam marsam merged commit a48ea1b into NixOS:master Apr 22, 2021
@r-ryantm r-ryantm deleted the auto-update/clair branch April 25, 2021 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants