-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: correct mounted volumes ownership #51582
airbyte-ci: correct mounted volumes ownership #51582
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. |
a2a0c17
to
63313ab
Compare
63313ab
to
846b12f
Compare
846b12f
to
a0c9414
Compare
3580a7a
to
86aca90
Compare
a1a3906
to
dc96eaa
Compare
dc96eaa
to
4660e5a
Compare
# Make sure the user has access to /tmp | ||
customized_connector = customized_connector.with_exec(["chown", "-R", f"{user}:{user}", "/tmp"]) |
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.
👍🏻
| 4.48.9 | [#51609](https://github.com/airbytehq/airbyte/pull/51609) | Fix typo in `migrate-to-inline-schemas` command | | ||
| 4.48.8 | [#51582](https://github.com/airbytehq/airbyte/pull/51582) | Fix ownership of shared cache volume for non root 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.
Aren't your changes 4.48.9? These logs seem to be in reverse order.
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.
These changes make sense to me, I just left a nit comment for the documentation police 👮🏻♂️
4660e5a
to
518aeed
Compare
This pull request includes several changes to improve the handling of Docker environments and permissions in the Airbyte CI pipelines. The most important changes include making functions asynchronous, ensuring proper permissions for the
/tmp
directory, and adding logging for storage driver selection.Improvements to Docker environment handling:
airbyte-ci/connectors/pipelines/pipelines/dagger/actions/system/docker.py
: Modified multiple functions (with_bound_docker_host
,with_docker_cli
,load_image_to_docker_host
) to be asynchronous to be able to fetch the current image user. [1] [2] [3] [4]airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/steps/gradle.py
: Updated thegradle_container
to use the asynchronous version ofwith_bound_docker_host
.airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/python_connectors.py
: Updated thetest_environment
to use the asynchronous version ofwith_bound_docker_host
.Permissions and logging improvements:
airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/build_image/steps/python_connectors.py
: Ensured the user has access to the/tmp
directory by changing its ownership.airbyte-ci/connectors/pipelines/pipelines/dagger/actions/system/docker.py
: Added logging to indicate the storage driver being used based on the operating system.airbyte-ci/connectors/pipelines/pipelines/dagger/actions/system/docker.py
: Ensured the/tmp
directory and Docker volumes are properly owned by theairbyte
user and have appropriate permissions.