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

update file-secure to 0.2.27 #18500

Closed
wants to merge 3 commits into from
Closed

update file-secure to 0.2.27 #18500

wants to merge 3 commits into from

Conversation

brianjlai
Copy link
Contributor

source-file was bumped to 0.2.27 in #18481 but we forgot to also bump source-file-secure which will break cloud publish since the connector image will be missing. This fixed that

Copy link
Contributor

@jdpgrailsdev jdpgrailsdev left a comment

Choose a reason for hiding this comment

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

:shipit:

@brianjlai
Copy link
Contributor Author

brianjlai commented Oct 26, 2022

/test connector=connectors/source-file-secure

🕑 connectors/source-file-secure https://github.com/airbytehq/airbyte/actions/runs/3331653056
❌ connectors/source-file-secure https://github.com/airbytehq/airbyte/actions/runs/3331653056
🐛 https://gradle.com/s/s5gak3ytl6idu

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_core.py::TestConnection::test_check[inputs2] - Failed: DID NOT RA...
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:63: Skipping TestFullRefresh.test_sequential_reads: not found in the config.
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:63: Skipping TestIncremental.test_two_sequential_reads: not found in the config.
============ 1 failed, 25 passed, 2 skipped, 27 warnings in 55.11s =============

@brianjlai
Copy link
Contributor Author

brianjlai commented Oct 26, 2022

i'm actually not sure if source-file-secure is meant to be run in SAT standalone, but given this is trivial i'll try the publish anyway

@brianjlai
Copy link
Contributor Author

brianjlai commented Oct 26, 2022

/publish connector=connectors/source-file-secure

🕑 Publishing the following connectors:
connectors/source-file-secure
https://github.com/airbytehq/airbyte/actions/runs/3331770235


Connector Did it publish? Were definitions generated?
connectors/source-file-secure

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@@ -9,5 +9,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.2.26
LABEL io.airbyte.version=0.2.27
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should also be incrementing FROM airbyte/source-file:0.2.26 to 0.2.27 to correspond to the source-file bump. However, for some reason I haven't been able to figure out immediately, using that version causes a SAT test to fail. The priority is to fix the build pipeline and not introduce a potential security regression so we should use the prior version instead of commenting out the acceptance test.

@brianjlai
Copy link
Contributor Author

brianjlai commented Oct 26, 2022

/publish connector=connectors/source-file-secure

🕑 Publishing the following connectors:
connectors/source-file-secure
https://github.com/airbytehq/airbyte/actions/runs/3332286523


Connector Did it publish? Were definitions generated?
connectors/source-file-secure

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@artem1205 artem1205 force-pushed the brian/bump-file-secure branch from c840c77 to 9f691de Compare October 27, 2022 08:51
@artem1205
Copy link
Collaborator

artem1205 commented Oct 27, 2022

/test connector=connectors/source-file-secure

🕑 connectors/source-file-secure https://github.com/airbytehq/airbyte/actions/runs/3335933015
✅ connectors/source-file-secure https://github.com/airbytehq/airbyte/actions/runs/3335933015
Python tests coverage:

Name                                                                                                        Stmts   Miss  Cover
-------------------------------------------------------------------------------------------------------------------------------
source_file_secure/__init__.py                                                                                  2      0   100%
/actions-runner/_work/airbyte/airbyte/airbyte-integrations/connectors/source-file/source_file/__init__.py       2      0   100%
source_file_secure/source.py                                                                                   45     10    78%
/actions-runner/_work/airbyte/airbyte/airbyte-integrations/connectors/source-file/source_file/utils.py          9      4    56%
/actions-runner/_work/airbyte/airbyte/airbyte-integrations/connectors/source-file/source_file/source.py        75     46    39%
/actions-runner/_work/airbyte/airbyte/airbyte-integrations/connectors/source-file/source_file/client.py       273    208    24%
-------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                                                         406    268    34%
	 Name                                                 Stmts   Miss  Cover   Missing
	 ----------------------------------------------------------------------------------
	 source_acceptance_test/base.py                          12      4    67%   16-19
	 source_acceptance_test/config.py                       125      7    94%   85-87, 91-93, 221
	 source_acceptance_test/conftest.py                     167    167     0%   6-287
	 source_acceptance_test/plugin.py                        69     25    64%   22-23, 31, 36, 120-140, 144-148
	 source_acceptance_test/tests/test_core.py              338    111    67%   39, 50-58, 63-70, 74-75, 79-80, 164, 202-219, 228-236, 240-245, 251, 284-289, 327-334, 377-379, 382, 443-452, 483-484, 490, 493, 526-536, 549-574, 579-583
	 source_acceptance_test/tests/test_incremental.py       145     20    86%   21-23, 29-31, 36-43, 48-61, 224
	 source_acceptance_test/utils/asserts.py                 37      2    95%   57-58
	 source_acceptance_test/utils/common.py                  77     10    87%   15-16, 24-30, 64, 67
	 source_acceptance_test/utils/compare.py                 62     23    63%   21-51, 68, 97-99
	 source_acceptance_test/utils/config_migration.py        23     23     0%   5-37
	 source_acceptance_test/utils/connector_runner.py       112     50    55%   23-26, 32, 36, 39-68, 71-73, 76-78, 81-83, 86-88, 91-93, 96-114, 148-150
	 source_acceptance_test/utils/json_schema_helper.py     105     13    88%   30-31, 38, 41, 65-68, 96, 120, 190-192
	 ----------------------------------------------------------------------------------
	 TOTAL                                                 1451    455    69%

Build Passed

Test summary info:

=========================== short test summary info ============================
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:63: Skipping TestFullRefresh.test_sequential_reads: not found in the config.
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:63: Skipping TestIncremental.test_two_sequential_reads: not found in the config.
================= 26 passed, 2 skipped, 27 warnings in 39.64s ==================

@artem1205
Copy link
Collaborator

artem1205 commented Oct 27, 2022

/publish connector=connectors/source-file-secure

🕑 Publishing the following connectors:
connectors/source-file-secure
https://github.com/airbytehq/airbyte/actions/runs/3336171693


Connector Did it publish? Were definitions generated?
connectors/source-file-secure

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@artem1205 artem1205 closed this Oct 28, 2022
@brianjlai brianjlai deleted the brian/bump-file-secure branch August 16, 2023 19:04
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.

4 participants