-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove vitess/base
and vitess/k8s
Docker images
#15620
Changes from all commits
a82a594
53cd5fb
6ccdf9b
ad32595
83cfabb
b24daf8
59e8385
9bc5f23
0fa9fdb
a7d69df
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,7 +139,7 @@ endif | |
install: build | ||
# binaries | ||
mkdir -p "$${PREFIX}/bin" | ||
cp "$${VTROOTBIN}/"{mysqlctl,mysqlctld,vtorc,vtadmin,vtctld,vtctlclient,vtctldclient,vtgate,vttablet,vtbackup} "$${PREFIX}/bin/" | ||
cp "$${VTROOTBIN}/"{mysqlctl,mysqlctld,vtorc,vtadmin,vtctl,vtctld,vtctlclient,vtctldclient,vtgate,vttablet,vtbackup,vtexplain} "$${PREFIX}/bin/" | ||
|
||
# Will only work inside the docker bootstrap for now | ||
cross-install: cross-build | ||
|
@@ -318,16 +318,6 @@ define build_docker_image | |
fi | ||
endef | ||
|
||
docker_base: | ||
${call build_docker_image,docker/base/Dockerfile,vitess/base} | ||
|
||
DOCKER_BASE_SUFFIX = mysql80 percona57 percona80 | ||
DOCKER_BASE_TARGETS = $(addprefix docker_base_, $(DOCKER_BASE_SUFFIX)) | ||
$(DOCKER_BASE_TARGETS): docker_base_%: | ||
${call build_docker_image,docker/base/Dockerfile.$*,vitess/base:$*} | ||
|
||
docker_base_all: docker_base $(DOCKER_BASE_TARGETS) | ||
|
||
docker_lite: | ||
${call build_docker_image,docker/lite/Dockerfile,vitess/lite} | ||
|
||
|
@@ -365,20 +355,6 @@ docker_test: | |
docker_unit_test: | ||
go run test.go -flavor $(flavor) unit | ||
|
||
# Release a version. | ||
# This will generate a tar.gz file into the releases folder with the current source | ||
release: docker_base | ||
Comment on lines
-368
to
-370
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I removed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed. It was being used by the pre-GH release process. |
||
@if [ -z "$VERSION" ]; then \ | ||
echo "Set the env var VERSION with the release version"; exit 1;\ | ||
fi | ||
mkdir -p releases | ||
docker build -f docker/Dockerfile.release -t vitess/release . | ||
docker run -v ${PWD}/releases:/vt/releases --env VERSION=$(VERSION) vitess/release | ||
git tag -m Version\ $(VERSION) v$(VERSION) | ||
echo "A git tag was created, you can push it with:" | ||
echo "git push origin v$(VERSION)" | ||
echo "Also, don't forget the upload releases/v$(VERSION).tar.gz file to GitHub releases" | ||
|
||
create_release: | ||
./tools/create_release.sh | ||
|
||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image
vitess/k8s
now relies onvitess/lite
, which runsmake install
. Invitess/k8s
we copy these binaries so they are available for the binary-specific images. I had to add the missing binaries that we use invitess/k8s
.