Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate connectors to use our python base image (Round 1) #31543

Conversation

alafanechere
Copy link
Contributor

@alafanechere alafanechere commented Oct 18, 2023

What

Migrate the following connectors to use our base image:

  • source-sendgrid
  • source-azure-blob-storage
  • source-salesforce
  • source-google-analytics-data-api

(Ignoring source-s3 because we have to implement a build_customization.py following @flash1293 recent nltk changes to the Dockerfile.)

How

Run

airbyte-ci connectors --name=source-sendgrid --name=source-azure-blob-storage --name=source-salesforce --name=source-google-analytics-data-api migrate-to-base-image 31543

🚨 User Impact 🚨

None if the tests pass.

@vercel
Copy link

vercel bot commented Oct 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 3:43pm

Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/azure-blob-storage labels Oct 18, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 18, 2023

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan.
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • You've updated the connector's metadata.yaml file any other relevant changes, including a breakingChanges entry for major version bumps. See metadata.yaml docs
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • Migration guide updated in docs/integrations/<source or destination>/<name>-migrations.md with an entry for the new version, if the version is a breaking change. See migration guide example
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

@airbyte-oss-build-runner
Copy link
Collaborator

source-sendgrid test report (commit ae3c6214bc) - ✅

⏲️ Total pipeline duration: 04mn42s

Step Result
Build source-sendgrid docker image for platform(s) linux/x86_64
Unit tests
Acceptance tests
Code format checks
Validate metadata for source-sendgrid
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-sendgrid test

@@ -178,5 +178,6 @@ There are currently no options for JSONL parsing.

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:------------------------------------------------|:------------------------------------------------------------------------|
| 0.2.1 | 2023-10-18 | [31543](https://github.com/airbytehq/airbyte/pull/31543) | Use our base image and remove Dockerfile |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "Replace Dockerfile with the python-connector-base image"?

@airbyte-oss-build-runner
Copy link
Collaborator

source-azure-blob-storage test report (commit ae3c6214bc) - ✅

⏲️ Total pipeline duration: 05mn35s

Step Result
Build source-azure-blob-storage docker image for platform(s) linux/x86_64
Acceptance tests
Code format checks
Validate metadata for source-azure-blob-storage
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-azure-blob-storage test

@octavia-squidington-iv octavia-squidington-iv requested a review from a team October 18, 2023 10:22
@bazarnov
Copy link
Collaborator

@alafanechere You'll probably face the rate-limits for the Google Analytics Data API very shortly, it's recommended to have a separate PR for it, in order not to be blocked by the single connector and be able to merge timely.

@alafanechere
Copy link
Contributor Author

@alafanechere You'll probably face the rate-limits for the Google Analytics Data API very shortly, it's recommended to have a separate PR for it, in order not to be blocked by the single connector and be able to merge timely.

Thanks for the tips, will do if it gets annoying.

Copy link
Collaborator

@bazarnov bazarnov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with the small change to the changelog.

@airbyte-oss-build-runner
Copy link
Collaborator

source-salesforce test report (commit ae3c6214bc) - ✅

⏲️ Total pipeline duration: 81mn55s

Step Result
Build source-salesforce docker image for platform(s) linux/x86_64
Unit tests
Integration tests
Acceptance tests
Code format checks
Validate metadata for source-salesforce
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-salesforce test

@airbyte-oss-build-runner
Copy link
Collaborator

source-google-analytics-data-api test report (commit ae3c6214bc) - ✅

⏲️ Total pipeline duration: 85mn00s

Step Result
Build source-google-analytics-data-api docker image for platform(s) linux/x86_64
Unit tests
Acceptance tests
Code format checks
Validate metadata for source-google-analytics-data-api
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-google-analytics-data-api test

@alafanechere
Copy link
Contributor Author

@artem1205 the CI time for these connector did not get degraded. The image build duration remains around 30s.

@alafanechere
Copy link
Contributor Author

I will merge this PR once #31541 is approved and on master.

Base automatically changed from augustin/10-17-python-connector-base_install_socat to master October 18, 2023 13:43
@alafanechere alafanechere force-pushed the augustin/10-18-Migrate_connectors_to_use_our_python_base_image_Round_1_ branch from 728060c to 0383876 Compare October 18, 2023 13:45
@airbyte-oss-build-runner
Copy link
Collaborator

source-sendgrid test report (commit 328b0d1067) - ❌

⏲️ Total pipeline duration: 04mn25s

Step Result
Build source-sendgrid docker image for platform(s) linux/x86_64
Unit tests
Acceptance tests
Code format checks
Validate metadata for source-sendgrid
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-sendgrid test

@airbyte-oss-build-runner
Copy link
Collaborator

source-azure-blob-storage test report (commit 328b0d1067) - ✅

⏲️ Total pipeline duration: 05mn15s

Step Result
Build source-azure-blob-storage docker image for platform(s) linux/x86_64
Acceptance tests
Code format checks
Validate metadata for source-azure-blob-storage
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-azure-blob-storage test

@airbyte-oss-build-runner
Copy link
Collaborator

source-google-analytics-data-api test report (commit 328b0d1067) - ❌

⏲️ Total pipeline duration: 87mn04s

Step Result
Build source-google-analytics-data-api docker image for platform(s) linux/x86_64
Unit tests
Acceptance tests
Code format checks
Validate metadata for source-google-analytics-data-api
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-google-analytics-data-api test

@airbyte-oss-build-runner
Copy link
Collaborator

source-salesforce test report (commit 328b0d1067) - ❌

⏲️ Total pipeline duration: 98mn00s

Step Result
Build source-salesforce docker image for platform(s) linux/x86_64
Unit tests
Integration tests
Acceptance tests
Code format checks
Validate metadata for source-salesforce
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-salesforce test

@airbyte-oss-build-runner
Copy link
Collaborator

source-azure-blob-storage test report (commit d46cd29166) - ✅

⏲️ Total pipeline duration: 02mn41s

Step Result
Build source-azure-blob-storage docker image for platform(s) linux/x86_64
Acceptance tests
Code format checks
Validate metadata for source-azure-blob-storage
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-azure-blob-storage test

@airbyte-oss-build-runner
Copy link
Collaborator

source-sendgrid test report (commit d46cd29166) - ✅

⏲️ Total pipeline duration: 02mn54s

Step Result
Build source-sendgrid docker image for platform(s) linux/x86_64
Unit tests
Acceptance tests
Code format checks
Validate metadata for source-sendgrid
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-sendgrid test

@airbyte-oss-build-runner
Copy link
Collaborator

source-google-analytics-data-api test report (commit d46cd29166) - ❌

⏲️ Total pipeline duration: 21mn43s

Step Result
Build source-google-analytics-data-api docker image for platform(s) linux/x86_64
Unit tests
Acceptance tests
Code format checks
Validate metadata for source-google-analytics-data-api
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-google-analytics-data-api test

@airbyte-oss-build-runner
Copy link
Collaborator

source-salesforce test report (commit d46cd29166) - ✅

⏲️ Total pipeline duration: 26mn42s

Step Result
Build source-salesforce docker image for platform(s) linux/x86_64
Unit tests
Integration tests
Acceptance tests
Code format checks
Validate metadata for source-salesforce
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-salesforce test

@alafanechere
Copy link
Contributor Author

Merging as source-google-analytics-data-api CAT failure is transient (probably due to a rate limiting issue): it passed two times in a row and failed on the third run (without any code change).

@alafanechere alafanechere merged commit c544183 into master Oct 18, 2023
26 of 28 checks passed
@alafanechere alafanechere deleted the augustin/10-18-Migrate_connectors_to_use_our_python_base_image_Round_1_ branch October 18, 2023 18:06
ariesgun pushed a commit to ariesgun/airbyte that referenced this pull request Oct 20, 2023
ariesgun pushed a commit to ariesgun/airbyte that referenced this pull request Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants