Skip to content

Commit

Permalink
Merge pull request #5527 from planetscale/morgo-remove-vttop2
Browse files Browse the repository at this point in the history
Flatten/Merge VTTOP and VTROOT variables
  • Loading branch information
morgo authored Dec 10, 2019
2 parents 6439799 + 65e2b22 commit aeab98e
Show file tree
Hide file tree
Showing 71 changed files with 278 additions and 481 deletions.
175 changes: 0 additions & 175 deletions .github/bootstrap.sh

This file was deleted.

9 changes: 3 additions & 6 deletions .github/workflows/check_make_parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ jobs:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
- name: Run bootstrap.sh
- name: Run make minimaltools
run: |
echo "Copying new bootstrap over location of legacy one."
cp .github/bootstrap.sh .
./bootstrap.sh
make minimaltools
- name: check_make_parser
run: |
export PATH=$PWD/bin:$PATH
VTDATAROOT=/tmp/vtdataroot VTTOP=$PWD VTROOT=$PWD tools/check_make_parser.sh
tools/check_make_parser.sh
14 changes: 3 additions & 11 deletions .github/workflows/cluster_endtoend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,10 @@ jobs:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
- name: Run bootstrap.sh
- name: Run make minimaltools
run: |
echo "Copying new bootstrap over location of legacy one."
cp .github/bootstrap.sh .
./bootstrap.sh
- name: Build
run: |
VTROOT=$PWD VTTOP=$PWD make build
make minimaltools
- name: cluster_endtoend
run: |
export PATH=$PWD/bin:$PATH
source ./dev.env
VTDATAROOT=/tmp/vtdataroot VTTOP=$PWD VTROOT=$PWD make e2e_test_cluster
make e2e_test_cluster
14 changes: 3 additions & 11 deletions .github/workflows/e2e_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,10 @@ jobs:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
- name: Run bootstrap.sh
- name: Run make minimaltools
run: |
echo "Copying new bootstrap over location of legacy one."
cp .github/bootstrap.sh .
./bootstrap.sh
- name: Build
run: |
VTROOT=$PWD VTTOP=$PWD make build
make minimaltools
- name: e2e_race
run: |
export PATH=$PWD/bin:$PATH
source ./dev.env
VTDATAROOT=/tmp/vtdataroot VTTOP=$PWD VTROOT=$PWD make e2e_test_race
make e2e_test_race
13 changes: 4 additions & 9 deletions .github/workflows/endtoend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,14 @@ jobs:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
- name: Run bootstrap.sh
- name: Run make minimaltools
run: |
echo "Copying new bootstrap over location of legacy one."
cp .github/bootstrap.sh .
./bootstrap.sh
make minimaltools
- name: Build
run: |
VTROOT=$PWD VTTOP=$PWD make build
make build
- name: endtoend
run: |
export PATH=$PWD/bin:$PATH
source ./dev.env
mkdir -p /tmp/vtdataroot
VTDATAROOT=/tmp/vtdataroot VTTOP=$PWD VTROOT=$PWD tools/e2e_test_runner.sh
tools/e2e_test_runner.sh
11 changes: 4 additions & 7 deletions .github/workflows/local_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,15 @@ jobs:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
- name: Run bootstrap.sh
- name: Run make minimaltools
run: |
echo "Copying new bootstrap over location of legacy one."
cp .github/bootstrap.sh .
./bootstrap.sh
make minimaltools
- name: Build
run: |
VTROOT=$PWD VTTOP=$PWD make build
make build
- name: local_example
run: |
export PATH=$PWD/bin:$PATH
VTDATAROOT=/tmp/vtdataroot VTTOP=$PWD VTROOT=$PWD test/local_example.sh
test/local_example.sh
13 changes: 3 additions & 10 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,10 @@ jobs:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
- name: Run bootstrap.sh
- name: Run make tools
run: |
VTTOP=$PWD VTROOT=$PWD BUILD_PYTHON=0 ./bootstrap.sh
- name: Build
run: |
VTROOT=$PWD VTTOP=$PWD make build
make tools
- name: unit
run: |
export PATH=$PWD/bin:$PATH
source ./dev.env
mkdir -p /tmp/vtdataroot
VTDATAROOT=/tmp/vtdataroot VTTOP=$PWD VTROOT=$PWD tools/unit_test_runner.sh
make test
12 changes: 3 additions & 9 deletions .github/workflows/unit_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,10 @@ jobs:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
- name: Run bootstrap.sh
- name: Run make tools
run: |
VTTOP=$PWD VTROOT=$PWD BUILD_PYTHON=0 ./bootstrap.sh
- name: Build
run: |
VTROOT=$PWD VTTOP=$PWD make build
make tools
- name: unit_race
run: |
export PATH=$PWD/bin:$PATH
source ./dev.env
VTDATAROOT=/tmp/vtdataroot VTTOP=$PWD VTROOT=$PWD make unit_test_race
make unit_test_race
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,10 @@ releases

# Vagrant
.vagrant

dist/*
py-vtdb*
vthook*
bin*

vtdataroot*
Loading

0 comments on commit aeab98e

Please sign in to comment.