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

bump goreleaser to v1.10.3 #1123

Merged
merged 6 commits into from Jul 28, 2022
Merged

bump goreleaser to v1.10.3 #1123

merged 6 commits into from Jul 28, 2022

Conversation

westonsteimel
Copy link
Contributor

Signed-off-by: Weston Steimel weston.steimel@anchore.com

Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
@github-actions
Copy link

github-actions bot commented Jul 28, 2022

Benchmark Test Results

Benchmark results from the latest changes vs base branch
name                                                       old time/op    new time/op    delta
ImagePackageCatalogers/alpmdb-cataloger-2                    13.2ms ± 3%    10.3ms ± 1%  -21.45%  (p=0.016 n=5+4)
ImagePackageCatalogers/ruby-gemspec-cataloger-2              1.57ms ± 6%    1.19ms ± 7%  -23.89%  (p=0.008 n=5+5)
ImagePackageCatalogers/python-package-cataloger-2            4.00ms ±14%    2.95ms ± 1%  -26.26%  (p=0.008 n=5+5)
ImagePackageCatalogers/php-composer-installed-cataloger-2    1.28ms ± 7%    0.96ms ± 0%  -24.85%  (p=0.008 n=5+5)
ImagePackageCatalogers/javascript-package-cataloger-2         911µs ± 4%     672µs ± 1%  -26.22%  (p=0.008 n=5+5)
ImagePackageCatalogers/dpkgdb-cataloger-2                    1.07ms ± 8%    0.79ms ± 0%  -25.76%  (p=0.008 n=5+5)
ImagePackageCatalogers/rpmdb-cataloger-2                     1.41ms ± 5%    1.15ms ± 0%  -18.48%  (p=0.008 n=5+5)
ImagePackageCatalogers/java-cataloger-2                      16.1ms ± 3%    13.3ms ± 1%  -17.38%  (p=0.008 n=5+5)
ImagePackageCatalogers/apkdb-cataloger-2                     1.46ms ± 7%    1.15ms ± 3%  -21.10%  (p=0.008 n=5+5)
ImagePackageCatalogers/go-module-binary-cataloger-2          2.71µs ± 4%    1.98µs ± 1%  -27.05%  (p=0.008 n=5+5)
ImagePackageCatalogers/dotnet-deps-cataloger-2               1.63ms ± 2%    1.24ms ± 2%  -24.15%  (p=0.008 n=5+5)
ImagePackageCatalogers/portage-cataloger-2                    862µs ± 4%     636µs ± 1%  -26.24%  (p=0.008 n=5+5)

name                                                       old alloc/op   new alloc/op   delta
ImagePackageCatalogers/alpmdb-cataloger-2                    5.26MB ± 0%    5.26MB ± 0%     ~     (p=0.151 n=5+5)
ImagePackageCatalogers/ruby-gemspec-cataloger-2               202kB ± 0%     202kB ± 0%     ~     (p=0.310 n=5+5)
ImagePackageCatalogers/python-package-cataloger-2             945kB ± 0%     944kB ± 0%   -0.11%  (p=0.032 n=5+5)
ImagePackageCatalogers/php-composer-installed-cataloger-2     214kB ± 0%     214kB ± 0%     ~     (p=0.310 n=5+5)
ImagePackageCatalogers/javascript-package-cataloger-2         158kB ± 0%     158kB ± 0%     ~     (p=0.310 n=5+5)
ImagePackageCatalogers/dpkgdb-cataloger-2                     203kB ± 0%     203kB ± 0%     ~     (p=0.421 n=5+5)
ImagePackageCatalogers/rpmdb-cataloger-2                      301kB ± 0%     301kB ± 0%   +0.14%  (p=0.008 n=5+5)
ImagePackageCatalogers/java-cataloger-2                      3.44MB ± 0%    3.44MB ± 0%     ~     (p=0.690 n=5+5)
ImagePackageCatalogers/apkdb-cataloger-2                     1.25MB ± 0%    1.25MB ± 0%     ~     (p=0.421 n=5+5)
ImagePackageCatalogers/go-module-binary-cataloger-2            672B ± 0%      672B ± 0%     ~     (all equal)
ImagePackageCatalogers/dotnet-deps-cataloger-2                369kB ± 0%     369kB ± 0%   -0.08%  (p=0.008 n=5+5)
ImagePackageCatalogers/portage-cataloger-2                    136kB ± 0%     136kB ± 0%     ~     (p=0.841 n=5+5)

