Skip to content

Commit dc598af

Browse files
committed
Relocate config-server to src/
In modern golang there's no need to use `github.com/cloudfoundry/config-server/` directory prefixing.
1 parent 4930769 commit dc598af

1,210 files changed

Lines changed: 13 additions & 216 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v7
1212
- uses: actions/setup-go@v6
1313
with:
14-
go-version-file: src/github.com/cloudfoundry/config-server/go.mod
14+
go-version-file: src/config-server/go.mod
1515
- uses: golangci/golangci-lint-action@v9
1616
with:
17-
working-directory: src/github.com/cloudfoundry/config-server/
17+
working-directory: src/config-server/

ci/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
- task: bump-deps
118118
file: golang-release/ci/tasks/shared/bump-deps.yml
119119
params:
120-
SOURCE_PATH: src/github.com/cloudfoundry/config-server/
120+
SOURCE_PATH: src/config-server/
121121
input_mapping:
122122
input_repo: config-server
123123
output_mapping:

ci/tasks/bosh-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd -
1111
cd config-server
1212
git submodule update --init --recursive
1313

14-
cd src/github.com/cloudfoundry/config-server
14+
cd src/config-server
1515
git checkout "${config_server_sha}"
1616
cd -
1717

ci/tasks/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export PATH=/usr/local/go/bin:${PATH}
55

66
binary_name="config-server-${GOOS}-${GOARCH}"
77

8-
pushd config-server/src/github.com/cloudfoundry/config-server/
8+
pushd config-server/src/config-server/
99
go build -o "${binary_name}" .
1010

1111
openssl sha256 "${binary_name}"

ci/tasks/lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
set -eu -o pipefail
33

4-
cd config-server/src/github.com/cloudfoundry/config-server/
4+
cd config-server/src/config-server/
55

66
bin/lint

ci/tasks/test-integration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ case "$DB" in
3939
exit 1
4040
esac
4141

42-
cd config-server/src/github.com/cloudfoundry/config-server/
42+
cd config-server/src/config-server/
4343

4444
bin/test-integration "${DB}"

ci/tasks/test-unit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ set -eu -o pipefail
33

44
export PATH=/usr/local/go/bin:${PATH}
55

6-
cd config-server/src/github.com/cloudfoundry/config-server/
6+
cd config-server/src/config-server/
77

88
SKIP_LINT=true bin/test-unit

packages/config_server/packaging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ source /var/vcap/packages/golang-1-linux/bosh/compile.env
44

55
mkdir -p $BOSH_INSTALL_TARGET/bin
66

7-
pushd github.com/cloudfoundry/config-server
7+
pushd config-server
88
go build -mod=vendor -o $BOSH_INSTALL_TARGET/bin/config-server .
99
popd

packages/config_server/spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: config_server
44
dependencies:
55
- golang-1-linux
66
files:
7-
- github.com/cloudfoundry/config-server/**/*.go
8-
- github.com/cloudfoundry/config-server/go.mod
9-
- github.com/cloudfoundry/config-server/go.sum
10-
- github.com/cloudfoundry/config-server/vendor/**/*
7+
- config-server/**/*.go
8+
- config-server/go.mod
9+
- config-server/go.sum
10+
- config-server/vendor/**/*

src/github.com/cloudfoundry/config-server/.gitignore renamed to src/config-server/.gitignore

File renamed without changes.

0 commit comments

Comments
 (0)