-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Stop publishing java connectors on merge to master #28344
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
Changes from all commits
4c7d2d2
cb0588e
1a82d3d
77851cd
48f1cd5
a7a6a98
82002c6
9393e29
98602a5
f88784c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,8 @@ def connectors( | |
# and attach modified files to them | ||
selected_connectors_and_files = {connector: modified_connectors_and_files.get(connector, []) for connector in all_connectors} | ||
|
||
if modified: | ||
selected_connectors_and_files = modified_connectors_and_files | ||
Comment on lines
+106
to
+107
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved this to be before the other filters so they can be applied together |
||
if names: | ||
selected_connectors_and_files = { | ||
connector: selected_connectors_and_files[connector] | ||
|
@@ -121,8 +123,6 @@ def connectors( | |
for connector in selected_connectors_and_files | ||
if connector.release_stage in release_stages | ||
} | ||
if modified: | ||
selected_connectors_and_files = modified_connectors_and_files | ||
|
||
ctx.obj["selected_connectors_and_files"] = selected_connectors_and_files | ||
ctx.obj["selected_connectors_names"] = [c.technical_name for c in selected_connectors_and_files.keys()] | ||
|
@@ -312,12 +312,9 @@ def publish( | |
"Publishing from a local environment is not recommend and requires to be logged in Airbyte's DockerHub registry, do you want to continue?", | ||
abort=True, | ||
) | ||
if ctx.obj["modified"]: | ||
selected_connectors_and_files = get_modified_connectors(get_modified_metadata_files(ctx.obj["modified_files"])) | ||
selected_connectors_names = [connector.technical_name for connector in selected_connectors_and_files.keys()] | ||
Comment on lines
-315
to
-317
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Modified connectors were already being filtered out in the previous step, so the This was overwriting the other filters in the publish step |
||
else: | ||
selected_connectors_and_files = ctx.obj["selected_connectors_and_files"] | ||
selected_connectors_names = ctx.obj["selected_connectors_names"] | ||
|
||
selected_connectors_and_files = ctx.obj["selected_connectors_and_files"] | ||
selected_connectors_names = ctx.obj["selected_connectors_names"] | ||
|
||
main_logger.info(f"Will publish the following connectors: {', '.join(selected_connectors_names)}") | ||
publish_connector_contexts = reorder_contexts( | ||
|
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.
Skip java connectors by specifying we only want python and low-code connectors