Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ module.exports = {
"infra/charts/**/*.*",
"infra/feast-operator/**/*",
"ui/package.json",
"sdk/python/feast/infra/feature_servers/multicloud/requirements.txt",
"sdk/python/feast/ui/package.json",
"sdk/python/feast/ui/yarn.lock"
"sdk/python/feast/infra/feature_servers/multicloud/requirements.txt"
],
message: "chore(release): release ${nextRelease.version}\n\n${nextRelease.notes}"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM registry.access.redhat.com/ubi9/python-312-minimal:latest

USER 0
RUN microdnf install -y npm git gcc libpq-devel python3.12-devel && microdnf clean all
RUN npm install -g yarn yalc && rm -rf .npm
RUN microdnf module enable -y nodejs:22 && \
microdnf install -y nodejs npm git make gcc libpq-devel python3.12-devel && \
microdnf clean all
RUN npm install -g yarn && rm -rf .npm
USER 1001

COPY --chown=1001:0 .git ${APP_ROOT}/src/.git
Expand All @@ -11,22 +13,12 @@ COPY --chown=1001:0 protos ${APP_ROOT}/src/protos
COPY --chown=1001:0 ui ${APP_ROOT}/src/ui
COPY --chown=1001:0 sdk/python ${APP_ROOT}/src/sdk/python

WORKDIR ${APP_ROOT}/src/ui
RUN npm install && \
npm run build:lib-dev && \
rm -rf node_modules && \
npm cache clean --force

WORKDIR ${APP_ROOT}/src/sdk/python/feast/ui
RUN yalc add @feast-dev/feast-ui && \
git diff package.json && \
yarn install && \
npm run build --omit=dev && \
rm -rf node_modules && \
WORKDIR ${APP_ROOT}/src
RUN make build-ui && \
rm -rf ui/node_modules ui/build && \
npm cache clean --force && \
yarn cache clean --all

WORKDIR ${APP_ROOT}/src
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
ENV UV_CACHE_DIR=/tmp/uv-cache
RUN uv pip install --require-hashes --no-deps -r sdk/python/requirements/py3.12-minimal-requirements.txt
Expand Down
1 change: 0 additions & 1 deletion sdk/python/feast/ui/.yarnrc

This file was deleted.

50 changes: 0 additions & 50 deletions sdk/python/feast/ui/README.md

This file was deleted.

66 changes: 0 additions & 66 deletions sdk/python/feast/ui/package.json

This file was deleted.

Binary file removed sdk/python/feast/ui/public/favicon.ico
Binary file not shown.
Binary file not shown.
Binary file removed sdk/python/feast/ui/public/feast-favicon-36x36.png
Binary file not shown.
46 changes: 0 additions & 46 deletions sdk/python/feast/ui/public/index.html

This file was deleted.

25 changes: 0 additions & 25 deletions sdk/python/feast/ui/public/manifest.json

This file was deleted.

11 changes: 0 additions & 11 deletions sdk/python/feast/ui/public/projects-list.json

This file was deleted.

3 changes: 0 additions & 3 deletions sdk/python/feast/ui/public/robots.txt

This file was deleted.

13 changes: 0 additions & 13 deletions sdk/python/feast/ui/src/index.css

This file was deleted.

12 changes: 0 additions & 12 deletions sdk/python/feast/ui/src/index.tsx

This file was deleted.

Loading
Loading