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

Add airbyte rock #12

Merged
merged 12 commits into from
Oct 15, 2024
Merged

Add airbyte rock #12

merged 12 commits into from
Oct 15, 2024

Conversation

kelkawi-a
Copy link
Collaborator

@kelkawi-a kelkawi-a commented Sep 4, 2024

This PR builds the Airbyte webapp from source using Rockcraft, and builds the Airbyte UI charm with it.

@kelkawi-a kelkawi-a force-pushed the ui-rock branch 5 times, most recently from da4d4f0 to 4a0dcb4 Compare September 4, 2024 15:34
@kelkawi-a kelkawi-a force-pushed the ui-rock branch 21 times, most recently from 9d78d17 to 8205eb4 Compare September 6, 2024 20:39
@kelkawi-a kelkawi-a marked this pull request as ready for review October 7, 2024 09:22
Copy link

@AmberCharitos AmberCharitos left a comment

Choose a reason for hiding this comment

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

Looks great! Some small suggestions/questions.

airbyte_ui_rock/rockcraft.yaml Show resolved Hide resolved
airbyte_ui_rock/rockcraft.yaml Outdated Show resolved Hide resolved
airbyte_ui_rock/rockcraft.yaml Outdated Show resolved Hide resolved
override: replace
summary: "airbyte-webapp service"
startup: disabled
command: "/usr/bin/pnpm -C airbyte-webapp start"

Choose a reason for hiding this comment

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

question: any reason this needs to be executed by the root user? And not set up permissions as outlined here: https://discourse.ubuntu.com/t/unifying-user-identity-across-snaps-and-rocks/36469

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can't think of a specific reason. Once I set permissions, would I run it as /bin/pnpm?

Choose a reason for hiding this comment

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

You'd run it the same way, it would just be run by the daemon user as opposed to root.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As per MM conversation, this seems to have introduced a permission issue with the staged binaries. Will defer for now.

Copy link

@gtato gtato left a comment

Choose a reason for hiding this comment

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

agree with amber's comments

Copy link

@linostar linostar left a comment

Choose a reason for hiding this comment

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

Looks good to me. I added a couple of minor comments.

airbyte_ui_rock/rockcraft.yaml Outdated Show resolved Hide resolved
airbyte_ui_rock/rockcraft.yaml Outdated Show resolved Hide resolved
@kelkawi-a kelkawi-a merged commit 8e8012e into main Oct 15, 2024
17 checks passed
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.

5 participants