From d1eb8b050e592eaf290493c7317dd631550adb18 Mon Sep 17 00:00:00 2001 From: amyangfei Date: Mon, 20 Dec 2021 13:41:45 +0800 Subject: [PATCH] github: replace pingcap/ticdc with pingcap/tiflow in workflow (#3965) --- .github/ISSUE_TEMPLATE/flaking-test.yml | 2 +- .github/ISSUE_TEMPLATE/question.yml | 2 +- .../assign_bugs_questions_project.yaml | 2 +- .github/workflows/dm_binlog_999999.yaml | 2 +- .github/workflows/dm_chaos.yaml | 2 +- .github/workflows/dm_upstream_switch.yaml | 2 +- .github/workflows/upgrade_dm_via_tiup.yaml | 30 +++++++++---------- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/flaking-test.yml b/.github/ISSUE_TEMPLATE/flaking-test.yml index c1f6652bc17..946478a8a4c 100644 --- a/.github/ISSUE_TEMPLATE/flaking-test.yml +++ b/.github/ISSUE_TEMPLATE/flaking-test.yml @@ -6,7 +6,7 @@ body: attributes: value: | Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in DM/TiCDC CI. - Please link this report to https://github.com/pingcap/ticdc/issues/2246 as a subtask. + Please link this report to https://github.com/pingcap/tiflow/issues/2246 as a subtask. - type: textarea id: jobs attributes: diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index d0417bf2ac7..2611ce702d2 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -11,7 +11,7 @@ body: required: true - label: Googled your question required: true - - label: Searched open and closed [GitHub issues](https://github.com/pingcap/ticdc/issues?q=is%3Aissue) + - label: Searched open and closed [GitHub issues](https://github.com/pingcap/tiflow/issues?q=is%3Aissue) required: true - label: Read the [documentation](https://docs.pingcap.com/tidb/stable) required: true diff --git a/.github/workflows/assign_bugs_questions_project.yaml b/.github/workflows/assign_bugs_questions_project.yaml index 926eac038ab..72841bc86cf 100644 --- a/.github/workflows/assign_bugs_questions_project.yaml +++ b/.github/workflows/assign_bugs_questions_project.yaml @@ -16,5 +16,5 @@ jobs: if: | contains(github.event.issue.labels.*.name, 'type/bug') with: - project: 'https://github.com/pingcap/ticdc/projects/13' + project: 'https://github.com/pingcap/tiflow/projects/13' column_name: 'Need Triage' diff --git a/.github/workflows/dm_binlog_999999.yaml b/.github/workflows/dm_binlog_999999.yaml index 2cc066ffc0c..ac5f8fcf25d 100644 --- a/.github/workflows/dm_binlog_999999.yaml +++ b/.github/workflows/dm_binlog_999999.yaml @@ -117,7 +117,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFY }} uses: Ilshidur/action-slack@2.1.0 with: - args: "chaos job failed, see https://github.com/pingcap/ticdc/actions/runs/{{ GITHUB_RUN_ID }}" + args: "chaos job failed, see https://github.com/pingcap/tiflow/actions/runs/{{ GITHUB_RUN_ID }}" # Debug via SSH if previous steps failed - name: Set up tmate session diff --git a/.github/workflows/dm_chaos.yaml b/.github/workflows/dm_chaos.yaml index cc64cf03f7b..97d87e09a6c 100644 --- a/.github/workflows/dm_chaos.yaml +++ b/.github/workflows/dm_chaos.yaml @@ -304,7 +304,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFY }} uses: Ilshidur/action-slack@2.1.0 with: - args: "chaos job failed, see https://github.com/pingcap/ticdc/actions/runs/{{ GITHUB_RUN_ID }}" + args: "chaos job failed, see https://github.com/pingcap/tiflow/actions/runs/{{ GITHUB_RUN_ID }}" # Debug via SSH if previous steps failed - name: Set up tmate session diff --git a/.github/workflows/dm_upstream_switch.yaml b/.github/workflows/dm_upstream_switch.yaml index ee4048b266b..075f03882f1 100644 --- a/.github/workflows/dm_upstream_switch.yaml +++ b/.github/workflows/dm_upstream_switch.yaml @@ -81,7 +81,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFY }} uses: Ilshidur/action-slack@2.1.0 with: - args: "upstream-switch job failed, see https://github.com/pingcap/ticdc/actions/runs/{{ GITHUB_RUN_ID }}" + args: "upstream-switch job failed, see https://github.com/pingcap/tiflow/actions/runs/{{ GITHUB_RUN_ID }}" # Debug via SSH if previous steps failed - name: Set up tmate session diff --git a/.github/workflows/upgrade_dm_via_tiup.yaml b/.github/workflows/upgrade_dm_via_tiup.yaml index 53bc9aeb166..149faf72d98 100644 --- a/.github/workflows/upgrade_dm_via_tiup.yaml +++ b/.github/workflows/upgrade_dm_via_tiup.yaml @@ -26,7 +26,7 @@ jobs: name: From V1 runs-on: ubuntu-18.04 env: - working-directory: ${{ github.workspace }}/go/src/github.com/pingcap/ticdc + working-directory: ${{ github.workspace }}/go/src/github.com/pingcap/tiflow steps: - name: Set up Go 1.16 @@ -37,13 +37,13 @@ jobs: - name: Check out code uses: actions/checkout@v2 with: - path: go/src/github.com/pingcap/ticdc + path: go/src/github.com/pingcap/tiflow - name: Check out code by workflow dispatch if: ${{ github.event.inputs.pr != '' }} uses: actions/checkout@v2 with: - path: go/src/github.com/pingcap/ticdc + path: go/src/github.com/pingcap/tiflow ref: refs/pull/${{ github.event.inputs.pr }}/head - name: Setup containers @@ -56,7 +56,7 @@ jobs: working-directory: ${{ env.working-directory }} run: | cd ${{ env.working-directory }}/dm/tests/tiup/docker - docker-compose exec -T control bash -c "cd /go/src/github.com/pingcap/ticdc/dm && ./tests/tiup/upgrade-from-v1.sh" + docker-compose exec -T control bash -c "cd /go/src/github.com/pingcap/tiflow/dm && ./tests/tiup/upgrade-from-v1.sh" # send Slack notify if failed. # NOTE: With the exception of `GITHUB_TOKEN`, secrets are not passed to the runner when a workflow is triggered from a forked repository. @@ -66,7 +66,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFY }} uses: Ilshidur/action-slack@2.1.0 with: - args: "upgrade job failed, see https://github.com/pingcap/ticdc/actions/runs/{{ GITHUB_RUN_ID }}" + args: "upgrade job failed, see https://github.com/pingcap/tiflow/actions/runs/{{ GITHUB_RUN_ID }}" # Debug via SSH if previous steps failed - name: Set up tmate session @@ -78,7 +78,7 @@ jobs: name: From V2 runs-on: ubuntu-18.04 env: - working-directory: ${{ github.workspace }}/go/src/github.com/pingcap/ticdc + working-directory: ${{ github.workspace }}/go/src/github.com/pingcap/tiflow strategy: fail-fast: false matrix: @@ -94,13 +94,13 @@ jobs: - name: Check out code uses: actions/checkout@v2 with: - path: go/src/github.com/pingcap/ticdc + path: go/src/github.com/pingcap/tiflow - name: Check out code by workflow dispatch if: ${{ github.event.inputs.pr != '' }} uses: actions/checkout@v2 with: - path: go/src/github.com/pingcap/ticdc + path: go/src/github.com/pingcap/tiflow ref: refs/pull/${{ github.event.inputs.pr }}/head - name: Build @@ -154,7 +154,7 @@ jobs: working-directory: ${{ env.working-directory }} run: | cd ${{ env.working-directory }}/dm/tests/tiup/docker - docker-compose exec -e ref=${{ github.ref }} -e id=${{ github.event.inputs.pr }} -T control bash -c "cd /go/src/github.com/pingcap/ticdc/dm && ./tests/tiup/upgrade-from-v2.sh ${{ matrix.previous_v2 }} nightly" + docker-compose exec -e ref=${{ github.ref }} -e id=${{ github.event.inputs.pr }} -T control bash -c "cd /go/src/github.com/pingcap/tiflow/dm && ./tests/tiup/upgrade-from-v2.sh ${{ matrix.previous_v2 }} nightly" # if above step is passed, logs will be removed by tiup dm destroy - name: Copy logs to hack permission @@ -184,7 +184,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFY }} uses: Ilshidur/action-slack@2.1.0 with: - args: "upgrade-via-tiup job failed, see https://github.com/pingcap/ticdc/actions/runs/{{ GITHUB_RUN_ID }}" + args: "upgrade-via-tiup job failed, see https://github.com/pingcap/tiflow/actions/runs/{{ GITHUB_RUN_ID }}" # Debug via SSH if previous steps failed - name: Set up tmate session @@ -196,7 +196,7 @@ jobs: name: Upgrade TiDB runs-on: ubuntu-18.04 env: - working-directory: ${{ github.workspace }}/go/src/github.com/pingcap/ticdc + working-directory: ${{ github.workspace }}/go/src/github.com/pingcap/tiflow steps: - name: Set up Go 1.16 uses: actions/setup-go@v2 @@ -206,7 +206,7 @@ jobs: - name: Check out code uses: actions/checkout@v2 with: - path: go/src/github.com/pingcap/ticdc + path: go/src/github.com/pingcap/tiflow # TODO: support more versions - name: Setup containers @@ -220,7 +220,7 @@ jobs: working-directory: ${{ env.working-directory }} run: | cd ${{ env.working-directory }}/dm/tests/tiup/docker - docker-compose exec -T control bash -c "cd /go/src/github.com/pingcap/ticdc && ./dm/tests/tiup/upgrade-tidb.sh before_upgrade nightly" + docker-compose exec -T control bash -c "cd /go/src/github.com/pingcap/tiflow && ./dm/tests/tiup/upgrade-tidb.sh before_upgrade nightly" - name: Upgrade TiDB working-directory: ${{ env.working-directory }} @@ -233,7 +233,7 @@ jobs: working-directory: ${{ env.working-directory }} run: | cd ${{ env.working-directory }}/dm/tests/tiup/docker - docker-compose exec -T control bash -c "source /root/.profile && cd /go/src/github.com/pingcap/ticdc && ./dm/tests/tiup/upgrade-tidb.sh after_upgrade nightly" + docker-compose exec -T control bash -c "source /root/.profile && cd /go/src/github.com/pingcap/tiflow && ./dm/tests/tiup/upgrade-tidb.sh after_upgrade nightly" # send Slack notify if failed. # NOTE: With the exception of `GITHUB_TOKEN`, secrets are not passed to the runner when a workflow is triggered from a forked repository. @@ -243,7 +243,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFY }} uses: Ilshidur/action-slack@2.1.0 with: - args: "upgrade job failed, see https://github.com/pingcap/ticdc/actions/runs/{{ GITHUB_RUN_ID }}" + args: "upgrade job failed, see https://github.com/pingcap/tiflow/actions/runs/{{ GITHUB_RUN_ID }}" # Debug via SSH if previous steps failed - name: Set up tmate session