mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-08 08:49:52 -06:00
update maven for ORM tests
This commit is contained in:
6
.github/workflows/ci-bats-macos.yaml
vendored
6
.github/workflows/ci-bats-macos.yaml
vendored
@@ -85,9 +85,9 @@ jobs:
|
||||
- name: Install Maven
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.4-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.4/bin" >> $GITHUB_PATH
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.9-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.9/bin" >> $GITHUB_PATH
|
||||
- name: Install Hadoop
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
|
||||
6
.github/workflows/ci-bats-unix-remote.yaml
vendored
6
.github/workflows/ci-bats-unix-remote.yaml
vendored
@@ -78,9 +78,9 @@ jobs:
|
||||
if: ${{ env.use_credentials != 'true' }}
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.4-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.4/bin" >> $GITHUB_PATH
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.9-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.9/bin" >> $GITHUB_PATH
|
||||
- name: Install Hadoop
|
||||
if: ${{ env.use_credentials != 'true' }}
|
||||
working-directory: ./.ci_bin
|
||||
|
||||
6
.github/workflows/ci-bats-unix.yaml
vendored
6
.github/workflows/ci-bats-unix.yaml
vendored
@@ -91,9 +91,9 @@ jobs:
|
||||
- name: Install Maven
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.4-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.4/bin" >> $GITHUB_PATH
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.9-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.9/bin" >> $GITHUB_PATH
|
||||
- name: Install Hadoop
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
|
||||
@@ -42,14 +42,14 @@ RUN pip3 install mysql-connector-python PyMySQL sqlalchemy
|
||||
# Setup JAVA_HOME -- useful for docker commandline
|
||||
ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64/
|
||||
|
||||
# install the current latest maven version, `v3.9.4`, because apt installed one does not work with jdk 17
|
||||
ADD https://apache.osuosl.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz apache-maven-3.9.4-bin.tar.gz
|
||||
RUN tar zxvf apache-maven-3.9.4-bin.tar.gz && \
|
||||
cp -r apache-maven-3.9.4 /opt && \
|
||||
rm -rf apache-maven-3.9.4 apache-maven-3.9.4-bin.tar.gz
|
||||
# install the current latest maven version, `v3.9.9`, because apt installed one does not work with jdk 17
|
||||
ADD https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz apache-maven-3.9.9-bin.tar.gz
|
||||
RUN tar zxvf apache-maven-3.9.9-bin.tar.gz && \
|
||||
cp -r apache-maven-3.9.9 /opt && \
|
||||
rm -rf apache-maven-3.9.9 apache-maven-3.9.9-bin.tar.gz
|
||||
|
||||
# add maven binary
|
||||
ENV PATH /opt/apache-maven-3.9.4/bin:$PATH
|
||||
ENV PATH /opt/apache-maven-3.9.9/bin:$PATH
|
||||
|
||||
# install dolt from source
|
||||
WORKDIR /root/building
|
||||
|
||||
@@ -6,7 +6,8 @@ setup() {
|
||||
cd $REPO_NAME
|
||||
|
||||
USER="dolt"
|
||||
dolt sql-server --host 0.0.0.0 --user=$USER --loglevel=trace &
|
||||
dolt sql -q "CREATE USER dolt@'%'; GRANT ALL ON *.* TO dolt@'%';"
|
||||
dolt sql-server --host 0.0.0.0 --loglevel=trace &
|
||||
SERVER_PID=$!
|
||||
|
||||
# Give the server a chance to start
|
||||
|
||||
Reference in New Issue
Block a user