Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 1142ca2

Browse files
uniemimumadalazar
authored andcommitted
version updates for configurator and gas
Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
1 parent c135733 commit 1142ca2

File tree

7 files changed

+69
-124
lines changed

7 files changed

+69
-124
lines changed

configurator/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Copyright (C) 2023 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM golang:1.19 as builder
4+
ARG GO_VERSION
5+
FROM golang:${GO_VERSION} as builder
56
ARG GOLICENSES_VERSION
67
ARG LOCAL_LICENSES
78
COPY . /src_root

configurator/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
GO_VERSION = 1.19
21
IMAGE_TAG = latest
32
ifneq ($(TAG),)
43
IMAGE_TAG = $(TAG)
54
endif
65

6+
GO_VERSION = 1.20
77
GOLICENSES_VERSION?=v1.6.0
88

99
BUILD_OUTPUT_DIR?=./bin
@@ -40,10 +40,12 @@ update-baseimage:
4040

4141
containerized-build: update-baseimage
4242
DOCKER_BUILDKIT=1 docker build -o - --build-arg GOLICENSES_VERSION=$(GOLICENSES_VERSION) \
43-
--build-arg LOCAL_LICENSES=$(LOCAL_LICENSES) -f Dockerfile ../ -t $(IMAGE_PATH)pas-configurator:$(IMAGE_TAG) | tar x bin/configurator
43+
--build-arg GO_VERSION=$(GO_VERSION) --build-arg LOCAL_LICENSES=$(LOCAL_LICENSES) \
44+
-f Dockerfile ../ -t $(IMAGE_PATH)pas-configurator:$(IMAGE_TAG) | tar x bin/configurator
4445

4546
image: update-baseimage
46-
docker build --build-arg GOLICENSES_VERSION=$(GOLICENSES_VERSION) --build-arg LOCAL_LICENSES=$(LOCAL_LICENSES) \
47+
docker build --build-arg GOLICENSES_VERSION=$(GOLICENSES_VERSION) \
48+
--build-arg GO_VERSION=$(GO_VERSION) --build-arg LOCAL_LICENSES=$(LOCAL_LICENSES) \
4749
-f Dockerfile ../ -t $(IMAGE_PATH)pas-configurator:$(IMAGE_TAG)
4850

4951
format:

configurator/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/intel/platform-aware-scheduling/configurator
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/sergi/go-diff v1.3.1

gpu-aware-scheduling/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ifneq ($(TAG),)
22
IMAGE_TAG=:$(TAG)
33
endif
44

5+
GO_VERSION = 1.20
56
GOLICENSES_VERSION?=v1.6.0
67
BUILD_OUTPUT_DIR?=./bin
78

@@ -34,17 +35,18 @@ build:
3435
CGO_ENABLED=0 GO111MODULE=on go build -ldflags="$(LDFLAGS)" -o $(BUILD_OUTPUT_DIR)/extender ./cmd/gas-scheduler-extender
3536

3637
update-baseimage:
37-
docker pull golang:1.19
38+
docker pull golang:$(GO_VERSION)
3839

3940
#note: you can speed up subsequent docker builds by doing "go mod vendor"
4041
#note: you can further speed up subsequent docker builds by doing "make licenses"
4142
image: update-baseimage
42-
docker build --build-arg GOLICENSES_VERSION=$(GOLICENSES_VERSION) --build-arg LOCAL_LICENSES=$(LOCAL_LICENSES) \
43+
docker build --build-arg GOLICENSES_VERSION=$(GOLICENSES_VERSION) \
44+
--build-arg LOCAL_LICENSES=$(LOCAL_LICENSES) --build-arg GO_VERSION=$(GO_VERSION) \
4345
-f deploy/images/Dockerfile ../ -t $(IMAGE_PATH)gpu-extender$(IMAGE_TAG)
4446

4547
release-image: clean update-baseimage
46-
docker build --build-arg GOLICENSES_VERSION=$(GOLICENSES_VERSION) -f deploy/images/Dockerfile ../ \
47-
-t $(IMAGE_PATH)gpu-extender$(IMAGE_TAG)
48+
docker build --build-arg GOLICENSES_VERSION=$(GOLICENSES_VERSION) --build-arg GO_VERSION=$(GO_VERSION) \
49+
-f deploy/images/Dockerfile ../ -t $(IMAGE_PATH)gpu-extender$(IMAGE_TAG)
4850

