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
|
||||
- 'release-*'
|
||||
env:
|
||||
RUNC_VERSION: v1.0.0-rc90
|
||||
RUNC_VERSION: v1.0.0-rc92
|
||||
CRIO_VERSION: v1.18.2
|
||||
GO_VERSION: 1.13.12
|
||||
GO_VERSION: 1.13.15
|
||||
jobs:
|
||||
|
||||
golangci:
|
||||
@ -26,7 +26,7 @@ jobs:
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v1
|
||||
with:
|
||||
version: v1.27
|
||||
version: v1.30
|
||||
args: --timeout 5m
|
||||
|
||||
build:
|
||||
@ -34,7 +34,7 @@ jobs:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2-beta
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
- name: Set up environment
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
with:
|
||||
path: vendor
|
||||
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'
|
||||
with:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -8,11 +8,11 @@ pipeline {
|
||||
environment {
|
||||
GO111MODULE="on"
|
||||
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"
|
||||
GOLANGCI_LINT_VERSION="v1.27.0"
|
||||
GOLANGCI_LINT_VERSION="v1.30.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"
|
||||
GOROOT="/usr/local/go"
|
||||
GOPATH="/tmp/go"
|
||||
|
@ -41,16 +41,16 @@ const (
|
||||
namespace = "fpga.intel.com"
|
||||
annotationName = "com.intel.fpga.mode"
|
||||
|
||||
// Scanner's mode of operation
|
||||
// Scanner's mode of operation.
|
||||
afMode = "af"
|
||||
regionMode = "region"
|
||||
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"
|
||||
unhealthyInterfaceID = "ffffffffffffffffffffffffffffffff"
|
||||
|
||||
// Period of device scans
|
||||
// Period of device scans.
|
||||
scanPeriod = 5 * time.Second
|
||||
)
|
||||
|
||||
|
@ -43,7 +43,7 @@ const (
|
||||
namespace = "gpu.intel.com"
|
||||
deviceType = "i915"
|
||||
|
||||
// Period of device scans
|
||||
// Period of device scans.
|
||||
scanPeriod = 5 * time.Second
|
||||
)
|
||||
|
||||
|
@ -29,7 +29,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
// Movidius MyriadX Vendor ID
|
||||
// Movidius MyriadX Vendor ID.
|
||||
vendorID = 0x03e7
|
||||
// Device plugin settings.
|
||||
namespace = "vpu.intel.com"
|
||||
@ -39,12 +39,12 @@ const (
|
||||
hddlServicePath1 = "/var/tmp/hddl_service_ready.mutex"
|
||||
hddlServicePath2 = "/var/tmp/hddl_service_alive.mutex"
|
||||
ionDevNode = "/dev/ion"
|
||||
// Frequency of device scans
|
||||
// Frequency of device scans.
|
||||
scanFrequency = 5 * time.Second
|
||||
)
|
||||
|
||||
var (
|
||||
// Movidius MyriadX Product IDs
|
||||
// Movidius MyriadX Product IDs.
|
||||
productIDs = []int{0x2485, 0xf63b}
|
||||
)
|
||||
|
||||
|
@ -23,10 +23,10 @@ import (
|
||||
)
|
||||
|
||||
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"}
|
||||
|
||||
// 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}
|
||||
|
||||
// AddToScheme adds the types in this group-version to the given scheme.
|
||||
|
@ -23,10 +23,10 @@ import (
|
||||
)
|
||||
|
||||
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"}
|
||||
|
||||
// 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}
|
||||
|
||||
// AddToScheme adds the types in this group-version to the given scheme.
|
||||
|
@ -29,7 +29,7 @@ import (
|
||||
)
|
||||
|
||||
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"
|
||||
fileExtensionAOCX = ".aocx"
|
||||
)
|
||||
|
@ -36,7 +36,7 @@ var (
|
||||
|
||||
const (
|
||||
// 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"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user