mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-02 18:13:57 +00:00
govmm: Delete old files
The govmm workflow isn't run by us and it and the other CI files are just legacy from when it was a separate repo, so let's clean up this debt rather than having to update it frequently. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
committed by
Steve Horsman
parent
b3179bdd8e
commit
12578b41f2
30
src/runtime/pkg/govmm/.github/workflows/main.yml
vendored
30
src/runtime/pkg/govmm/.github/workflows/main.yml
vendored
@@ -1,30 +0,0 @@
|
||||
on: ["pull_request"]
|
||||
name: Unit tests
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: test
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.15.x, 1.16.x]
|
||||
os: [ubuntu-22.04]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
|
||||
with:
|
||||
version: latest
|
||||
args: -c .golangci.yml -v
|
||||
- name: go test
|
||||
run: go test ./...
|
||||
1
src/runtime/pkg/govmm/.gitignore
vendored
1
src/runtime/pkg/govmm/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
*~
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright (c) 2021 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
run:
|
||||
concurrency: 4
|
||||
deadline: 600s
|
||||
skip-dirs:
|
||||
- vendor
|
||||
# Ignore auto-generated protobuf code.
|
||||
skip-files:
|
||||
- ".*\\.pb\\.go$"
|
||||
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- deadcode
|
||||
- gocyclo
|
||||
- gofmt
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
- misspell
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- typecheck
|
||||
- unconvert
|
||||
- unused
|
||||
- varcheck
|
||||
|
||||
linters-settings:
|
||||
gocyclo:
|
||||
min_complexity: 15
|
||||
unused:
|
||||
check-exported: true
|
||||
@@ -1,26 +0,0 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- "1.10"
|
||||
- "1.11"
|
||||
- tip
|
||||
arch:
|
||||
- s390x
|
||||
|
||||
go_import_path: github.com/kata-containers/govmm
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
|
||||
before_install:
|
||||
- go get github.com/alecthomas/gometalinter
|
||||
- gometalinter --install
|
||||
- go get github.com/mattn/goveralls
|
||||
|
||||
script:
|
||||
- go env
|
||||
- gometalinter --tests --vendor --disable-all --enable=misspell --enable=vet --enable=ineffassign --enable=gofmt --enable=gocyclo --cyclo-over=15 --enable=golint --enable=errcheck --enable=deadcode --enable=staticcheck -enable=gas ./...
|
||||
|
||||
after_success:
|
||||
- $GOPATH/bin/goveralls -repotoken $COVERALLS_TOKEN -v -service=travis-ci
|
||||
Reference in New Issue
Block a user