Skip to content
Merged
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
4 changes: 4 additions & 0 deletions packages/delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,10 @@ image_copy_rules:
- <<: *sync_nextgen
dest_repositories:
- us.gcr.io/pingcap-public/tidbx/ticdc
us-docker.pkg.dev/pingcap-testing-account/tidbx/pingcap/tiflow/images/dm:
- <<: *sync_nextgen
dest_repositories:
- us.gcr.io/pingcap-public/tidbx/dm
us-docker.pkg.dev/pingcap-testing-account/tidbx/tikv/pd/image:
- <<: *sync_nextgen
dest_repositories:
Expand Down
26 changes: 25 additions & 1 deletion packages/packages.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,7 @@ components:
if: {{ semver.CheckConstraint ">= v9.0.0-0" .Release.version }}
os: [linux, darwin]
arch: [amd64, arm64]
profile: [release]
profile: [release, nextgen]
steps:
release:
- os: darwin
Expand All @@ -2267,6 +2267,27 @@ components:
npm install -g yarn
- script: |
make dm-master-with-webui dm-worker dmctl dm-syncer sync-diff-inspector
nextgen:
- os: darwin
description: install nodejs toolchain.
script: |
NODE_VERSION="v16.20.2"
NVM_VERSION="v0.39.5"
NVM_DIR="$HOME/.nvm"
mkdir -p $NVM_DIR

if [ ! -s "$NVM_DIR/nvm.sh" ]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/${NVM_VERSION}/install.sh | bash
fi
. $NVM_DIR/nvm.sh
nvm install ${NODE_VERSION}
nvm use ${NODE_VERSION}
nvm alias default ${NODE_VERSION}

node --version && npm --version
npm install -g yarn
- script: |
NEXT_GEN=1 make dm-master-with-webui dm-worker dmctl dm-syncer
artifacts:
- name: "dm-master-{{ .Release.version }}-{{ .Release.os }}-{{ .Release.arch }}.tar.gz"
files:
Expand Down Expand Up @@ -2326,6 +2347,7 @@ components:
dmctl component of Data Migration Platform.
entrypoint: dmctl/dmctl
- name: "sync-diff-inspector-{{ .Release.version }}-{{ .Release.os }}-{{ .Release.arch }}.tar.gz"
if: {{ ne "nextgen" .Release.profile }}
files:
- name: sync_diff_inspector
src:
Expand All @@ -2336,6 +2358,7 @@ components:
sync-diff-inspector is a tool used to verify the consistency across different MySQL-compatible data sources.
entrypoint: sync_diff_inspector
- name: container image - sync-diff-inspector
if: {{ ne "nextgen" .Release.profile }}
type: image
artifactory:
repo: "{{ .Release.registry }}/pingcap/tiflow/images/sync-diff-inspector"
Expand All @@ -2360,6 +2383,7 @@ components:
src:
path: bin/dmctl
- name: container image - tiflow-engine
if: {{ ne "nextgen" .Release.profile }}
type: image
artifactory:
repo: "{{ .Release.registry }}/pingcap/tiflow/images/tiflow"
Expand Down
Loading