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

Fix mockgen path #330

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Fix mockgen path #330

merged 1 commit into from
Sep 6, 2023

Conversation

petersutter
Copy link
Member

What this PR does / why we need it:
This PR fixes an issue when running make generate-sequential:

$ make generate-sequential
go run ./internal/gen/markdown.go
> Generate
prog.go:14:2: no required module provides package github.com/gardener/gardenctl-v2/cmd/env; to add it:
	go get github.com/gardener/gardenctl-v2/cmd/env
prog.go:14:2: no required module provides package github.com/gardener/gardenctl-v2/cmd/env: go.mod file not found in current directory or any parent directory; see 'go help modules'
prog.go:12:2: no required module provides package github.com/golang/mock/mockgen/model: go.mod file not found in current directory or any parent directory; see 'go help modules'
2023/08/11 09:30:33 Loading input failed: exit status 1
pkg/env/template.go:29: running "mockgen": exit status 1
make: *** [generate-sequential] Error 1

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

@petersutter petersutter requested a review from a team as a code owner August 11, 2023 07:35
@gardener-robot gardener-robot added needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Aug 11, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Aug 11, 2023
Copy link
Contributor

@grolu grolu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Sep 6, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Sep 6, 2023
@petersutter petersutter merged commit 295d346 into master Sep 6, 2023
@petersutter petersutter deleted the fix/mockgen-path branch September 6, 2023 11:45
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants