Skip to content

Commit 4551411

Browse files
update scheduler to use latest GIE (#179)
* updated to latest GIE version Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * remove internal package from Dockerfil Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * imports order Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * imports Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * Apply suggestions from code review Co-authored-by: Etai Lev Ran <elevran@gmail.com> Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> --------- Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> Co-authored-by: Etai Lev Ran <elevran@gmail.com>
1 parent f9172a9 commit 4551411

31 files changed

+514
-1074
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ COPY go.sum go.sum
1515
# Copy the go source
1616
COPY cmd/ cmd/
1717
COPY pkg/ pkg/
18-
COPY internal/ internal/
1918

2019
# HuggingFace tokenizer bindings
2120
RUN mkdir -p lib
@@ -30,7 +29,7 @@ RUN ranlib lib/*.a
3029
ENV CGO_ENABLED=1
3130
ENV GOOS=${TARGETOS:-linux}
3231
ENV GOARCH=${TARGETARCH}
33-
RUN go build -a -o bin/epp -ldflags="-extldflags '-L$(pwd)/lib'" cmd/epp/main.go cmd/epp/health.go
32+
RUN go build -a -o bin/epp -ldflags="-extldflags '-L$(pwd)/lib'" cmd/epp/main.go
3433

3534
# Use ubi9 as a minimal base image to package the manager binary
3635
# Refer to https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5 for more details

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ lint: check-golangci-lint ## Run lint
7777
.PHONY: build
7878
build: check-go download-tokenizer ##
7979
@printf "\033[33;1m==== Building ====\033[0m\n"
80-
go build -ldflags="$(LDFLAGS)" -o bin/epp cmd/epp/main.go cmd/epp/health.go
80+
go build -ldflags="$(LDFLAGS)" -o bin/epp cmd/epp/main.go
8181

8282
##@ Container Build/Push
8383

cmd/epp/health.go

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)