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
yum clean all
after every yum install to save space
#27555
Conversation
Before Merging a Connector Pull RequestWow! 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:
If the checklist is complete, but the CI check is failing,
|
@evantahler these changes will have no effect on java connectors. They need to happen on the dagger code here |
Affected Connector ReportNOTE
|
Connector | Version | Changelog | Publish |
---|
- See "Actionable Items" below for how to resolve warnings and errors.
❌ Destinations (13)
Connector | Version | Changelog | Publish |
---|---|---|---|
destination-bigquery |
1.4.5 |
✅ | ❌ (diff seed version) |
destination-bigquery-denormalized |
1.4.1 |
✅ | ✅ |
destination-clickhouse |
0.2.5 |
✅ | ❌ (diff seed version) |
destination-clickhouse-strict-encrypt |
0.2.5 |
🔵 (ignored) |
🔵 (ignored) |
destination-databricks |
1.1.0 |
✅ | ✅ |
destination-mssql |
0.1.25 |
✅ | ❌ (diff seed version) |
destination-mssql-strict-encrypt |
0.1.25 |
🔵 (ignored) |
🔵 (ignored) |
destination-redshift |
0.4.9 |
✅ | ❌ (diff seed version) |
destination-s3 |
0.4.2 |
✅ | ❌ (diff seed version) |
destination-s3-glue |
0.1.7 |
✅ | ✅ |
destination-snowflake |
1.0.6 |
✅ | ❌ (diff seed version) |
destination-starburst-galaxy |
0.0.1 |
✅ | ✅ |
destination-tidb |
0.1.4 |
✅ | ❌ (diff seed version) |
- See "Actionable Items" below for how to resolve warnings and errors.
👀 Other Modules (1)
- base-normalization
Actionable Items
(click to expand)
Category | Status | Actionable Item |
---|---|---|
Version | ❌ mismatch |
The version of the connector is different from its normal variant. Please bump the version of the connector. |
⚠ doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
|
Changelog | ⚠ doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
❌ changelog missing |
There is no chnagelog for the current version of the connector. If you are the author of the current version, please add a changelog. | |
Publish | ⚠ not in seed |
The connector is not in the cloud or oss registry, so its publication status cannot be checked. This can be normal (e.g. some connectors are cloud-specific, and only listed in the cloud seed file). Please double-check to make sure that you have added a metadata.yaml file and the expected registries are enabled. |
Umm... why is the formatter messing with gradle code and removing things? 33f4c92 |
52d36e2
to
3074020
Compare
The formatter is doing crazy things. 3074020 is the last commit I intended |
0fea05d
to
3074020
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.
I think this PR is ready for review.
@alafanechere - I'm surprised that none of the connector tests ran, given that I changed their metadata files. That said, it looks like the base build did at least build all the effected java connectors
Now that the PR is ready-for-review, the tests should run :D
@@ -655,6 +655,7 @@ def with_integration_base_java_and_normalization(context: PipelineContext, build | |||
return ( | |||
with_integration_base_java(context, build_platform) | |||
.with_exec(["yum", "install", "-y"] + yum_packages_to_install) | |||
.with_exec(["yum", "clean", "all"]) |
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.
Isn't it cool to make a single line of code change that impacts all java connectors 😄
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.
VERY COOL
destination-redshift test report (commit
|
Step | Result |
---|---|
Validate airbyte-integrations/connectors/destination-redshift/metadata.yaml | ✅ |
Connector version semver check. | ✅ |
Connector version increment check. | ✅ |
QA checks | ✅ |
Build connector tar | ✅ |
Build destination-redshift docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Build airbyte/normalization-redshift:dev | ✅ |
Integration tests | ✅ |
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=destination-redshift test
destination-s3 test report (commit
|
Step | Result |
---|---|
Validate airbyte-integrations/connectors/destination-s3/metadata.yaml | ✅ |
Connector version semver check. | ✅ |
Connector version increment check. | ✅ |
QA checks | ✅ |
Build connector tar | ✅ |
Build destination-s3 docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
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=destination-s3 test
destination-mssql-strict-encrypt test report (commit
|
Step | Result |
---|---|
Validate airbyte-integrations/connectors/destination-mssql-strict-encrypt/metadata.yaml | ✅ |
Connector version semver check. | ✅ |
Connector version increment check. | ✅ |
QA checks | ✅ |
Build connector tar | ✅ |
Build destination-mssql-strict-encrypt docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Build airbyte/normalization-mssql:dev | ✅ |
Integration tests | ❌ |
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=destination-mssql-strict-encrypt test
@evantahler the
https://alpha.dagger.cloud/runs/28d8e3da-21ea-47d5-b077-796452fc0157 |
Wild. Well... nothing that was added in this PR would have changed that... either the docker image would build... or not. I'm getting enough signal that the images are building OK, so I'm going to merge this PR |
This PR expands on #27543, closes #27543
After every time we
yum install
a package, we should alsoyum clean all
so that we reclaim any space in the docker image yum used to cache packages, headers, and such. When possible, this should be done in the sameRUN
command, so there isn't a big image layer that needs to be cached and then removedIf the connector tests build, then I think this PR should be OK. We should publish new versions of these connectors with the smaller images