File tree Expand file tree Collapse file tree
main/java/feast/serving/service/config
test/resources/docker-compose/feast10 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ jobs:
124124 with :
125125 path : ${{ steps.uv-cache.outputs.dir }}
126126 key : ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
127+
127128 - name : Install Python dependencies
128129 run : make install-python-ci-dependencies-uv
129130 - uses : actions/cache@v4
Original file line number Diff line number Diff line change @@ -41,9 +41,14 @@ Storage googleStorage(ApplicationProperties applicationProperties) {
4141
4242 @ Provides
4343 public AmazonS3 awsStorage (ApplicationProperties applicationProperties ) {
44- return AmazonS3ClientBuilder .standard ()
45- .withRegion (applicationProperties .getFeast ().getAwsRegion ())
46- .build ();
44+ AmazonS3ClientBuilder builder = AmazonS3ClientBuilder .standard ();
45+ String region = applicationProperties .getFeast ().getAwsRegion ();
46+
47+ if (region != null ) {
48+ builder = builder .withRegion (region );
49+ }
50+
51+ return builder .build ();
4752 }
4853
4954 @ Provides
Original file line number Diff line number Diff line change 11FROM python:3.11
22
33WORKDIR /app
4- COPY java/serving/src/test/resources/docker-compose/feast10/ .
54COPY sdk/python /mnt/feast/sdk/python
65COPY protos /mnt/feast/protos
76COPY setup.py /mnt/feast/setup.py
87COPY pyproject.toml /mnt/feast/pyproject.toml
98COPY README.md /mnt/feast/README.md
10- RUN cd /mnt/feast && SETUPTOOLS_SCM_PRETEND_VERSION="0.1.0" pip install .[grpcio,redis]
9+ COPY Makefile /mnt/feast/Makefile
10+ ENV SETUPTOOLS_SCM_PRETEND_VERSION=0.1.0
11+ RUN pip install uv
12+ RUN cd /mnt/feast && uv pip install --system .[grpcio,redis]
13+ COPY java/serving/src/test/resources/docker-compose/feast10/ .
1114EXPOSE 8080
1215
1316CMD ["./entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments