-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
9547
authored
Sep 19, 2020
1 parent
169e7cb
commit 8ca0da1
Showing
9 changed files
with
129 additions
and
135 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 |
---|---|---|
@@ -1,55 +1,55 @@ | ||
name: install | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- release-* | ||
pull_request: | ||
branches: | ||
- master | ||
- release-* | ||
|
||
jobs: | ||
install: | ||
name: Install | ||
runs-on: ubuntu-latest | ||
env: | ||
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }} | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: go/src/github.com/${{ github.repository }} | ||
- name: Install And Check | ||
working-directory: ${{env.working-directory}} | ||
run: | | ||
sh install.sh | ||
source ~/.profile | ||
which tiup || (echo "no tiup found" && exit 1) | ||
! tiup update --self | grep -i "WARN: adding root certificate" | ||
local_install: | ||
name: Local Install | ||
runs-on: ubuntu-latest | ||
env: | ||
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }} | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: go/src/github.com/${{ github.repository }} | ||
- name: Build TiUP | ||
working-directory: ${{env.working-directory}} | ||
run: make build | ||
- name: Setup TiUP | ||
run: | | ||
mkdir -p ~/.tiup/bin | ||
curl https://tiup-mirrors.pingcap.com/root.json -o ~/.tiup/bin/root.json | ||
- name: Clone Mirror | ||
working-directory: ${{env.working-directory}} | ||
run: ./bin/tiup mirror clone test-mirror | ||
- name: Local Install And Check | ||
working-directory: ${{env.working-directory}}/test-mirror | ||
run: | | ||
sh local_install.sh | ||
source ~/.profile | ||
which tiup || (echo "no tiup found" && exit 1) | ||
! tiup update --self | grep -i "WARN: adding root certificate" | ||
install: | ||
name: Install | ||
runs-on: ubuntu-latest | ||
env: | ||
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }} | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: go/src/github.com/${{ github.repository }} | ||
- name: Install And Check | ||
working-directory: ${{ env.working-directory }} | ||
run: | | ||
sh install.sh | ||
source ~/.profile | ||
which tiup || (echo "no tiup found" && exit 1) | ||
! tiup update --self | grep -i "WARN: adding root certificate" | ||
local_install: | ||
name: Local Install | ||
runs-on: ubuntu-latest | ||
env: | ||
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }} | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: go/src/github.com/${{ github.repository }} | ||
- name: Build TiUP | ||
working-directory: ${{ env.working-directory }} | ||
run: make build | ||
- name: Setup TiUP | ||
run: | | ||
mkdir -p ~/.tiup/bin | ||
curl https://tiup-mirrors.pingcap.com/root.json -o ~/.tiup/bin/root.json | ||
- name: Clone Mirror | ||
working-directory: ${{ env.working-directory }} | ||
run: ./bin/tiup mirror clone test-mirror | ||
- name: Local Install And Check | ||
working-directory: ${{ env.working-directory }}/test-mirror | ||
run: | | ||
sh local_install.sh | ||
source ~/.profile | ||
which tiup || (echo "no tiup found" && exit 1) | ||
! tiup update --self | grep -i "WARN: adding root certificate" |
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.