From cd068c797a5ad932cc057f46eff4882452e8bd21 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Fri, 21 Aug 2020 16:18:39 +0300 Subject: [PATCH] ci: update tool versions Signed-off-by: Mikko Ylinen --- .github/workflows/ci.yaml | 10 +++++----- Jenkinsfile | 6 +++--- cmd/fpga_plugin/fpga_plugin.go | 6 +++--- cmd/gpu_plugin/gpu_plugin.go | 2 +- cmd/vpu_plugin/vpu_plugin.go | 6 +++--- pkg/apis/deviceplugin/v1/groupversion_info.go | 4 ++-- pkg/apis/fpga.intel.com/v2/groupversion_info.go | 4 ++-- pkg/fpga/bitstream/aocx.go | 2 +- pkg/topology/topology.go | 2 +- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b4f46657..aa75ca63 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 }} diff --git a/Jenkinsfile b/Jenkinsfile index c6216783..17f8292d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" diff --git a/cmd/fpga_plugin/fpga_plugin.go b/cmd/fpga_plugin/fpga_plugin.go index 6e02cf6c..61b1d39d 100644 --- a/cmd/fpga_plugin/fpga_plugin.go +++ b/cmd/fpga_plugin/fpga_plugin.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 ) diff --git a/cmd/gpu_plugin/gpu_plugin.go b/cmd/gpu_plugin/gpu_plugin.go index 59bb6aa5..ac98a8a9 100644 --- a/cmd/gpu_plugin/gpu_plugin.go +++ b/cmd/gpu_plugin/gpu_plugin.go @@ -43,7 +43,7 @@ const ( namespace = "gpu.intel.com" deviceType = "i915" - // Period of device scans + // Period of device scans. scanPeriod = 5 * time.Second ) diff --git a/cmd/vpu_plugin/vpu_plugin.go b/cmd/vpu_plugin/vpu_plugin.go index 336a2641..a1beae10 100644 --- a/cmd/vpu_plugin/vpu_plugin.go +++ b/cmd/vpu_plugin/vpu_plugin.go @@ -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} ) diff --git a/pkg/apis/deviceplugin/v1/groupversion_info.go b/pkg/apis/deviceplugin/v1/groupversion_info.go index a4e95e6f..93e67282 100644 --- a/pkg/apis/deviceplugin/v1/groupversion_info.go +++ b/pkg/apis/deviceplugin/v1/groupversion_info.go @@ -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. diff --git a/pkg/apis/fpga.intel.com/v2/groupversion_info.go b/pkg/apis/fpga.intel.com/v2/groupversion_info.go index 5c9c83e8..b77cfe4b 100644 --- a/pkg/apis/fpga.intel.com/v2/groupversion_info.go +++ b/pkg/apis/fpga.intel.com/v2/groupversion_info.go @@ -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. diff --git a/pkg/fpga/bitstream/aocx.go b/pkg/fpga/bitstream/aocx.go index b0712800..8b0b9bd1 100644 --- a/pkg/fpga/bitstream/aocx.go +++ b/pkg/fpga/bitstream/aocx.go @@ -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" ) diff --git a/pkg/topology/topology.go b/pkg/topology/topology.go index 3f793ece..835709a4 100644 --- a/pkg/topology/topology.go +++ b/pkg/topology/topology.go @@ -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" )