4951
format:
5052
gofmt -w -s .

gpu-aware-scheduling/deploy/images/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Copyright (C) 2022 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM golang:1.19 as builder
4+
ARG GO_VERSION
5+
FROM golang:${GO_VERSION} as builder
56
ARG GOLICENSES_VERSION
67
ARG LOCAL_LICENSES
78
COPY . /src_root

gpu-aware-scheduling/go.mod

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
module github.com/intel/platform-aware-scheduling/gpu-aware-scheduling
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/intel/platform-aware-scheduling/extender v0.5.0
77
github.com/pkg/errors v0.9.1
8-
github.com/smartystreets/goconvey v1.8.0
9-
github.com/stretchr/testify v1.8.3
10-
k8s.io/api v0.27.2
11-
k8s.io/apimachinery v0.27.2
12-
k8s.io/client-go v0.27.2
8+
github.com/smartystreets/goconvey v1.8.1
9+
github.com/stretchr/testify v1.8.4
10+
k8s.io/api v0.27.4
11+
k8s.io/apimachinery v0.27.4
12+
k8s.io/client-go v0.27.4
1313
k8s.io/klog/v2 v2.100.1
1414
)
1515

@@ -18,9 +18,9 @@ require (
1818
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
1919
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
2020
github.com/go-logr/logr v1.2.4 // indirect
21-
github.com/go-openapi/jsonpointer v0.19.6 // indirect
21+
github.com/go-openapi/jsonpointer v0.20.0 // indirect
2222
github.com/go-openapi/jsonreference v0.20.2 // indirect
23-
github.com/go-openapi/swag v0.22.3 // indirect
23+
github.com/go-openapi/swag v0.22.4 // indirect
2424
github.com/gogo/protobuf v1.3.2 // indirect
2525
github.com/golang/protobuf v1.5.3 // indirect
2626
github.com/google/gnostic v0.6.9 // indirect
@@ -37,25 +37,24 @@ require (
3737
github.com/modern-go/reflect2 v1.0.2 // indirect
3838
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
3939
github.com/pmezard/go-difflib v1.0.0 // indirect
40-
github.com/smartystreets/assertions v1.13.1 // indirect
40+
github.com/smarty/assertions v1.15.1 // indirect
4141
github.com/spf13/pflag v1.0.5 // indirect
4242
github.com/stretchr/objx v0.5.0 // indirect
43-
golang.org/x/mod v0.10.0 // indirect
44-
golang.org/x/net v0.10.0 // indirect
45-
golang.org/x/oauth2 v0.8.0 // indirect
46-
golang.org/x/sys v0.8.0 // indirect
47-
golang.org/x/term v0.8.0 // indirect
48-
golang.org/x/text v0.9.0 // indirect
43+
golang.org/x/net v0.13.0 // indirect
44+
golang.org/x/oauth2 v0.10.0 // indirect
45+
golang.org/x/sys v0.10.0 // indirect
46+
golang.org/x/term v0.10.0 // indirect
47+
golang.org/x/text v0.11.0 // indirect
4948
golang.org/x/time v0.3.0 // indirect
50-
golang.org/x/tools v0.9.1 // indirect
49+
golang.org/x/tools v0.11.1 // indirect
5150
google.golang.org/appengine v1.6.7 // indirect
52-
google.golang.org/protobuf v1.30.0 // indirect
51+
google.golang.org/protobuf v1.31.0 // indirect
5352
gopkg.in/inf.v0 v0.9.1 // indirect
5453
gopkg.in/yaml.v2 v2.4.0 // indirect
5554
gopkg.in/yaml.v3 v3.0.1 // indirect
5655
k8s.io/kube-openapi v0.0.0-20230525220651-2546d827e515 // indirect
5756
k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect
5857
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
59-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
58+
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
6059
sigs.k8s.io/yaml v1.3.0 // indirect
6160
)

0 commit comments

Comments
 (0)