New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
br: migrate br github actions to tidb #27598
Merged
Merged
Changes from 30 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
00008b4
migrate br github action to tidb
3pointer 7c9c1e5
add token
3pointer 38e0135
add action to trigger action
3pointer 65211a6
fix
3pointer 18f8563
fix path
3pointer 7f4b596
fix build
3pointer 7d617ec
fix
3pointer f4d3913
fix build
3pointer 2602f5a
fix build
3pointer d8af389
try fix tests
3pointer d0726bc
fix
3pointer 0b3edc1
fix
3pointer c1221a2
fix
3pointer 84d17e7
fix
3pointer 622b4bb
fix
3pointer 73da6cb
fix
3pointer 5cce1c3
debug
3pointer 806c56b
fix
3pointer 374fd30
fix
3pointer aa0d250
fix
3pointer d7b3766
debug
3pointer fe1e9ba
debug
3pointer 860887f
fix
3pointer 0992b72
debug
3pointer 35ac4d7
fix
3pointer 88d47f5
fix
3pointer 8a96189
fix go mod
3pointer 1a74ea4
Merge branch 'master' into actions
3pointer e846e7c
update go mod
3pointer ce29e12
Merge branch 'master' into actions
kennytm f8c7840
Merge branch 'master' into actions
3pointer ac7a633
Merge branch 'master' into actions
3pointer 83080ad
address comment
3pointer 5827a24
update cloud-google-go to v1.16.1 to fix br gcs test
3pointer acbf011
Merge branch 'master' into actions
3pointer 6595846
Merge branch 'master' into actions
3pointer 1b2f5a8
Merge branch 'master' into actions
3pointer 041435d
Merge branch 'master' into actions
3pointer 3326d36
Merge branch 'master' into actions
glorv 8c62d69
Merge branch 'master' into actions
ti-chi-bot File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: BR / Compatibility Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'release-[0-9].[0-9]*' | ||
paths: | ||
- 'br/**' | ||
- '!**.html' | ||
- '!**.md' | ||
- '!CNAME' | ||
- '!LICENSE' | ||
- '!br/docs/**' | ||
- '!br/tests/**' | ||
- '!br/docker/**' | ||
pull_request: | ||
branches: | ||
- master | ||
- 'release-[0-9].[0-9]*' | ||
paths: | ||
- 'br/**' | ||
- '!**.html' | ||
- '!**.md' | ||
- '!CNAME' | ||
- '!LICENSE' | ||
- '!br/docs/**' | ||
- '!br/tests/**' | ||
- '!br/docker/**' | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 25 | ||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
|
||
- name: Generate compatibility test backup data | ||
timeout-minutes: 15 | ||
run: sh br/compatibility/prepare_backup.sh | ||
|
||
- name: Start server | ||
run: | | ||
TAG=nightly PORT_SUFFIX=1 docker-compose -f br/compatibility/backup_cluster.yaml rm -s -v | ||
TAG=nightly PORT_SUFFIX=1 docker-compose -f br/compatibility/backup_cluster.yaml build | ||
TAG=nightly PORT_SUFFIX=1 docker-compose -f br/compatibility/backup_cluster.yaml up --remove-orphans -d | ||
TAG=nightly PORT_SUFFIX=1 docker-compose -f br/compatibility/backup_cluster.yaml exec -T control make build_br | ||
TAG=nightly PORT_SUFFIX=1 docker-compose -f br/compatibility/backup_cluster.yaml exec -T control br/tests/run_compatible.sh run | ||
|
||
- name: Collect component log | ||
if: ${{ failure() }} | ||
run: | | ||
tar czvf ${{ github.workspace }}/logs.tar.gz /tmp/br/docker/backup_logs/* | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: ${{ failure() }} | ||
with: | ||
name: logs | ||
path: ${{ github.workspace }}/logs.tar.gz |
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 was deleted.
Oops, something went wrong.
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps you need to keep the comment about the failing br_gcs test, until googleapis/google-cloud-go#4609 is released.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v1.16.1 released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/googleapis/google-cloud-go/releases/tag/storage/v1.16.1