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 ginkgo to v2 and lager to v3 #107

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

xtremerui
Copy link

The main reason of this PR is Concourse encountered an issue when trying to upgrade to ginkgo v2.

I then figured out it was the cloudfoundry lager lib that caused the problem. Luckily, lager has a v3 version already that supports ginkgo v2. After bumping lager to v3 in Concourse, the ginkgo issue is resolved but then we have compilation error when garden is still using lager v2 here.

In order to bump lager to v3 for garden, ginkgo has to be bumped to v2 otherwise the same ginkgo issue will happen again here since garden is using ginkgo v1 when lager v3 is using ginkgo v2.

So in this PR, changes are:

  • ginkgo v2
  • lager v3
  • go mod tidy ran
  • go mod vendor ran
  • deprecated config.GinkgoConfig.ParallelNode is replaced by GinkgoParallelProcess() , refer to here

Signed-off-by: Rui Yang <ruiya@vmware.com>
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 14, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: xtremerui / name: Rui Yang (2e14c78)

@winkingturtle-vmw
Copy link
Contributor

winkingturtle-vmw commented Mar 17, 2023

@xtremerui I had to revert this PR since the effect of bumping lager to v3 is quite significant and requires other dependent libraries (outside of our control) to also get bumped. You can follow the cloudfoundry/lager#47. I think the best resolution would be to remove the tagged versions and rely on changes from main branch.

@xtremerui
Copy link
Author

Thank you for the pointer @winkingturtle-vmw we will keep an eye on it.

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