Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda committed Oct 11, 2023
1 parent 0ca3ede commit 2826b4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions airbyte-ci/connectors/pipelines/pipelines/contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ def __init__(
fail_fast (bool, optional): Whether to fail fast. Defaults to False.
fast_tests_only (bool, optional): Whether to run only fast tests. Defaults to False.
code_tests_only (bool, optional): Whether to ignore non-code tests like QA and metadata checks. Defaults to False.
use_local_cdk (bool, optional): Whether to use the local cdk. Defaults to False.
use_host_gradle_dist_tar (bool, optional): Used when developing java connectors with gradle. Defaults to False.
open_report_in_browser (bool, optional): Open HTML report in browser window. Defaults to True.
"""
Expand Down Expand Up @@ -543,6 +544,9 @@ def __init__(
self.docker_hub_username = docker_hub_username
self.docker_hub_password = docker_hub_password

if use_local_cdk and not pre_release:
raise ValueError("Cannot use local CDK for non-pre-release connector")

pipeline_name = f"Publish {connector.technical_name}"
pipeline_name = pipeline_name + " (pre-release)" if pre_release else pipeline_name

Expand Down

0 comments on commit 2826b4a

Please sign in to comment.