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

Tweak ci pipeline #129

Merged
merged 1 commit into from
Mar 8, 2024
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
8 changes: 1 addition & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,4 @@ workflows:
# This is mandatory to trigger a pipeline when pushing a tag
filters:
tags:
only: /.*(?<!dev\d{8})$/
- continuation/continue:
configuration_path: .circleci/dev-release-config.yml
# This is mandatory to trigger a pipeline when pushing a tag
filters:
tags:
only: /.*(?<=dev\d{8})$/
only: /.*/
80 changes: 0 additions & 80 deletions .circleci/dev-release-config.yml

This file was deleted.

42 changes: 35 additions & 7 deletions .circleci/release-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,28 @@ parameters:
type: string
default: ""

executors:
linux_x64_executor: # declares a reusable executor
docker:
- image: registry.hub.docker.com/secretflow/release-ci:latest
resource_class: 2xlarge
shell: /bin/bash --login -eo pipefail
linux_aarch64_executor:
docker:
- image: secretflow/release-ci-aarch64:latest
resource_class: arm.2xlarge
shell: /bin/bash --login -eo pipefail

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
linux_publish:
docker:
- image: registry.hub.docker.com/secretflow/release-ci:latest
resource_class: 2xlarge
parameters:
python_ver:
type: string
shell: /bin/bash --login -eo pipefail
executor:
type: string
executor: <<parameters.executor>>
steps:
- checkout
- run:
Expand Down Expand Up @@ -110,20 +120,38 @@ workflows:
matrix:
parameters:
python_ver: [ "3.9", "3.10", "3.11" ]
executor: ["linux_x64_executor", "linux_aarch64_executor"]
filters:
tags:
only: /.*/
only: /.*(?<!dev\d{8})$/
- macOS_x64_publish:
matrix:
parameters:
python_ver: [ '3.9', '3.10', '3.11' ]
filters:
tags:
only: /.*/
only: /.*(?<!dev\d{8})$/
- macOS_arm64_publish:
matrix:
parameters:
python_ver: [ '3.9', '3.10', '3.11' ]
filters:
tags:
only: /.*/
only: /.*(?<!dev\d{8})$/
- linux_publish:
name: linux_dev_publish
matrix:
parameters:
python_ver: [ "3.10" ]
executor: ["linux_x64_executor", "linux_aarch64_executor"]
filters:
tags:
only: /.*(?<=dev\d{8})$/
- macOS_arm64_publish:
name: macos_dev_publish
matrix:
parameters:
python_ver: [ '3.10' ]
filters:
tags:
only: /.*(?<=dev\d{8})$/
Loading