Hello all! I'm adding some custom changes to airby...
# replication-troubleshooting
c
Hello all! I'm adding some custom changes to airbyte's (v0.40.30) python CDK such as • adding some logs • playing with state to pass filters .etc. I was able to locally test this by following these steps for a single connector. But now I wish to rebuild all the connectors to make use of my local python CDK changes. The steps described in the doc calls for extensive manual effort. 1. Is there any script/way to rebuild all connectors and make them use my custom python CDK? 2. If there are changes to airbyte_cdk, how does Airbyte take care of updating and pushing all connector images with this change? Love the existing work done, thanks in advance šŸ˜„
n
Hey, Chandrasekharan! 1. You can try rebuilding all the connectors using
SUB_BUILD=CONNECTORS_BASE ./gradlew build
2. I need to look into this one more, but currently connector images are updated in the CI/CD pipeline. You can read more here: a. https://docs.airbyte.com/connector-development/#publishing-a-connector
c
Hey @Nataly Merezhuk (Airbyte), 1. While building the connector this way it pulls the airbyte_cdk from PyPI. I noticed these steps to build the connector with our local CDK but can this be extended to all connectors? Also shouldn't it be
SUB_BUILD=ALL_CONNECTORS ./gradlew build
? Noticed it after the checking the code but the Gradle Cheatsheet mentions
CONNECTOR_BASE
n
Ah, yes - you are right! Sorry for the mistake šŸ™‚ I'm not sure if this can be extended to all connectors, I need some time to look into it and will get back to you!
šŸ‘ 1