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

airbyte-ci: set user to airbyte on connector build #36545

Conversation

alafanechere
Copy link
Contributor

@alafanechere alafanechere commented Mar 27, 2024

This PRs changes the connector build logic to set the user to airbyte.

Copy link

vercel bot commented Mar 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2024 8:49am

Copy link
Contributor Author

alafanechere commented Mar 27, 2024

@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from 1e27a25 to 95e918c Compare March 27, 2024 13:51
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 6ad134c to 4919dad Compare March 27, 2024 13:53
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 4919dad to 5600ff1 Compare March 27, 2024 14:01
@alafanechere alafanechere marked this pull request as ready for review March 27, 2024 14:01
@alafanechere alafanechere requested a review from a team as a March 27, 2024 14:01
@alafanechere alafanechere changed the title airbyte-ci: set user to airbyte on python connector build airbyte-ci: set user to airbyte on connector build Mar 27, 2024
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch 2 times, most recently from 7cecf9b to cd91318 Compare March 27, 2024 17:09
Comment on lines 180 to 188
connector_container = (
connector_container.with_exec(["chown", "-R", user, "/airbyte"], skip_entrypoint=True)
.with_exec(["chmod", "777", "/tmp"], skip_entrypoint=True)
.with_user(user)
)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not entirely sure why this is needed (shouldn't every user have r/w access to /tmp?), but it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought too, but I faced permission denied errors while writing to /tmp during the integration test run on S3

@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from 95e918c to 13f5b18 Compare March 28, 2024 08:33
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch 5 times, most recently from b4b3a6e to 664d070 Compare March 28, 2024 09:13
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from 13f5b18 to 1eef8aa Compare June 6, 2024 12:30
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 664d070 to 2f22c17 Compare June 6, 2024 12:30
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 2f22c17 to c58de87 Compare June 6, 2024 12:35
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from 1eef8aa to c16bb07 Compare June 7, 2024 17:13
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from c58de87 to 4098ec8 Compare June 7, 2024 17:13
Copy link
Contributor

@natikgadzhi natikgadzhi left a comment

Choose a reason for hiding this comment

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

I am assuming that @bgroff is correct that platform will be able to run rootless images and there are no backward compatibility concerns.

@octavia-squidington-iv octavia-squidington-iv requested a review from a team June 10, 2024 18:37
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from c16bb07 to c402324 Compare June 26, 2024 00:11
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 4098ec8 to d38831b Compare June 26, 2024 00:12
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from c402324 to c12d318 Compare June 26, 2024 04:24
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from d38831b to 074b7ea Compare June 26, 2024 04:24
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from c12d318 to c1d53e3 Compare November 20, 2024 13:41
@alafanechere alafanechere requested a review from a team as a code owner November 20, 2024 13:41
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 074b7ea to 66652de Compare November 20, 2024 13:41
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from c1d53e3 to f7a67a8 Compare November 20, 2024 14:46
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 66652de to 7767ae8 Compare November 20, 2024 14:47
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch 3 times, most recently from 4b07f83 to 55fdc63 Compare November 21, 2024 12:19
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from a2280fd to b924361 Compare November 22, 2024 08:02
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 881ef6c to a49ee0b Compare November 22, 2024 08:03
@octavia-squidington-iii octavia-squidington-iii removed the area/connectors Connector related issues label Nov 22, 2024
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from b924361 to 94a4b4f Compare November 22, 2024 08:05
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from a49ee0b to 5750e7c Compare November 22, 2024 08:05
@alafanechere alafanechere force-pushed the augustin/03-27-Python_base_image_create_airbyte_user branch from 94a4b4f to 17ef12f Compare November 22, 2024 08:10
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from 5750e7c to dfa8a79 Compare November 22, 2024 08:10
Copy link
Contributor Author

alafanechere commented Nov 22, 2024

Merge activity

  • Nov 22, 3:42 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Nov 22, 3:49 AM EST: Graphite rebased this pull request as part of a merge.
  • Nov 22, 3:50 AM EST: A user merged this pull request with Graphite.

@alafanechere alafanechere changed the base branch from augustin/03-27-Python_base_image_create_airbyte_user to graphite-base/36545 November 22, 2024 08:44
@alafanechere alafanechere changed the base branch from graphite-base/36545 to master November 22, 2024 08:47
@alafanechere alafanechere force-pushed the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch from dfa8a79 to de8d7ef Compare November 22, 2024 08:49
@alafanechere alafanechere merged commit 6ecc2ac into master Nov 22, 2024
25 of 28 checks passed
@alafanechere alafanechere deleted the augustin/03-27-airbyte-ci_set_user_to_airbyte_on_python_connector_build branch November 22, 2024 08:51
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