Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e4cf146
Merge pull request #1 from kserve/main
anishasthana Nov 8, 2022
94710c7
Merge pull request #2 from kserve/main
Jooho Feb 28, 2023
461a42a
Merge pull request #6 from kserve/main
Jooho Mar 27, 2023
bc5ceb3
Merge pull request #2 from VedantMahabaleshwarkar/rhodsmain
taneem-ibrahim Mar 28, 2023
8557ab0
Add modelmesh version
Jooho Mar 31, 2023
64d40cc
Merge pull request #8 from Jooho/add-version-main
Jooho Mar 31, 2023
3cc806c
Updating owners to current maintainers
heyselbi Apr 14, 2023
3885f45
Merge pull request #10 from heyselbi/main
heyselbi Apr 17, 2023
d1729de
updating owners to current maintainers
heyselbi Apr 17, 2023
8505b1d
Merge pull request #3 from heyselbi/main
israel-hdez Apr 18, 2023
4778022
Merge branch 'main' into main
Jooho May 1, 2023
f85fcff
Merge pull request #11 from red-hat-data-services/main
Jooho May 1, 2023
55d3908
add develop files for openshift-ci
Jooho May 3, 2023
ed5b722
Merge pull request #12 from opendatahub-io/openshift-ci
Jooho May 3, 2023
50dea10
add develop files for openshift-ci
Jooho May 3, 2023
1e153d0
Merge pull request #13 from Jooho/openshift-ci
Jooho May 3, 2023
34199b1
Update Dockerfile.develop for modelmesh-serving
Jooho May 8, 2023
e6d55e1
Merge pull request #17 from opendatahub-io/Jooho-patch-1
openshift-merge-robot May 9, 2023
12dda5b
Sync upstream v0.11.0-rc0
Jooho Jun 6, 2023
021eaec
Update go.mod/go.sum/Dockerfile.develop files from modelmesh-serving …
Jooho Jun 6, 2023
f7ddbd9
Merge pull request #18 from Jooho/20230605_sync_main
Jooho Jun 9, 2023
11e56ba
Merge branch 'kserve_main' into 20230626_sync_main
vaibhavjainwiz Jun 26, 2023
bea8ea8
Merge pull request #27 from kserve/main
heyselbi Jul 11, 2023
7f33789
Merge branch 'kserve:main' into main
vaibhavjainwiz Aug 24, 2023
b63cb9b
Adjust Dockerfile to be more friendly with openshift-ci
israel-hdez Aug 30, 2023
1d2deb3
Merge pull request #32 from israel-hdez/fix-for-ci-build
Jooho Aug 31, 2023
a021b58
CI cleanup
israel-hdez Sep 4, 2023
73beb20
Merge pull request #33 from israel-hdez/ci-cleanup
openshift-merge-robot Sep 5, 2023
89b7b29
fix: upgrade com.datadoghq:java-dogstatsd-client from 2.7 to 2.13.1
snyk-bot Oct 20, 2023
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
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
.cache
.dockerignore
.env
.git
.github
.gitignore
.idea
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build
on:
pull_request:
branches:
- main
- "release-[0-9].[0-9]+"
paths-ignore:
- "**.md"
Expand Down
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
repos:
- repo: https://github.com/golangci/golangci-lint
rev: v1.43.0
hooks:
- id: golangci-lint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.4.1
hooks:
- id: prettier
20 changes: 14 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
tar \
gzip \
maven \
git \
&& true

# Install etcd -- used for CI tests
Expand Down Expand Up @@ -74,6 +75,11 @@ ENV MAVEN_OPTS="-Dfile.encoding=UTF8"
RUN --mount=type=cache,target=/root/.m2 \
mvn -B package -DskipTests=true --file pom.xml

# Assume that source code comes from a Git repository
RUN echo "$(date '+%Y%m%d')-$(git rev-parse HEAD | cut -c -5)" > target/dockerhome/build-version && \
echo "$(git rev-parse HEAD)" > target/dockerhome/release && \
echo "$(git branch --show-current|sed 's/^release-//g')-$(git branch --show-current)_$(date '+%Y%m%d')-$(git rev-parse HEAD | cut -c -5)" > target/dockerhome/version


###############################################################################
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.6 AS runtime
Expand All @@ -97,6 +103,7 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
&& true

COPY --from=build /build/target/dockerhome/ /opt/kserve/mmesh/
COPY version /etc/modelmesh-version

# Make this the current directory when starting the container
WORKDIR /opt/kserve/mmesh
Expand All @@ -123,18 +130,19 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \

# wait to create commit-specific LABEL until end of the build to not unnecessarily
# invalidate the cached image layers
ARG imageVersion
ARG buildId
ARG commitSha
# ARG imageVersion
# ARG buildId
# ARG commitSha

RUN echo "${buildId}" > /opt/kserve/mmesh/build-version
# Generated at build stage
# RUN echo "${buildId}" > /opt/kserve/mmesh/build-version

LABEL name="model-mesh" \
vendor="KServe" \
version="${imageVersion}" \
# version="${imageVersion}" \
summary="Core model-mesh sidecar image" \
description="Model-mesh is a distributed LRU cache for serving runtime models" \
release="${commitSha}" \
# release="${commitSha}" \
maintainer="nickhill@us.ibm.com"

EXPOSE 8080
Expand Down
25 changes: 16 additions & 9 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
approvers:
- njhill
- tjohnson31415
- anishasthana
- danielezonca
- heyselbi
- israel-hdez
- Jooho
- vaibhavjainwiz
- VedantMahabaleshwarkar
- Xaenalt
reviewers:
- njhill
- tjohnson31415
- ckadner
- rafvasq
emeritus_approvers:
- animeshsingh # 2023-04-12
- pvaneck # 2023-04-12
- anishasthana
- danielezonca
- heyselbi
- israel-hdez
- Jooho
- vaibhavjainwiz
- VedantMahabaleshwarkar
- Xaenalt
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</scm>

<properties>
<BUILD_NUMBER></BUILD_NUMBER>
<BUILD_NUMBER/>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
<build.timestamp>${maven.build.timestamp}</build.timestamp>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -271,7 +271,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
Expand Down Expand Up @@ -399,7 +399,7 @@
<dependency>
<groupId>com.datadoghq</groupId>
<artifactId>java-dogstatsd-client</artifactId>
<version>2.7</version>
<version>2.13.1</version>
<exclusions>
<!-- This is only needed for UDS channels,
and brings in a bunch of transitive deps -->
Expand Down
4 changes: 4 additions & 0 deletions version
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Version information
upstream kserve/modelmesh version: v0.11.0-rc0
opendatahub version: latest
opendatahub modelmesh branch: main