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

Skip CI on .md files - SG side #635

Merged
merged 10 commits into from
Jan 18, 2023
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:
orb_version:
type: string
description: Deci ai ORB version https://circleci.com/developer/orbs/orb/deci-ai/circleci-common-orb
default: "10.3.1"
default: "10.5.0"
# default: "dev:alpha"

orbs:
Expand Down Expand Up @@ -75,6 +75,8 @@ commands:

jobs:
build:
environment:
CIRCLE_COMPARE_URL: << pipeline.project.git_url >>/compare/<< pipeline.git.base_revision >>..<<pipeline.git.revision>>
parameters:
py_version:
type: string
Expand All @@ -87,6 +89,7 @@ jobs:
steps:
- deci-common/checkout_and_skip_build:
check_version_file: true
skip_md_files: true
- deci-common/get_persisted_version_info
- when:
condition:
Expand Down Expand Up @@ -291,6 +294,8 @@ jobs:


release_candidate:
environment:
CIRCLE_COMPARE_URL: << pipeline.project.git_url >>/compare/<< pipeline.git.base_revision >>..<<pipeline.git.revision>>
parameters:
py_version:
type: string
Expand All @@ -299,6 +304,8 @@ jobs:
steps:
- deci-common/checkout_and_skip_build:
check_version_file: true
skip_md_files: true

- deci-common/get_persisted_version_info
- run:
name: edit package version
Expand All @@ -318,6 +325,8 @@ jobs:
version: $NEW_VERSION

release_version:
environment:
CIRCLE_COMPARE_URL: << pipeline.project.git_url >>/compare/<< pipeline.git.base_revision >>..<<pipeline.git.revision>>
parameters:
py_version:
type: string
Expand All @@ -329,6 +338,7 @@ jobs:
steps:
- deci-common/checkout_and_skip_build:
check_version_file: true
skip_md_files: true
- run:
name: add requirements.txt and requirements.pro.txt to source code
command: |
Expand Down