mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
ci: update tool versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
205f9430aa
commit
cd068c797a
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -9,9 +9,9 @@ on:
|
|||||||
- master
|
- master
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
env:
|
env:
|
||||||
RUNC_VERSION: v1.0.0-rc90
|
RUNC_VERSION: v1.0.0-rc92
|
||||||
CRIO_VERSION: v1.18.2
|
CRIO_VERSION: v1.18.2
|
||||||
GO_VERSION: 1.13.12
|
GO_VERSION: 1.13.15
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
golangci:
|
golangci:
|
||||||
@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v1
|
uses: golangci/golangci-lint-action@v1
|
||||||
with:
|
with:
|
||||||
version: v1.27
|
version: v1.30
|
||||||
args: --timeout 5m
|
args: --timeout 5m
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v2-beta
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ env.GO_VERSION }}
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: vendor
|
path: vendor
|
||||||
key: ${{ runner.os }}-vendor-${{ hashFiles('**/go.sum') }}
|
key: ${{ runner.os }}-vendor-${{ hashFiles('**/go.sum') }}
|
||||||
- uses: actions/setup-go@v2-beta
|
- uses: actions/setup-go@v2
|
||||||
if: steps.cache-vendor.outputs.cache-hit != 'true'
|
if: steps.cache-vendor.outputs.cache-hit != 'true'
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ env.GO_VERSION }}
|
||||||
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -8,11 +8,11 @@ pipeline {
|
|||||||
environment {
|
environment {
|
||||||
GO111MODULE="on"
|
GO111MODULE="on"
|
||||||
REG="cloud-native-image-registry.westus.cloudapp.azure.com/"
|
REG="cloud-native-image-registry.westus.cloudapp.azure.com/"
|
||||||
RUNC_VERSION="v1.0.0-rc90"
|
RUNC_VERSION="v1.0.0-rc92"
|
||||||
CRIO_VERSION="v1.18.2"
|
CRIO_VERSION="v1.18.2"
|
||||||
GOLANGCI_LINT_VERSION="v1.27.0"
|
GOLANGCI_LINT_VERSION="v1.30.0"
|
||||||
BUILDAH_VERSION="v1.15.0"
|
BUILDAH_VERSION="v1.15.0"
|
||||||
GO_VERSION="1.13.12"
|
GO_VERSION="1.13.15"
|
||||||
GO_TAR="go${GO_VERSION}.linux-amd64.tar.gz"
|
GO_TAR="go${GO_VERSION}.linux-amd64.tar.gz"
|
||||||
GOROOT="/usr/local/go"
|
GOROOT="/usr/local/go"
|
||||||
GOPATH="/tmp/go"
|
GOPATH="/tmp/go"
|
||||||
|
@ -41,16 +41,16 @@ const (
|
|||||||
namespace = "fpga.intel.com"
|
namespace = "fpga.intel.com"
|
||||||
annotationName = "com.intel.fpga.mode"
|
annotationName = "com.intel.fpga.mode"
|
||||||
|
|
||||||
// Scanner's mode of operation
|
// Scanner's mode of operation.
|
||||||
afMode = "af"
|
afMode = "af"
|
||||||
regionMode = "region"
|
regionMode = "region"
|
||||||
regionDevelMode = "regiondevel"
|
regionDevelMode = "regiondevel"
|
||||||
|
|
||||||
// When the device's firmware crashes the driver reports these values
|
// When the device's firmware crashes the driver reports these values.
|
||||||
unhealthyAfuID = "ffffffffffffffffffffffffffffffff"
|
unhealthyAfuID = "ffffffffffffffffffffffffffffffff"
|
||||||
unhealthyInterfaceID = "ffffffffffffffffffffffffffffffff"
|
unhealthyInterfaceID = "ffffffffffffffffffffffffffffffff"
|
||||||
|
|
||||||
// Period of device scans
|
// Period of device scans.
|
||||||
scanPeriod = 5 * time.Second
|
scanPeriod = 5 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ const (
|
|||||||
namespace = "gpu.intel.com"
|
namespace = "gpu.intel.com"
|
||||||
deviceType = "i915"
|
deviceType = "i915"
|
||||||
|
|
||||||
// Period of device scans
|
// Period of device scans.
|
||||||
scanPeriod = 5 * time.Second
|
scanPeriod = 5 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Movidius MyriadX Vendor ID
|
// Movidius MyriadX Vendor ID.
|
||||||
vendorID = 0x03e7
|
vendorID = 0x03e7
|
||||||
// Device plugin settings.
|
// Device plugin settings.
|
||||||
namespace = "vpu.intel.com"
|
namespace = "vpu.intel.com"
|
||||||
@ -39,12 +39,12 @@ const (
|
|||||||
hddlServicePath1 = "/var/tmp/hddl_service_ready.mutex"
|
hddlServicePath1 = "/var/tmp/hddl_service_ready.mutex"
|
||||||
hddlServicePath2 = "/var/tmp/hddl_service_alive.mutex"
|
hddlServicePath2 = "/var/tmp/hddl_service_alive.mutex"
|
||||||
ionDevNode = "/dev/ion"
|
ionDevNode = "/dev/ion"
|
||||||
// Frequency of device scans
|
// Frequency of device scans.
|
||||||
scanFrequency = 5 * time.Second
|
scanFrequency = 5 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// Movidius MyriadX Product IDs
|
// Movidius MyriadX Product IDs.
|
||||||
productIDs = []int{0x2485, 0xf63b}
|
productIDs = []int{0x2485, 0xf63b}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -23,10 +23,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// GroupVersion is group version used to register these objects
|
// GroupVersion is group version used to register these objects.
|
||||||
GroupVersion = schema.GroupVersion{Group: "deviceplugin.intel.com", Version: "v1"}
|
GroupVersion = schema.GroupVersion{Group: "deviceplugin.intel.com", Version: "v1"}
|
||||||
|
|
||||||
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
|
// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
|
||||||
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
||||||
|
|
||||||
// AddToScheme adds the types in this group-version to the given scheme.
|
// AddToScheme adds the types in this group-version to the given scheme.
|
||||||
|
@ -23,10 +23,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// GroupVersion is group version used to register these objects
|
// GroupVersion is group version used to register these objects.
|
||||||
GroupVersion = schema.GroupVersion{Group: "fpga.intel.com", Version: "v2"}
|
GroupVersion = schema.GroupVersion{Group: "fpga.intel.com", Version: "v2"}
|
||||||
|
|
||||||
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
|
// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
|
||||||
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
||||||
|
|
||||||
// AddToScheme adds the types in this group-version to the given scheme.
|
// AddToScheme adds the types in this group-version to the given scheme.
|
||||||
|
@ -29,7 +29,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// OpenCLUUID is a special AFU UUID that is used for all OpenCL BSP based FPGA bitstreams
|
// OpenCLUUID is a special AFU UUID that is used for all OpenCL BSP based FPGA bitstreams.
|
||||||
OpenCLUUID = "18b79ffa2ee54aa096ef4230dafacb5f"
|
OpenCLUUID = "18b79ffa2ee54aa096ef4230dafacb5f"
|
||||||
fileExtensionAOCX = ".aocx"
|
fileExtensionAOCX = ".aocx"
|
||||||
)
|
)
|
||||||
|
@ -36,7 +36,7 @@ var (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// ProviderKubelet is a constant to distinguish that topology hint comes
|
// ProviderKubelet is a constant to distinguish that topology hint comes
|
||||||
// from parameters passed to CRI create/update requests from Kubelet
|
// from parameters passed to CRI create/update requests from Kubelet.
|
||||||
ProviderKubelet = "kubelet"
|
ProviderKubelet = "kubelet"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user