Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/actions/install-airbyte-ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
shell: bash
id: determine-install-mode
run: |
echo "install-mode=binary" >> $GITHUB_OUTPUT
echo "install-mode=source" >> $GITHUB_OUTPUT
echo "SENTRY_ENVIRONMENT=dev" >> $GITHUB_ENV

# When the PR is from a fork, we always install from binary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,12 @@ def get_main_file_name(connector: Connector) -> str:

def get_entrypoint(connector: Connector) -> List[str]:
main_file_name = get_main_file_name(connector)
return ["python", f"/airbyte/integration_code/{main_file_name}"]
return ["ddtrace-run", "python", f"/airbyte/integration_code/{main_file_name}"]


def apply_airbyte_entrypoint(connector_container: Container, connector: Connector) -> Container:
entrypoint = get_entrypoint(connector)

return connector_container.with_env_variable("AIRBYTE_ENTRYPOINT", " ".join(entrypoint)).with_entrypoint(entrypoint)
return connector_container.with_env_variable("DD_PROFILING_ENABLED", "true").with_env_variable("DD_TRACE_SQLITE3_ENABLED", "false").with_env_variable("DD_PROFILING_TIMELINE_ENABLED","true").with_env_variable("AIRBYTE_ENTRYPOINT", " ".join(entrypoint)).with_entrypoint(entrypoint)


async def pre_install_hooks(connector: Connector, base_container: Container, logger: Logger) -> Container:
Expand Down
Loading