Update module github.com/onsi/ginkgo/v2 to v2.8.0 (#209)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/onsi/ginkgo/v2](https://togithub.com/onsi/ginkgo) |
require | minor | `v2.7.1` -> `v2.8.0` |

---

### Release Notes

<details>
<summary>onsi/ginkgo</summary>

### [`v2.8.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.8.0)

[Compare
Source](https://togithub.com/onsi/ginkgo/compare/v2.7.1...v2.8.0)

#### 2.8.0

##### Features

- Introduce GinkgoHelper() to track and exclude helper functions from
potential CodeLocations
\[[`e19f556`](https://togithub.com/onsi/ginkgo/commit/e19f556)]

Modeled after `testing.T.Helper()`.  Now, rather than write code like:

```go
func helper(model Model) {
    Expect(model).WithOffset(1).To(BeValid())
    Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/))
}
```

you can stop tracking offsets (which makes nesting composing helpers
nearly impossible) and simply write:

```go
func helper(model Model) {
    GinkgoHelper()
    Expect(model).To(BeValid())
    Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/))
}
```

- Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make
it possible to programmatically match filters (fixes
[#&#8203;1119](https://togithub.com/onsi/ginkgo/issues/1119))
\[[`2f6597c`](https://togithub.com/onsi/ginkgo/commit/2f6597c)]

You can now write code like this:

```go
BeforeSuite(func() {
	if Label("slow").MatchesLabelFilter(GinkgoLabelFilter()) {
		// do slow setup
	}

	if Label("fast").MatchesLabelFilter(GinkgoLabelFilter()) {
		// do fast setup
	}
})
```

to programmatically check whether a given set of labels will match the
configured `--label-filter`.

##### Maintenance

- Bump webrick from 1.7.0 to 1.8.1 in /docs
([#&#8203;1125](https://togithub.com/onsi/ginkgo/issues/1125))
\[[`ea4966e`](https://togithub.com/onsi/ginkgo/commit/ea4966e)]
- cdeql: add ruby language
([#&#8203;1124](https://togithub.com/onsi/ginkgo/issues/1124))
\[[`9dd275b`](https://togithub.com/onsi/ginkgo/commit/9dd275b)]
- dependabot: add bundler package-ecosystem for docs
([#&#8203;1123](https://togithub.com/onsi/ginkgo/issues/1123))
\[[`14e7bdd`](https://togithub.com/onsi/ginkgo/commit/14e7bdd)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTYuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExNi4xIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2023-02-06 22:39:55 +01:00
committed by GitHub
parent 88a66fd7b4
commit 4a94b6c162
2 changed files with 3 additions and 1 deletions

2
go.mod
View File

@@ -17,7 +17,7 @@ require (
github.com/mudler/go-pluggable v0.0.0-20220716112424-189d463e3ff3
github.com/mudler/go-processmanager v0.0.0-20220724164624-c45b5c61312d
github.com/mudler/yip v1.0.0
github.com/onsi/ginkgo/v2 v2.7.1
github.com/onsi/ginkgo/v2 v2.8.0
github.com/onsi/gomega v1.26.0
github.com/pterm/pterm v0.12.54
github.com/samber/lo v1.37.0

2
go.sum
View File

@@ -910,6 +910,8 @@ github.com/onsi/ginkgo/v2 v2.7.0 h1:/XxtEV3I3Eif/HobnVx9YmJgk8ENdRsuUmM+fLCFNow=
github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo=
github.com/onsi/ginkgo/v2 v2.7.1 h1:YgLPk+gpqDtAPeRCWEmfO8oxE6ru3xcVSXAM7wn8w9I=
github.com/onsi/ginkgo/v2 v2.7.1/go.mod h1:6JsQiECmxCa3V5st74AL/AmsV482EDdVrGaVW6z3oYU=
github.com/onsi/ginkgo/v2 v2.8.0 h1:pAM+oBNPrpXRs+E/8spkeGx9QgekbRVyr74EUvRVOUI=
github.com/onsi/ginkgo/v2 v2.8.0/go.mod h1:6JsQiECmxCa3V5st74AL/AmsV482EDdVrGaVW6z3oYU=
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA=