-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove dockerfile for source-zendesk-chat and implement build_customi…
…zation.py
- Loading branch information
1 parent
987bb9e
commit fcecb62
Showing
4 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
20 changes: 0 additions & 20 deletions
20
airbyte-integrations/connectors/source-zendesk-chat/Dockerfile
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
airbyte-integrations/connectors/source-zendesk-chat/build_customization.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
# | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
if TYPE_CHECKING: | ||
from dagger import Container | ||
|
||
MAIN_FILE_NAME = "main_dev.py" | ||
|
||
|
||
async def pre_connector_install(base_image_container: Container) -> Container: | ||
"""This function will run before the connector installation. | ||
We set these environment variable to match what was originally in the Dockerfile. | ||
Disclaimer: I have no idea if these env vars are actually needed. | ||
""" | ||
return await ( | ||
base_image_container.with_env_variable("AIRBYTE_IMPL_MODULE", "source_zendesk_chat").with_env_variable( | ||
"AIRBYTE_IMPL_PATH", "SourceZendeskChat" | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters