-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andres Taylor <andres@planetscale.com>
- Loading branch information
Showing
142 changed files
with
48,900 additions
and
10,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# DO NOT MODIFY: THIS FILE IS GENERATED USING "make generate_ci_workflows" | ||
|
||
ARG bootstrap_version=5 | ||
ARG image="vitess/bootstrap:${bootstrap_version}-mysql57" | ||
|
||
FROM "${image}" | ||
|
||
USER root | ||
|
||
# Re-copy sources from working tree | ||
RUN rm -rf /vt/src/vitess.io/vitess/* | ||
COPY . /vt/src/vitess.io/vitess | ||
|
||
# install XtraBackup | ||
RUN wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb | ||
RUN apt-get update | ||
RUN apt-get install -y gnupg2 | ||
RUN dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb | ||
RUN apt-get update | ||
RUN apt-get install -y percona-xtrabackup-24 | ||
|
||
# Set the working directory | ||
WORKDIR /vt/src/vitess.io/vitess | ||
|
||
# Fix permissions | ||
RUN chown -R vitess:vitess /vt | ||
|
||
USER vitess | ||
|
||
# Set environment variables | ||
ENV VTROOT /vt/src/vitess.io/vitess | ||
# Set the vtdataroot such that it uses the volume mount | ||
ENV VTDATAROOT /vt/vtdataroot | ||
|
||
# create the vtdataroot directory | ||
RUN mkdir -p $VTDATAROOT | ||
|
||
# install goimports | ||
RUN go install golang.org/x/tools/cmd/goimports@latest | ||
|
||
# sleep for 50 minutes | ||
CMD sleep 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# DO NOT MODIFY: THIS FILE IS GENERATED USING "make generate_ci_workflows" | ||
|
||
ARG bootstrap_version=5 | ||
ARG image="vitess/bootstrap:${bootstrap_version}-mysql57" | ||
|
||
FROM "${image}" | ||
|
||
USER root | ||
|
||
# Re-copy sources from working tree | ||
RUN rm -rf /vt/src/vitess.io/vitess/* | ||
COPY . /vt/src/vitess.io/vitess | ||
|
||
# install XtraBackup | ||
RUN wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb | ||
RUN apt-get update | ||
RUN apt-get install -y gnupg2 | ||
RUN dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb | ||
RUN apt-get update | ||
RUN apt-get install -y percona-xtrabackup-24 | ||
|
||
# Set the working directory | ||
WORKDIR /vt/src/vitess.io/vitess | ||
|
||
# Fix permissions | ||
RUN chown -R vitess:vitess /vt | ||
|
||
USER vitess | ||
|
||
# Set environment variables | ||
ENV VTROOT /vt/src/vitess.io/vitess | ||
# Set the vtdataroot such that it uses the volume mount | ||
ENV VTDATAROOT /vt/vtdataroot | ||
|
||
# create the vtdataroot directory | ||
RUN mkdir -p $VTDATAROOT | ||
|
||
# install goimports | ||
RUN go install golang.org/x/tools/cmd/goimports@latest | ||
|
||
# make tools | ||
RUN make tools | ||
|
||
# sleep for 50 minutes | ||
CMD sleep 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.