-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
airbyte-ci: use the base image to build java connectors #49832
airbyte-ci: use the base image to build java connectors #49832
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
5f76a08
to
0ec995a
Compare
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.
Nice. I'm happy if the CI/CD is happy!
|
||
return wrapper | ||
|
||
return decorator |
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.
til!
|
||
connector_container = ( | ||
base.with_workdir("/airbyte") | ||
.with_env_variable("APPLICATION", application) | ||
.with_mounted_directory("built_artifacts", build_stage.directory("/airbyte")) | ||
.with_exec(sh_dash_c(["mv built_artifacts/* ."])) | ||
.with_entrypoint(entrypoint) |
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.
just checking: this is safe to remove? I don't actually know
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.
Yes it it, I set it in the base image. And if the base image code path is not taken I added the entrypoint explicitely on line 177 and 183
10dc398
to
6bd024b
Compare
1c050a0
to
2c15502
Compare
6bd024b
to
569f2df
Compare
2c15502
to
de5b7b7
Compare
de5b7b7
to
b647e43
Compare
What
Closes https://github.com/airbytehq/airbyte-internal-issues/issues/11151
We started publishing base image for our java connectors in #49831 .
To make this base image used we should enable java connectors to express the base image they want to use in
metadata.yaml
like we do for java connectors.This PR updates
airbyte-ci
to build java connectors from the base image declared inmetadata.yaml
.It also marks the original build code paths as deprecated.
Connector testing
source-postgres
tests on this branch. 🎉source-postgres
version if maintainers of this connectors want to test it out on Airbyte Cloud.