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 enterprise image build step to ci #114

Merged
merged 11 commits into from
Nov 27, 2024
Merged

add enterprise image build step to ci #114

merged 11 commits into from
Nov 27, 2024

Conversation

xieydd
Copy link
Member

@xieydd xieydd commented Nov 22, 2024

No description provided.

Copy link

github-actions bot commented Nov 22, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@xieydd
Copy link
Member Author

xieydd commented Nov 22, 2024

I have read the CLA Document and I hereby sign the CLA

@xieydd
Copy link
Member Author

xieydd commented Nov 22, 2024

recheck

Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
@xieydd xieydd requested a review from kemingy November 23, 2024 12:21
docker/pg-cnpg/Dockerfile Outdated Show resolved Hide resolved
docker/pg-cnpg/Dockerfile Show resolved Hide resolved
docker/pg-cnpg/Dockerfile Show resolved Hide resolved
file: ./docker/pg-slim/Dockerfile
build-args: |
PG_MAJOR=${{ matrix.version }}
tags: modelzai/pg-slim:${{ matrix.version }}-${{ matrix.platform }}
Copy link
Member

Choose a reason for hiding this comment

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

Should we use a new name here?

Copy link
Member Author

Choose a reason for hiding this comment

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

No need, this is basically immutable.

Copy link
Member

Choose a reason for hiding this comment

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

Why do we need the pg_slim in this repo since it already exists in pgvecto.rs?

Copy link
Member Author

Choose a reason for hiding this comment

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

We can only maintain it in this repository, the pgvecto.rs repository will be deleted.

Copy link
Member

Choose a reason for hiding this comment

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

What does pg-slim do? It looks like a compiled postgres for docker usage. I think it's not related to the extension and will not be released with the extension. Can we create another repo or use the cnpg repo?

Copy link
Member Author

Choose a reason for hiding this comment

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

We need to specify the datarootdir and libdir in mutable storage during the Postgres building, as the lib folder in our cluster is mounted on an EBS, so it is mutable, rather than in the immutable directory of the default Postgres image. This is mainly determined by the Kubernetes security context readOnlyRootFilesystem.

.github/workflows/trunk-install-test.yml Outdated Show resolved Hide resolved
docker/pg-cnpg/trunk-install.sh Outdated Show resolved Hide resolved
docker/pg-slim/Dockerfile Outdated Show resolved Hide resolved
docker/pg-slim/Dockerfile Outdated Show resolved Hide resolved
@xieydd xieydd requested a review from kemingy November 25, 2024 07:32
Signed-off-by: xieydd <[email protected]>
@kemingy
Copy link
Member

kemingy commented Nov 25, 2024

Other parts LGTM.

Shall we move the pg-slim to another repo? cc @gaocegege

@xieydd xieydd requested review from kemingy and gaocegege November 25, 2024 08:05
@gaocegege
Copy link
Member

Other parts LGTM.

Shall we move the pg-slim to another repo? cc @gaocegege

In the best case, we should maintain it in a separate repo. But I am OK with this.

@gaocegege gaocegege merged commit 45c573b into main Nov 27, 2024
19 checks passed
@gaocegege gaocegege deleted the enterprise-ci branch November 27, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants