Fix some minor bugs (#209)

* upgrade byteman-helper to v4.0.18-0.11

Signed-off-by: Cwen Yin <cwenyin0@gmail.com>

* fix some minor bugs

Signed-off-by: Cwen Yin <cwenyin0@gmail.com>

* update git action

Signed-off-by: Cwen Yin <cwenyin0@gmail.com>

Signed-off-by: Cwen Yin <cwenyin0@gmail.com>
This commit is contained in:
Cwen Yin 2022-08-16 17:11:12 +08:00 committed by GitHub
parent f5b6b8a4bc
commit 25e098e4a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,9 @@ jobs:
- name: Prepare build environment
run: |
# actions/checkout require git v2.X
yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
if [ "${{ matrix.arch }}" == "amd64" ]; then
yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
fi
yum install -y gcc
yum install -y make
yum install -y binutils
@ -32,8 +34,7 @@ jobs:
- uses: actions/checkout@master
with:
# Must use at least depth 2!
fetch-depth: 2
fetch-depth: 0
- name: Setup python3
run: |

View File

@ -27,8 +27,7 @@ jobs:
- uses: actions/checkout@master
with:
# Must use at least depth 2!
fetch-depth: 2
fetch-depth: 0
- name: Setup python3
run: |

View File

@ -10,7 +10,7 @@ GO := $(GOENV) go
CGO := $(CGOENV) go
GOTEST := TEST_USE_EXISTING_CLUSTER=false NO_PROXY="${NO_PROXY},testhost" go test
SHELL := /usr/bin/env bash
BYTEMAN_DIR := byteman-chaos-mesh-download-v4.0.18-0.11
BYTEMAN_DIR := byteman-chaos-mesh-download-v4.0.18-0.12
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))

View File

@ -26,7 +26,7 @@ if [[ ! (-e byteman-example) ]]; then
fi
echo "download byteman && set environment variable"
byteman_dir="byteman-chaos-mesh-download-v4.0.18-0.11"
byteman_dir="byteman-chaos-mesh-download-v4.0.18-0.12"
if [[ ! (-e ${byteman_dir}.tar.gz) ]]; then
curl -fsSL -o ${byteman_dir}.tar.gz https://mirrors.chaos-mesh.org/${byteman_dir}.tar.gz
tar zxvf ${byteman_dir}.tar.gz