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 sigs.k8s.io/e2e-framework from 0.0.7 to 0.0.8 in /test #46

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 21, 2022

Bumps sigs.k8s.io/e2e-framework from 0.0.7 to 0.0.8.

Release notes

Sourced from sigs.k8s.io/e2e-framework's releases.

Release v0.0.8

This release include example and doc updates, fixes, and new features.

Handlers to gracefully finish tests

A new feature was introduce to allow tests to gracefully recover, after a runtime panic, and execute the test environment's Finish step. If a test writer would rather have tests abruptly end, that behavior can be turned off with the new flag disable-graceful-teardown which would cause the test execution to stop, skipping any finalization steps in Finish.

Multi-cluster test workflow

Certain tests can require more than one cluster to be available during execution. This release introduces the ability to start one or more test clusters as shown in the following snippet:

func TestMain(m *testing.M) {
	testEnv = env.NewConfig()
clusterNames = []string{
	envconf.RandomName("cluster-one", 16),
	envconf.RandomName("cluster-two", 16),
}
testEnv.Setup(
func(ctx context.Context, config *envconf.Config) (context.Context, error) {
var err error
// create two clusters
for _, cluster := range clusterNames {
ctx, err = envfuncs.CreateKindCluster(cluster)(ctx, config)
if err != nil {
return ctx, err
}
}
return ctx, nil
},
).Finish(
func(ctx context.Context, config *envconf.Config) (context.Context, error) {
var err error
// shutdown clusters when done
for _, cluster := range clusterNames {
ctx, err = envfuncs.DestroyKindCluster(cluster)(ctx, config)
if err != nil {
return ctx, err
}
}
return ctx, nil
},
)
os.Exit(testEnv.Run(m))

}

For more information, see multi-cluster example.

... (truncated)

Commits
  • 3ba35f4 Merge pull request #162 from mhofstetter/feature/actionrole-logmessage
  • 9d551b5 Fix lint errors
  • d68bd4b Merge pull request #160 from mhofstetter/feature/golangci-lint
  • 5d2b591 Fix log output on errors during test lifecycle actions
  • b7b9982 build: fix golangci-lint SA1019 io/ioutil
  • f7f0191 Merge pull request #157 from harshanarayana/feature/GIT-138/enable-mutli-clus...
  • e1b7605 GIT-138: add example of multi cluster test workflow
  • 2aa1046 Merge pull request #154 from tklauser/example-wait-readme-fix-indent
  • b30bf6e Merge pull request #149 from matrus2/main
  • 7e224b8 Merge pull request #151 from twpayne/fix-typos
  • Additional commits viewable in compare view

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)

Bumps [sigs.k8s.io/e2e-framework](https://github.com/kubernetes-sigs/e2e-framework) from 0.0.7 to 0.0.8.
- [Release notes](https://github.com/kubernetes-sigs/e2e-framework/releases)
- [Changelog](https://github.com/kubernetes-sigs/e2e-framework/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/e2e-framework@v0.0.7...v0.0.8)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/e2e-framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 21, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 4, 2023

Superseded by #129.

@dependabot dependabot bot closed this Jan 4, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/test/sigs.k8s.io/e2e-framework-0.0.8 branch January 4, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/release-eng dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants