Skip to content
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

github: replace pingcap/ticdc with pingcap/tiflow in workflow (#3965) #3976

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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