name                                                       old allocs/op  new allocs/op  delta
ImagePackageCatalogers/alpmdb-cataloger-2                     85.7k ± 0%     85.7k ± 0%     ~     (p=0.095 n=5+4)
ImagePackageCatalogers/ruby-gemspec-cataloger-2               4.25k ± 0%     4.25k ± 0%     ~     (all equal)
ImagePackageCatalogers/python-package-cataloger-2             16.6k ± 0%     16.6k ± 0%     ~     (p=0.468 n=5+5)
ImagePackageCatalogers/php-composer-installed-cataloger-2     5.53k ± 0%     5.53k ± 0%     ~     (p=0.167 n=5+5)
ImagePackageCatalogers/javascript-package-cataloger-2         3.31k ± 0%     3.31k ± 0%     ~     (p=0.444 n=5+5)
ImagePackageCatalogers/dpkgdb-cataloger-2                     4.60k ± 0%     4.60k ± 0%     ~     (all equal)
ImagePackageCatalogers/rpmdb-cataloger-2                      8.10k ± 0%     8.10k ± 0%     ~     (all equal)
ImagePackageCatalogers/java-cataloger-2                       57.5k ± 0%     57.5k ± 0%     ~     (p=0.833 n=5+5)
ImagePackageCatalogers/apkdb-cataloger-2                      5.43k ± 0%     5.43k ± 0%     ~     (all equal)
ImagePackageCatalogers/go-module-binary-cataloger-2            15.0 ± 0%      15.0 ± 0%     ~     (all equal)
ImagePackageCatalogers/dotnet-deps-cataloger-2                7.27k ± 0%     7.27k ± 0%     ~     (all equal)
ImagePackageCatalogers/portage-cataloger-2                    3.59k ± 0%     3.59k ± 0%     ~     (p=1.000 n=5+4)

@spiffcs spiffcs enabled auto-merge (squash) July 28, 2022 13:23
@spiffcs spiffcs disabled auto-merge July 28, 2022 13:40
@spiffcs
Copy link
Contributor

spiffcs commented Jul 28, 2022

Looking at the CI here now to help get this merged

@westonsteimel
Copy link
Contributor Author

Wow, only one of the three broke though. I was figuring all of them would

@westonsteimel
Copy link
Contributor Author

Also, likely need same bumps for grype. I'm out for a bit but can submit those when I get back unless someone else gets to it before then

@spiffcs
Copy link
Contributor

spiffcs commented Jul 28, 2022

Also, likely need same bumps for grype. I'm out for a bit but can submit those when I get back unless someone else gets to it before then

I'll get this fixes over in grype after looking at this one.

Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
@@ -225,7 +225,11 @@ func getSyftBinaryLocationByOS(t testing.TB, goOS string) string {
// note: there is a subtle - vs _ difference between these versions
switch goOS {
case "darwin", "linux":
return path.Join(repoRoot(t), fmt.Sprintf("snapshot/%s-build_%s_%s/syft", goOS, goOS, runtime.GOARCH))
archPath := runtime.GOARCH
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: i feel it would be better to put the arch addition before the switch case in case we add more cases to the switch case in the future.

Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
@spiffcs spiffcs enabled auto-merge (squash) July 28, 2022 16:13
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
@spiffcs spiffcs merged commit 62897fb into main Jul 28, 2022
@spiffcs spiffcs deleted the bump-goreleaser-v1.10.3 branch July 28, 2022 17:10
aiwantaozi pushed a commit to aiwantaozi/syft that referenced this pull request Oct 20, 2022
Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants