Skip to content

Commit e49f07c

Browse files
build(deps): Bump github.com/onsi/ginkgo/v2 from 2.23.4 to 2.25.1 in /test/e2e (#1309)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.23.4 to 2.25.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/onsi/ginkgo/releases">github.com/onsi/ginkgo/v2's releases</a>.</em></p> <blockquote> <h2>v2.25.1</h2> <h2>2.25.1</h2> <h3>Fixes</h3> <ul> <li>fix(types): ignore nameless nodes on FullText() [10866d3]</li> <li>chore: fix some CodeQL warnings [2e42cff]</li> </ul> <h2>v2.25.0</h2> <h2>2.25.0</h2> <h3><code>AroundNode</code></h3> <p>This release introduces a new decorator to support more complex spec setup usecases.</p> <p><code>AroundNode</code> registers a function that runs before each individual node. This is considered a more advanced decorator.</p> <p>Please read the <a href="https://onsi.github.io/ginkgo/#advanced-around-node">docs</a> for more information and some examples.</p> <p>Allowed signatures:</p> <ul> <li><code>AroundNode(func())</code> - <code>func</code> will be called before the node is run.</li> <li><code>AroundNode(func(ctx context.Context) context.Context)</code> - <code>func</code> can wrap the passed in context and return a new one which will be passed on to the node.</li> <li><code>AroundNode(func(ctx context.Context, body func(ctx context.Context)))</code> - <code>ctx</code> is the context for the node and <code>body</code> is a function that must be called to run the node. This gives you complete control over what runs before and after the node.</li> </ul> <p>Multiple <code>AroundNode</code> decorators can be applied to a single node and they will run in the order they are applied.</p> <p>Unlike setup nodes like <code>BeforeEach</code> and <code>DeferCleanup</code>, <code>AroundNode</code> is guaranteed to run in the same goroutine as the decorated node. This is necessary when working with lower-level libraries that must run on a single thread (you can call <code>runtime.LockOSThread()</code> in the <code>AroundNode</code> to ensure that the node runs on a single thread).</p> <p>Since <code>AroundNode</code> allows you to modify the context you can also use <code>AroundNode</code> to implement shared setup that attaches values to the context.</p> <p>If applied to a container, <code>AroundNode</code> will run before every node in the container. Including setup nodes like <code>BeforeEach</code> and <code>DeferCleanup</code>.</p> <p><code>AroundNode</code> can also be applied to <code>RunSpecs</code> to run before every node in the suite. This opens up new mechanisms for instrumenting individual nodes across an entire suite.</p> <h2>v2.24.0</h2> <h2>2.24.0</h2> <h3>Features</h3> <p>Specs can now be decorated with (e.g.) <code>SemVerConstraint(&quot;2.1.0&quot;)</code> and <code>ginkgo --sem-ver-filter=&quot;2.1.1&quot;</code> will only run constrained specs that match the requested version. Learn more in the docs <a href="https://onsi.github.io/ginkgo/#spec-semantic-version-filtering">here</a>! Thanks to <a href="https://github.com/Icarus9913"><code>@​Icarus9913</code></a> for the PR.</p> <h3>Fixes</h3> <ul> <li>remove -o from run command [3f5d379]. fixes <a href="https://redirect.github.com/onsi/ginkgo/issues/1582">#1582</a></li> </ul> <h3>Maintenance</h3> <p>Numerous dependency bumps and documentation fixes</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md">github.com/onsi/ginkgo/v2's changelog</a>.</em></p> <blockquote> <h2>2.25.1</h2> <h3>Fixes</h3> <ul> <li>fix(types): ignore nameless nodes on FullText() [10866d3]</li> <li>chore: fix some CodeQL warnings [2e42cff]</li> </ul> <h2>2.25.0</h2> <h3><code>AroundNode</code></h3> <p>This release introduces a new decorator to support more complex spec setup usecases.</p> <p><code>AroundNode</code> registers a function that runs before each individual node. This is considered a more advanced decorator.</p> <p>Please read the <a href="https://onsi.github.io/ginkgo/#advanced-around-node">docs</a> for more information and some examples.</p> <p>Allowed signatures:</p> <ul> <li><code>AroundNode(func())</code> - <code>func</code> will be called before the node is run.</li> <li><code>AroundNode(func(ctx context.Context) context.Context)</code> - <code>func</code> can wrap the passed in context and return a new one which will be passed on to the node.</li> <li><code>AroundNode(func(ctx context.Context, body func(ctx context.Context)))</code> - <code>ctx</code> is the context for the node and <code>body</code> is a function that must be called to run the node. This gives you complete control over what runs before and after the node.</li> </ul> <p>Multiple <code>AroundNode</code> decorators can be applied to a single node and they will run in the order they are applied.</p> <p>Unlike setup nodes like <code>BeforeEach</code> and <code>DeferCleanup</code>, <code>AroundNode</code> is guaranteed to run in the same goroutine as the decorated node. This is necessary when working with lower-level libraries that must run on a single thread (you can call <code>runtime.LockOSThread()</code> in the <code>AroundNode</code> to ensure that the node runs on a single thread).</p> <p>Since <code>AroundNode</code> allows you to modify the context you can also use <code>AroundNode</code> to implement shared setup that attaches values to the context.</p> <p>If applied to a container, <code>AroundNode</code> will run before every node in the container. Including setup nodes like <code>BeforeEach</code> and <code>DeferCleanup</code>.</p> <p><code>AroundNode</code> can also be applied to <code>RunSpecs</code> to run before every node in the suite. This opens up new mechanisms for instrumenting individual nodes across an entire suite.</p> <h2>2.24.0</h2> <h3>Features</h3> <p>Specs can now be decorated with (e.g.) <code>SemVerConstraint(&quot;2.1.0&quot;)</code> and <code>ginkgo --sem-ver-filter=&quot;2.1.1&quot;</code> will only run constrained specs that match the requested version. Learn more in the docs <a href="https://onsi.github.io/ginkgo/#spec-semantic-version-filtering">here</a>! Thanks to <a href="https://github.com/Icarus9913"><code>@​Icarus9913</code></a> for the PR.</p> <h3>Fixes</h3> <ul> <li>remove -o from run command [3f5d379]. fixes <a href="https://redirect.github.com/onsi/ginkgo/issues/1582">#1582</a></li> </ul> <h3>Maintenance</h3> <p>Numerous dependency bumps and documentation fixes</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/onsi/ginkgo/commit/1ec91144e3ba4dec32f0aa8b6c50888908a1697b"><code>1ec9114</code></a> v2.25.1</li> <li><a href="https://github.com/onsi/ginkgo/commit/2e42cff58e53535fe3a0904941393089f7ad9ff2"><code>2e42cff</code></a> chore: fix some CodeQL warnings</li> <li><a href="https://github.com/onsi/ginkgo/commit/10866d3ce04a0283d7d9484366f082a07e46b311"><code>10866d3</code></a> fix(types): ignore nameless nodes on FullText()</li> <li><a href="https://github.com/onsi/ginkgo/commit/fcc0e74deeb1be682ffa7b56e6567183643798dd"><code>fcc0e74</code></a> v2.25.0</li> <li><a href="https://github.com/onsi/ginkgo/commit/79e35c958f43978a5ef16d3ab029dbdaade8c14c"><code>79e35c9</code></a> tidy up docs</li> <li><a href="https://github.com/onsi/ginkgo/commit/6fef07c6202bca25db7b39a72e58496fd611bb4d"><code>6fef07c</code></a> Document AroundNode</li> <li><a href="https://github.com/onsi/ginkgo/commit/665e7ba9ba9ef7a20168f57c90852487a29b964c"><code>665e7ba</code></a> AroundNode supports simpler signatures too</li> <li><a href="https://github.com/onsi/ginkgo/commit/d41f01e191cd5da903ef4ed52792360db406491e"><code>d41f01e</code></a> AroundNode - preview</li> <li><a href="https://github.com/onsi/ginkgo/commit/3d9dae2e740a3d3460abd7ea809292005b7f15ce"><code>3d9dae2</code></a> v2.24.0</li> <li><a href="https://github.com/onsi/ginkgo/commit/3f5d3793b6b6b1229ce4e3f1d82ba12dfb83196f"><code>3f5d379</code></a> remove -o from run command</li> <li>Additional commits viewable in <a href="https://github.com/onsi/ginkgo/compare/v2.23.4...v2.25.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/onsi/ginkgo/v2&package-manager=go_modules&previous-version=2.23.4&new-version=2.25.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent d5f91c5 commit e49f07c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

test/e2e/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.24.0
55
require (
66
github.com/notaryproject/notation-core-go v1.3.0
77
github.com/notaryproject/notation-go v1.2.0-beta.1.0.20250512015818-2bc67e7695ef
8-
github.com/onsi/ginkgo/v2 v2.25.1
9-
github.com/onsi/gomega v1.38.1
8+
github.com/onsi/ginkgo/v2 v2.25.2
9+
github.com/onsi/gomega v1.38.2
1010
github.com/opencontainers/image-spec v1.1.1
1111
oras.land/oras-go/v2 v2.6.0
1212
)

test/e2e/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ github.com/notaryproject/notation-go v1.2.0-beta.1.0.20250512015818-2bc67e7695ef
2222
github.com/notaryproject/notation-go v1.2.0-beta.1.0.20250512015818-2bc67e7695ef/go.mod h1:B4oG/rwXku1Y1ZXxCN6asMvZOdGSgXJd9mPCWAPEWqQ=
2323
github.com/notaryproject/tspclient-go v1.0.1-0.20250306063739-4f55b14d9f01 h1:Ay72jBeHKqBFk6TbJWywfwzefN3Ei7Py2OzCiWU/7nk=
2424
github.com/notaryproject/tspclient-go v1.0.1-0.20250306063739-4f55b14d9f01/go.mod h1:3ZJPmpmdwufY23BkS+JPNktOVb5DXJ8Ik5zxvN7h670=
25-
github.com/onsi/ginkgo/v2 v2.25.1 h1:Fwp6crTREKM+oA6Cz4MsO8RhKQzs2/gOIVOUscMAfZY=
26-
github.com/onsi/ginkgo/v2 v2.25.1/go.mod h1:ppTWQ1dh9KM/F1XgpeRqelR+zHVwV81DGRSDnFxK7Sk=
27-
github.com/onsi/gomega v1.38.1 h1:FaLA8GlcpXDwsb7m0h2A9ew2aTk3vnZMlzFgg5tz/pk=
28-
github.com/onsi/gomega v1.38.1/go.mod h1:LfcV8wZLvwcYRwPiJysphKAEsmcFnLMK/9c+PjvlX8g=
25+
github.com/onsi/ginkgo/v2 v2.25.2 h1:hepmgwx1D+llZleKQDMEvy8vIlCxMGt7W5ZxDjIEhsw=
26+
github.com/onsi/ginkgo/v2 v2.25.2/go.mod h1:43uiyQC4Ed2tkOzLsEYm7hnrb7UJTWHYNsuy3bG/snE=
27+
github.com/onsi/gomega v1.38.2 h1:eZCjf2xjZAqe+LeWvKb5weQ+NcPwX84kqJ0cZNxok2A=
28+
github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k=
2929
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
3030
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
3131
github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040=

0 commit comments

Comments
 (0)