ci: update tool versions

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
Mikko Ylinen 2020-08-21 16:18:39 +03:00
parent 205f9430aa
commit cd068c797a
9 changed files with 21 additions and 21 deletions

View File

@ -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
View File

@ -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"

View File

@ -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
)

View File

@ -43,7 +43,7 @@ const (
namespace = "gpu.intel.com"
deviceType = "i915"
// Period of device scans
// Period of device scans.
scanPeriod = 5 * time.Second
)

View File

@ -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}
)

View File

@ -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.

View File

@ -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.

View File

@ -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"
)

View File

@ -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"
)