Skip to content

Commit 6143c13

Browse files
authored
Merge pull request #10060 from vimalk78/go.etcd.io-move-minor-changes
*: path changes for moving to github/etcd-io/etcd
2 parents ca7dc4f + bcde798 commit 6143c13

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

contrib/systemd/etcd.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Unit]
22
Description=etcd key-value store
3-
Documentation=https://github.com/coreos/etcd
3+
Documentation=https://github.com/etcd-io/etcd
44
After=network.target
55

66
[Service]

functional.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ tester-config:
169169
case-shuffle: true
170170

171171
# For full descriptions,
172-
# https://godoc.org/github.com/coreos/etcd/functional/rpcpb#Case
172+
# https://godoc.org/github.com/etcd-io/etcd/functional/rpcpb#Case
173173
cases:
174174
- SIGTERM_ONE_FOLLOWER
175175
- SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT

functional/Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ RUN rm -rf ${GOROOT} \
2020
&& mkdir -p ${GOPATH}/src ${GOPATH}/bin \
2121
&& go version
2222

23-
RUN mkdir -p ${GOPATH}/src/github.com/coreos/etcd
24-
ADD . ${GOPATH}/src/github.com/coreos/etcd
23+
RUN mkdir -p ${GOPATH}/src/github.com/etcd-io/etcd
24+
ADD . ${GOPATH}/src/github.com/etcd-io/etcd
2525
ADD ./functional.yaml /functional.yaml
2626

27-
RUN go get -v github.com/coreos/gofail \
28-
&& pushd ${GOPATH}/src/github.com/coreos/etcd \
27+
RUN go get -v github.com/etcd-io/gofail \
28+
&& pushd ${GOPATH}/src/github.com/etcd-io/etcd \
2929
&& GO_BUILD_FLAGS="-v" ./build \
3030
&& mkdir -p /bin \
3131
&& cp ./bin/etcd /bin/etcd \
@@ -39,4 +39,4 @@ RUN go get -v github.com/coreos/gofail \
3939
&& cp ./bin/etcd-tester /bin/etcd-tester \
4040
&& go build -v -o /bin/benchmark ./tools/benchmark \
4141
&& popd \
42-
&& rm -rf ${GOPATH}/src/github.com/coreos/etcd
42+
&& rm -rf ${GOPATH}/src/github.com/etcd-io/etcd

scripts/build-binary

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function setup_env {
1717
local ver=${2}
1818

1919
if [ ! -d "${proj}" ]; then
20-
git clone https://github.com/coreos/"${proj}"
20+
git clone https://github.com/etcd-io/"${proj}"
2121
fi
2222

2323
pushd "${proj}" >/dev/null

scripts/build-docker

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ -z "${BINARYDIR}" ]; then
1515
RELEASE="etcd-${1}"-$(go env GOOS)-$(go env GOARCH)
1616
BINARYDIR="${RELEASE}"
1717
TARFILE="${RELEASE}.tar.gz"
18-
TARURL="https://github.com/coreos/etcd/releases/download/${1}/${TARFILE}"
18+
TARURL="https://github.com/etcd-io/etcd/releases/download/${1}/${TARFILE}"
1919
if ! curl -f -L -o "${TARFILE}" "${TARURL}" ; then
2020
echo "Failed to download ${TARURL}."
2121
exit 1

scripts/release

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ main() {
5656
if [ ! -d "${reldir}/etcd" ]; then
5757
mkdir -p "${reldir}"
5858
cd "${reldir}"
59-
git clone [email protected]:coreos/etcd.git --branch "${BRANCH}"
59+
git clone [email protected]:etcd-io/etcd.git --branch "${BRANCH}"
6060
fi
6161
cd "${reldir}/etcd"
6262

@@ -106,7 +106,7 @@ main() {
106106

107107
# Push the version change if it's not already been pushed.
108108
if [ $(git rev-list --count "origin/${BRANCH}..${BRANCH}") -gt 0 ]; then
109-
read -p "Push version bump up to ${VERSION} to github.com/coreos/etcd [y/N]? " confirm
109+
read -p "Push version bump up to ${VERSION} to github.com/etcd-io/etcd [y/N]? " confirm
110110
[[ "${confirm,,}" == "y" ]] || exit 1
111111
git push
112112
fi
@@ -202,7 +202,7 @@ main() {
202202
git add version/version.go
203203
git commit -m "version: bump up to ${VERSION}+git"
204204
git diff --staged
205-
read -p "Push version bump up to ${VERSION}+git to github.com/coreos/etcd [y/N]? " confirm
205+
read -p "Push version bump up to ${VERSION}+git to github.com/etcd-io/etcd [y/N]? " confirm
206206
[[ "${confirm,,}" == "y" ]] || exit 1
207207
git push
208208
fi

test

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ COVER=${COVER:-"-cover"}
5353
IGNORE_PKGS="(vendor/|etcdserverpb|rafttest|gopath.proto|v3lockpb|v3electionpb)"
5454
INTEGRATION_PKGS="(integration|tests/e2e|contrib|functional)"
5555

56-
# all github.com/coreos/etcd/whatever pkgs that are not auto-generated / tools
56+
# all github.com/etcd-io/etcd/whatever pkgs that are not auto-generated / tools
5757
# shellcheck disable=SC1117
5858
PKGS=$(find . -name \*.go | while read -r a; do dirname "$a"; done | sort | uniq | grep -vE "$IGNORE_PKGS" | grep -vE "(tools/|contrib/|tests/e2e|pb)" | sed "s|\.|${REPO_PATH}|g" | xargs echo)
5959
# pkg1,pkg2,pkg3
@@ -353,7 +353,7 @@ function release_pass {
353353
echo "Downloading $file"
354354

355355
set +e
356-
curl --fail -L "https://github.com/coreos/etcd/releases/download/$UPGRADE_VER/$file" -o "/tmp/$file"
356+
curl --fail -L "https://github.com/etcd-io/etcd/releases/download/$UPGRADE_VER/$file" -o "/tmp/$file"
357357
local result=$?
358358
set -e
359359
case $result in

0 commit comments

Comments
 (0)