зеркало из https://github.com/github/vitess-gh.git
checked in the binary for testing
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
This commit is contained in:
Родитель
47bce654e1
Коммит
a9bbf8e194
|
@ -1,9 +1,9 @@
|
|||
name: PITR test
|
||||
name: misc test
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: PITR Test
|
||||
name: Misc Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
@ -16,4 +16,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup tmate session
|
||||
uses: mxschmitt/action-tmate@v2
|
||||
uses: mxschmitt/action-tmate@v2
|
||||
|
||||
- name: Run Misc test which requires docker
|
||||
run: |
|
||||
go run test.go --follow pitr
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
bazel=https://github.com/bazelbuild/bazel/releases/download/3.3.1/bazel-3.3.1-linux-x86_64
|
||||
ripple=https://github.com/google/mysql-ripple.git
|
||||
|
||||
#download bazel
|
||||
curl $bazel --output bazel -L
|
||||
chmod +x bazel
|
||||
ls -l
|
||||
|
||||
#download ripple and build it
|
||||
git clone $ripple
|
||||
cd mysql-ripple
|
||||
cp ../bazel .
|
||||
./bazel build :all
|
||||
|
||||
# copy rippled and delete dependent directory
|
||||
pwd
|
||||
ls
|
||||
cp bazel-bin/rippled ../.
|
||||
cd -
|
||||
rm -rf mysql-ripple
|
|
@ -188,7 +188,7 @@ bashcmd=$(append_cmd "$bashcmd" "./bootstrap.sh")
|
|||
|
||||
if [[ ! -z "$extra_bin" ]]; then
|
||||
args="$args -v $PWD/$extra_bin:/tmp/$extra_bin"
|
||||
bashcmd=$(append_cmd "$bashcmd" "PATH=\"/tmp:${PATH}\"")
|
||||
bashcmd=$(append_cmd "$bashcmd" "PATH=\"/tmp/$extra_bin:${PATH}\"")
|
||||
fi
|
||||
|
||||
# At last, append the user's command.
|
||||
|
@ -197,6 +197,7 @@ bashcmd=$(append_cmd "$bashcmd" "$cmd")
|
|||
if tty -s; then
|
||||
# interactive shell
|
||||
# See above why we turn on "extglob" (extended Glob).
|
||||
echo $bashcmd
|
||||
docker run -ti $args $image bash -O extglob -c "$bashcmd"
|
||||
exitcode=$?
|
||||
else
|
||||
|
|
Двоичный файл не отображается.
|
@ -273,7 +273,7 @@
|
|||
"Manual": false,
|
||||
"Shard": 26,
|
||||
"RetryMax": 0,
|
||||
"ExtraDockerArg" : "rippled",
|
||||
"ExtraDockerArg" : "test/bin/",
|
||||
"Tags": [
|
||||
"site_test"
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче