Skip to content

Commit

Permalink
github: replace pingcap/ticdc with pingcap/tiflow in workflow (pingca…
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei committed Dec 20, 2021
1 parent 036b5e7 commit 136321c
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/flaking-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 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:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/ticdc-overview)
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/assign_bugs_questions_project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion .github/workflows/dm_binlog_999999.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dm_chaos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dm_upstream_switch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,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
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/upgrade_dm_via_tiup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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
Expand All @@ -31,7 +31,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

- name: Setup containers
working-directory: ${{ env.working-directory }}
Expand All @@ -43,7 +43,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.
Expand All @@ -53,7 +53,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
Expand All @@ -65,7 +65,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:
Expand All @@ -80,7 +80,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

- name: Build
if: ${{ github.ref != 'refs/heads/master' }}
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
working-directory: ${{ env.working-directory }}
run: |
cd ${{ env.working-directory }}/dm/tests/tiup/docker
docker-compose exec -e ref=${{ github.ref }} -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 }} -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
Expand Down Expand Up @@ -163,7 +163,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
Expand All @@ -175,7 +175,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
Expand All @@ -185,7 +185,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
Expand All @@ -199,7 +199,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 }}
Expand All @@ -212,7 +212,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.
Expand All @@ -222,7 +222,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
Expand Down

0 comments on commit 136321c

Please sign in to comment.