EngineerBetter / control-tower

Deploy and operate Concourse CI in a single command
https://www.engineerbetter.com
Apache License 2.0
121 stars 39 forks source link

Bump github.com/onsi/ginkgo/v2 from 2.2.0 to 2.4.0 #265

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps github.com/onsi/ginkgo/v2 from 2.2.0 to 2.4.0.

Release notes

Sourced from github.com/onsi/ginkgo/v2's releases.

v2.4.0

2.4.0

Features

  • DeferCleanup supports functions with multiple-return values [5e33c75]
  • Add GinkgoLogr (#1067) [bf78c28]
  • Introduction of 'MustPassRepeatedly' decorator (#1051) [047c02f]

Fixes

  • correcting some typos (#1064) [1403d3c]
  • fix flaky internal_integration interupt specs [2105ba3]
  • Correct busted link in README [be6b5b9]

Maintenance

  • Bump actions/checkout from 2 to 3 (#1062) [8a2f483]
  • Bump golang.org/x/tools from 0.1.12 to 0.2.0 (#1065) [529c4e8]
  • Bump github/codeql-action from 1 to 2 (#1061) [da09146]
  • Bump actions/setup-go from 2 to 3 (#1060) [918040d]
  • Bump github.com/onsi/gomega from 1.22.0 to 1.22.1 (#1053) [2098e4d]
  • Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#1066) [1d74122]
  • Add GHA to dependabot config [4442772]

v2.3.1

2.3.1

Fixes

Several users were invoking ginkgo by installing the latest version of the cli via go install github.com/onsi/ginkgo/v2/ginkgo@latest. When 2.3.0 was released this resulted in an influx of issues as CI systems failed due to a change in the internal contract between the Ginkgo CLI and the Ginkgo library. Ginkgo only supports running the same version of the library as the cli (which is why both are packaged in the same repository).

With this patch release, the ginkgo CLI can now identify a version mismatch and emit a helpful error message.

  • Ginkgo cli can identify version mismatches and emit a helpful error message [bc4ae2f]
  • further emphasize that a version match is required when running Ginkgo on CI and/or locally [2691dd8]

Maintenance

  • bump gomega to v1.22.0 [822a937]

v2.3.0

2.3.0

Interruptible Nodes and Timeouts

Ginkgo now supports per-node and per-spec timeouts on interruptible nodes. Check out the documentation for all the details but the gist is you can now write specs like this:

It("is interruptible", func(ctx SpecContext) { // or context.Context instead of SpecContext, both are valid.
    // do things until `ctx.Done()` is closed, for example:
    req, err := http.NewRequestWithContext(ctx, "POST", "/build-widgets", nil)
    Expect(err).NotTo(HaveOccured())
    _, err := http.DefaultClient.Do(req)
</tr></table> 

... (truncated)

Changelog

Sourced from github.com/onsi/ginkgo/v2's changelog.

2.4.0

Features

  • DeferCleanup supports functions with multiple-return values [5e33c75]
  • Add GinkgoLogr (#1067) [bf78c28]
  • Introduction of 'MustPassRepeatedly' decorator (#1051) [047c02f]

Fixes

  • correcting some typos (#1064) [1403d3c]
  • fix flaky internal_integration interupt specs [2105ba3]
  • Correct busted link in README [be6b5b9]

Maintenance

  • Bump actions/checkout from 2 to 3 (#1062) [8a2f483]
  • Bump golang.org/x/tools from 0.1.12 to 0.2.0 (#1065) [529c4e8]
  • Bump github/codeql-action from 1 to 2 (#1061) [da09146]
  • Bump actions/setup-go from 2 to 3 (#1060) [918040d]
  • Bump github.com/onsi/gomega from 1.22.0 to 1.22.1 (#1053) [2098e4d]
  • Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#1066) [1d74122]
  • Add GHA to dependabot config [4442772]

2.3.1

Fixes

Several users were invoking ginkgo by installing the latest version of the cli via go install github.com/onsi/ginkgo/v2/ginkgo@latest. When 2.3.0 was released this resulted in an influx of issues as CI systems failed due to a change in the internal contract between the Ginkgo CLI and the Ginkgo library. Ginkgo only supports running the same version of the library as the cli (which is why both are packaged in the same repository).

With this patch release, the ginkgo CLI can now identify a version mismatch and emit a helpful error message.

  • Ginkgo cli can identify version mismatches and emit a helpful error message [bc4ae2f]
  • further emphasize that a version match is required when running Ginkgo on CI and/or locally [2691dd8]

Maintenance

  • bump gomega to v1.22.0 [822a937]

2.3.0

Interruptible Nodes and Timeouts

Ginkgo now supports per-node and per-spec timeouts on interruptible nodes. Check out the documentation for all the details but the gist is you can now write specs like this:

It("is interruptible", func(ctx SpecContext) { // or context.Context instead of SpecContext, both are valid.
    // do things until `ctx.Done()` is closed, for example:
    req, err := http.NewRequestWithContext(ctx, "POST", "/build-widgets", nil)
    Expect(err).NotTo(HaveOccured())
    _, err := http.DefaultClient.Do(req)
    Expect(err).NotTo(HaveOccured())
Eventually(client.WidgetCount).WithContext(ctx).Should(Equal(17))

</tr></table>

... (truncated)

Commits


Dependabot compatibility score

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 commands and options
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 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)
dependabot[bot] commented 2 years ago

Looks like github.com/onsi/ginkgo/v2 is up-to-date now, so this is no longer needed.