-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release v2021.12.30.1 [skip pd_pr] (#1113)
* Revert "Release v2021.12.06.1 (#1084)" This reverts commit bcc43a0. * Compitable with different TiDB versions for conprof and non-root-login features (#1047) * make conprof independent * check feature enable * add check feature enable middleware * hide menu if feature is not enabled * refactor non root login switch by new design * i18n * yarn fmt * renaming * adjust fe code * refine * remove unused log * build(deps): bump ws from 5.2.2 to 5.2.3 in /ui (#1055) * CICD: Update the release pipeline for recent PD format policies (#1054) * fix i18n wording (#1056) * Refactor: Change util module to util package (#1052) * Refactor: Fix godot incorrectly add dot suffix to annotations (#1059) * lint: Add goheader for copyright lints (#1062) * Refactor: Migrate to use the `rest` package in util/ (#1060) * fix(*): globally delete/update data by GORM (#1065) * ui: bump dependencies (#1066) * refactor: Switch to use ziputil, netutil, reflectutil and fileswap (#1067) * Fix request header being pinned after pd profiling (#1069) * Integrate speedscope (#1064) * fix potential panic when GetPDInstances (#1075) Signed-off-by: crazycs <chen.two.cs@gmail.com> * Refactor: a new httpclient (#1073) * Refactor: Switch to use util/distro in all places (#1078) * chore: support import relative file URL (#1082) * Refactor: Move tools into a standalone module (#1079) * Fix script to embed the ui (#1088) * Fix script to embed the ui * Hack write_strings * Refactor feature flag to support more modules (#1057) * Drop sysutil dependency (#1093) * chore: add graph generation (#1085) * Refactor: Add TopologyProvider (#1098) * esbuild: i18n + dep (#1101) * script: Add a script to generate version matrix (#1104) * distro: support dynamic config (#1094) * chore: support multiple profiling types (#1095) * fix(distro): check distro_strings.json fmt by prettier (#1106) * script: fix generate assets (#1107) * Add integration test (#1083) * debug_api: Switch to use the new util (#1103) * refactor(ui): auto refresh button (#1105) * refactor(ui): auto refresh button * chore: update translation * fix: remain seconds * refine: refresh button * fix: onRefresh * fix: auto refresh * fix: continue tick * chore: add some comments * tweak: remaining refresh seconds * chore: clean code Co-authored-by: Wenxuan <breezewish@pingcap.com> * ui: refine conprof (#1102) * update wording * not check prom any more * replace time range component * i18n * support view profile by diffrent ways * extract ActionsButton * change download data format * refine * comments * Revert "comments" This reverts commit 3b03fdb. * fix view cpu profile fail * update state * hide action button if disable * address feedback * update release-version * sync with master Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wenxuan <breezewish@pingcap.com> Co-authored-by: Suhaha <jklopsdfw@gmail.com> Co-authored-by: Yini Xu <34967660+YiniXu9506@users.noreply.github.com> Co-authored-by: crazycs <crazycs520@gmail.com>
- Loading branch information
1 parent
bcc43a0
commit b2c4a04
Showing
464 changed files
with
25,777 additions
and
13,573 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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Create PD PR Manually | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release_version: | ||
description: "Release version, e.g. v2021.07.09.1" | ||
required: true | ||
|
||
jobs: | ||
pd_pr: | ||
name: Create PD PR | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
branch: [master, release-4.0, release-5.0, release-5.1] | ||
steps: | ||
- name: Check out PD code base | ||
uses: actions/checkout@master | ||
with: | ||
repository: tikv/pd | ||
ref: ${{ matrix.branch }} | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.13.5" | ||
- name: Update TiDB Dashboard in PD code base | ||
run: | | ||
go get -d "github.com/pingcap/tidb-dashboard@${{ github.event.inputs.release_version }}" | ||
go mod tidy | ||
make pd-server | ||
go mod tidy | ||
- name: Commit PD code base change | ||
id: git_commit | ||
run: | | ||
git config user.name "tidb-dashboard-bot" | ||
git config user.email "tidb-dashboard-bot@pingcap.com" | ||
git add go.mod go.sum | ||
if git status | grep -q "Changes to be committed" | ||
then | ||
git commit --signoff --message "Update TiDB Dashboard to ${{ github.event.inputs.release_version }}" | ||
echo "::set-output name=committed::1" | ||
else | ||
echo "No changes detected, skipped" | ||
fi | ||
- name: Set build ID | ||
id: build_id | ||
run: echo "::set-output name=id::$(date +%s)" | ||
- name: Create PR based on PD code base | ||
uses: peter-evans/create-pull-request@v3 | ||
if: steps.git_commit.outputs.committed == 1 | ||
with: | ||
token: ${{ secrets.BOT_PAT }} | ||
branch: update-tidb-dashboard/${{ matrix.branch }}-${{ github.event.inputs.release_version }}-${{ steps.build_id.outputs.id }} | ||
title: Update TiDB Dashboard to ${{ github.event.inputs.release_version }} [${{ matrix.branch }}] | ||
body: | | ||
### What problem does this PR solve? | ||
Update TiDB Dashboard to ${{ github.event.inputs.release_version }}. | ||
Upstream commit: https://github.com/${{ github.repository }}/commit/${{ github.sha }} . | ||
### Release note | ||
```release-note | ||
None | ||
``` | ||
push-to-fork: tidb-dashboard-bot/pd |
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.