-
Notifications
You must be signed in to change notification settings - Fork 17
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
Conversation
Signed-off-by: xieydd <[email protected]>
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
recheck |
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
file: ./docker/pg-slim/Dockerfile | ||
build-args: | | ||
PG_MAJOR=${{ matrix.version }} | ||
tags: modelzai/pg-slim:${{ matrix.version }}-${{ matrix.platform }} |
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.
Should we use a new name here?
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.
No need, this is basically immutable.
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.
Why do we need the pg_slim in this repo since it already exists in pgvecto.rs?
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.
We can only maintain it in this repository, the pgvecto.rs repository will be deleted.
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.
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?
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.
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
.
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
Signed-off-by: xieydd <[email protected]>
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. |
No description provided.