-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
connector base image: declare the base image package and implement #30303
Merged
Conversation
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
alafanechere
force-pushed
the
augustin/declare-first-base-image
branch
from
September 11, 2023 17:13
5a6f52f
to
ee6791f
Compare
alafanechere
changed the title
connector base image: declare the base image package and implement build
connector base image: declare the base image package and implement
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
raise common.SanityCheckError(f"missing environment variables: {missing_env_vars}") | ||
|
||
|
||
class _0_1_0(AirbytePythonConnectorBaseImage): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: add a check that patch version inherit from previous version
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
Comment on lines
93
to
98
async def run_sanity_checks(self): | ||
await super().run_sanity_checks() | ||
await self.check_python_version() | ||
await self.check_pip_version() | ||
await self.check_time_zone() | ||
await self.check_bash_is_installed() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: add docstring explaining this checks are from the results of our analysis
alafanechere
commented
Sep 11, 2023
alafanechere
commented
Sep 11, 2023
octavia-squidington-iii
removed
area/connectors
Connector related issues
CDK
Connector Development Kit
labels
Sep 22, 2023
alafanechere
removed
connectors/source/sentry
connectors/source/stripe
connectors/source/trello
connectors/source/facebook-marketing
connectors/destination/bigquery
connectors/source/apify-dataset
connectors/destination/bigquery-denormalized
connectors/source/bigcommerce
connectors/destination/snowflake
connectors/source/google-ads
connectors/source/shopify
connectors/source/jira
connectors/source/slack
connectors/source/mssql
connectors/source/mysql
connectors/source/paypal-transaction
connectors/source/pipedrive
connectors/source/postgres
connectors/source/zendesk-support
connectors/source/google-analytics-data-api
connectors/source/mysql-strict-encrypt
connectors/destination/duckdb
labels
Sep 22, 2023
jbfbell
pushed a commit
that referenced
this pull request
Sep 22, 2023
…30303) Co-authored-by: alafanechere <alafanechere@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #30235
Closes #30240
What
We want to build a "framework" to declare versioned base images for our connectors.
Context:
Approach
poetry
package underairbyte-ci/connectors/base_images
poetry run cut-new-version
command that will run sanity checks on base images and publish it.Please note that no publish on merge automation has been implemented in this PR. I don't think its high priority given that we won't be cutting new images very often.
Next steps
#30233
#30236
TODO in this PR
🚨 User Impact 🚨
None, this package is not yet used.