Skip to content

Conversation

@aramprice
Copy link
Member

Prior to the go module dependency management tooling Golang source code needed to be in a repository-relative path under src/, this is no longer true. This commit moves src/github.com/cloudfoundry/stemcell-acceptance-tests/ to the top-level of the repo, renaming the folder to acceptance-tests/. The golang packages are updated to reflect this.

In addition the tools package is removed since Ginkgo v2 no longer requires this to ensure the CLI code is available when testing.

Prior to the go module dependency management tooling Golang source code needed
to be in a repository-relative path under `src/`, this is no longer true. This
commit moves `src/github.com/cloudfoundry/stemcell-acceptance-tests/` to the
top-level of the repo, renaming the folder to `acceptance-tests/`. The golang
packages are updated to reflect this.

In addition the `tools` package is removed since Ginkgo v2 no longer requires
this to ensure the CLI code is available when testing.
This change should make the script runnable from any location
@aramprice
Copy link
Member Author

@aramprice aramprice requested review from a team, bgandon and xtreme-nitin-ravindran and removed request for a team January 25, 2025 00:41
@aramprice
Copy link
Member Author

@ramonskie
Copy link
Contributor

looks good to me

as stated in #411 if we are going that route
we need an additional pr for noble

@jpalermo
Copy link
Contributor

We can merge this forward to the Noble branch after it's been merged that way we avoid a second PR

@jpalermo jpalermo merged commit 49e4648 into ubuntu-jammy Jan 30, 2025
3 checks passed
@jpalermo jpalermo deleted the remove-old-style-gopath branch January 30, 2025 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants