Skip to content

Commit

Permalink
move list of internal tool paths to const file
Browse files Browse the repository at this point in the history
  • Loading branch information
erohmensing committed Oct 18, 2023
1 parent 86b2fec commit a42f2f2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
6 changes: 6 additions & 0 deletions airbyte-ci/connectors/pipelines/pipelines/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,9 @@ class ContextState(Enum):
ERROR = {"github_state": "error", "description": "Something went wrong while running the Pipelines."}
SUCCESSFUL = {"github_state": "success", "description": "All Pipelines ran successfully."}
FAILURE = {"github_state": "failure", "description": "Pipeline failed."}


class INTERNAL_TOOL_PATHS(str, Enum):
CI_CREDENTIALS = "airbyte-ci/connectors/ci_credentials"
CONNECTOR_OPS = "airbyte-ci/connectors/connector_ops"
METADATA_SERVICE = "airbyte-ci/connectors/metadata_service/lib"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from dagger import Container, Secret
from pipelines.dagger.actions.python.pipx import with_installed_pipx_package
from pipelines.dagger.containers.python import with_python_base
from pipelines.internal_tools.internal import INTERNAL_TOOL_PATHS
from pipelines.consts import INTERNAL_TOOL_PATHS
from pipelines.pipeline.connectors.context import PipelineContext


Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from pipelines.dagger.containers.python import with_python_base
from pipelines.helpers.steps import run_steps
from pipelines.helpers.utils import DAGGER_CONFIG, get_secret_host_variable
from pipelines.internal_tools.internal import INTERNAL_TOOL_PATHS
from pipelines.consts import INTERNAL_TOOL_PATHS
from pipelines.models.reports import Report
from pipelines.models.steps import MountPath, Step, StepResult
from pipelines.pipeline.connectors.context import ConnectorContext, PipelineContext
Expand Down

0 comments on commit a42f2f2

Please sign in to comment.