Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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/workflows/assign_bugs_questions_project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
assign_bug_project:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Assign to Bugs and Questions Project
steps:
- name: Run issues assignment to project Question and Bug Reports Kanban
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dataflow_engine_chaos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# This workflow contains a single job called "base"
base:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 50
strategy:
fail-fast: false
Expand All @@ -36,20 +36,20 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: check out code by workerflow dispatch PR
if: ${{ github.event.inputs.pr != '' }}
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
ref: refs/pull/${{ github.event.inputs.pr }}/head

- uses: actions/setup-go@v3
- uses: actions/setup-go@v6
with:
go-version: '1.23'
go-version-file: 'go.mod'

- name: Cache go modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-dataflow-${{ hashFiles('go.sum') }}
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
# Upload logs as artifact seems not stable, so we set `continue-on-error: true` here.
- name: Upload logs
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: ${{ always() }}
with:
name: chaos-base-logs.${{ matrix.chaos-obj }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/dm_binlog_999999.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ on:
jobs:
test-binlog-999999:
name: Test binlog 999999
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
services:
docker:
image: docker:19.03.12
options: >-
--privileged

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Go env
uses: actions/setup-go@v3
uses: actions/setup-go@v6
with:
go-version: '1.23'

- name: Check out code
uses: actions/checkout@v2
go-version-file: 'go.mod'

- name: Check out code by workflow dispatch
if: ${{ github.event.inputs.pr != '' }}
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
ref: refs/pull/${{ github.event.inputs.pr }}/head

Expand All @@ -44,14 +44,14 @@ jobs:
sudo chmod +x /usr/local/bin/docker-compose

- name: Cache go modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-ticdc-${{ hashFiles('go.sum') }}

- name: Cache Tools
id: cache-tools
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: tools/bin
key: ${{ runner.os }}-ticdc-tools-${{ hashFiles('tools/check/go.sum') }}
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
# Update logs as artifact seems not stable, so we set `continue-on-error: true` here.
- name: Upload logs
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: ${{ always() }}
with:
name: test-binlog-999999
Expand Down
28 changes: 15 additions & 13 deletions .github/workflows/dm_chaos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# This workflow contains a single job called "base"
base:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 50
strategy:
fail-fast: false
Expand All @@ -36,33 +36,35 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Set up Go for building DM
- name: Set up Go env
uses: actions/setup-go@v3
with:
go-version: '1.23'
- name: Print Go version
run: go version

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Check out code by workflow dispatch
if: ${{ github.event.inputs.pr != '' }}
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
ref: refs/pull/${{ github.event.inputs.pr }}/head

# Set up Go for building DM
- name: Set up Go env
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'

- name: Print Go version
run: go version

- name: Cache go modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-ticdc-${{ hashFiles('go.sum') }}

- name: Cache Tools
id: cache-tools
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: tools/bin
key: ${{ runner.os }}-ticdc-tools-${{ hashFiles('tools/check/go.sum') }}
Expand Down Expand Up @@ -272,7 +274,7 @@ jobs:
# Update logs as artifact seems not stable, so we set `continue-on-error: true` here.
- name: Upload logs
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: ${{ always() }}
with:
name: chaos-base-logs.${{ matrix.chaos-obj }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dm_integration_basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- '8.0'
- '8.4'
- '9.7'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
services:
mysql:
image: container-registry.oracle.com/mysql/community-server:${{ matrix.mysql_version }}
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- '11.4'
- '11.8'
- '12.3-rc'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
services:
tidb:
image: 'pingcap/tidb:v8.5.5'
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/dm_mariadb_master_down_and_up.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@ on:
jobs:
mariadb-master-down-and-up:
name: mariadb-master-down-and-up
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Go env
uses: actions/setup-go@v3
uses: actions/setup-go@v6
with:
go-version: '1.23'

- name: Check out code
uses: actions/checkout@v2
go-version-file: 'go.mod'

- name: Cache go modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-ticdc-${{ hashFiles('go.sum') }}

- name: Cache Tools
id: cache-tools
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: tools/bin
key: ${{ runner.os }}-ticdc-tools-${{ hashFiles('tools/check/go.sum') }}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
# Update logs as artifact seems not stable, so we set `continue-on-error: true` here.
- name: Upload logs
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: ${{ always() }}
with:
name: upstream-switch-logs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dm_ui_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ on:
jobs:
dm-web-ui-lint:
name: DM Web UI Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

defaults:
run:
working-directory: ./dm/ui

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: '14'
cache: 'yarn'
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/dm_upstream_switch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,32 @@ on:
jobs:
upstream-database-switch:
name: upstream-database-switch
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- name: Set up Go env
uses: actions/setup-go@v3
with:
go-version: '1.23'

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Check out code by workflow dispatch
if: ${{ github.event.inputs.pr != '' }}
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
ref: refs/pull/${{ github.event.inputs.pr }}/head

- name: Set up Go env
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'

- name: Cache go modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-ticdc-${{ hashFiles('go.sum') }}

- name: Cache Tools
id: cache-tools
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: tools/bin
key: ${{ runner.os }}-ticdc-tools-${{ hashFiles('tools/check/go.sum') }}
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
# Update logs as artifact seems not stable, so we set `continue-on-error: true` here.
- name: Upload logs
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: ${{ always() }}
with:
name: upstream-switch-logs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
node-version: [12.x]
os: [ubuntu-latest]
os: [ubuntu-24.04]

runs-on: ${{ matrix.os }}

Expand All @@ -26,9 +26,9 @@ jobs:
working-directory: ./docs

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
Loading
Loading