Skip to content

Commit

Permalink
improve startup performance of airbyte-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-airbyte committed Jan 22, 2024
1 parent 0063382 commit 0d1afa6
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import logging
import os
from datetime import datetime
from glob import glob
from types import TracebackType
from typing import TYPE_CHECKING

Expand Down Expand Up @@ -43,19 +42,20 @@ class PipelineContext:
PRODUCTION = bool(os.environ.get("PRODUCTION", False)) # Set this to True to enable production mode (e.g. to send PR comments)

DEFAULT_EXCLUDED_FILES = (
[".git", "airbyte-ci/connectors/pipelines/*"]
+ glob("**/build", recursive=True)
+ glob("**/.venv", recursive=True)
+ glob("**/secrets", recursive=True)
+ glob("**/__pycache__", recursive=True)
+ glob("**/*.egg-info", recursive=True)
+ glob("**/.vscode", recursive=True)
+ glob("**/.pytest_cache", recursive=True)
+ glob("**/.eggs", recursive=True)
+ glob("**/.mypy_cache", recursive=True)
+ glob("**/.DS_Store", recursive=True)
+ glob("**/airbyte_ci_logs", recursive=True)
+ glob("**/.gradle", recursive=True)
".git",
"airbyte-ci/connectors/pipelines/*",
"**/build",
"**/.venv",
"**/secrets",
"**/__pycache__",
"**/*.egg-info",
"**/.vscode",
"**/.pytest_cache",
"**/.eggs",
"**/.mypy_cache",
"**/.DS_Store",
"**/airbyte_ci_logs",
"**/.gradle",
)

def __init__(
Expand Down

0 comments on commit 0d1afa6

Please sign in to comment.