Skip to content

Commit

Permalink
Merge pull request #1870 from runcom/badges-and-revert
Browse files Browse the repository at this point in the history
Badges and revert
  • Loading branch information
k8s-ci-robot committed Oct 26, 2018
2 parents 6515d25 + 0f34e23 commit 0b3bc70
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 135 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ jobs:
- make lint
go: "1.11.x"
- script:
- sudo "PATH=$PATH" make testunit
- make testunit
- make
go: "1.10.x"
- script:
- sudo "PATH=$PATH" make testunit
- make testunit
- make
go: "1.11.x"
- script:
- make local-cross
go: "1.11.x"
env: CROSS_PLATFORM=true
- script:
- sudo "PATH=$PATH" make testunit
- make testunit
- make
go: tip
- script:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
![CRI-O logo](https://cdn.rawgit.com/kubernetes-sigs/cri-o/master/logo/crio-logo.svg)
# CRI-O - OCI-based implementation of Kubernetes Container Runtime Interface

[![GoDoc](https://godoc.org/github.com/kubernetes-sigs/cri-o?status.svg)](https://godoc.org/github.com/kubernetes-sigs/cri-o)
[![Build Status](https://img.shields.io/travis/kubernetes-sigs/cri-o.svg?maxAge=2592000&style=flat-square)](https://travis-ci.org/kubernetes-sigs/cri-o)
[![Go Report Card](https://goreportcard.com/badge/github.com/kubernetes-sigs/cri-o?style=flat-square)](https://goreportcard.com/report/github.com/kubernetes-sigs/cri-o)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2298/badge)](https://bestpractices.coreinfrastructure.org/projects/2298)

### Status: Stable

Expand Down
6 changes: 6 additions & 0 deletions server/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ import (

const fixturePath = "fixtures/crio.conf"

func must(t *testing.T, err error) {
if err != nil {
t.Error(err)
}
}

func assertAllFieldsEquality(t *testing.T, c Config) {
testCases := []struct {
fieldValue, expected interface{}
Expand Down
7 changes: 0 additions & 7 deletions server/sandbox_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"time"

"github.com/kubernetes-sigs/cri-o/oci"
"github.com/kubernetes-sigs/cri-o/version"
"github.com/sirupsen/logrus"
"golang.org/x/net/context"
pb "k8s.io/kubernetes/pkg/kubelet/apis/cri/runtime/v1alpha2"
Expand Down Expand Up @@ -56,12 +55,6 @@ func (s *Server) PodSandboxStatus(ctx context.Context, req *pb.PodSandboxStatusR
},
}

if req.Verbose {
resp.Info = map[string]string{
"version": version.Version,
}
}

logrus.Debugf("PodSandboxStatusResponse: %+v", resp)
return resp, nil
}
119 changes: 0 additions & 119 deletions server/sandbox_status_test.go

This file was deleted.

6 changes: 0 additions & 6 deletions server/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ const (
dnsPath = "fixtures/resolv.conf"
)

func must(t *testing.T, err error) {
if err != nil {
t.Error(err)
}
}

func TestParseDNSOptions(t *testing.T) {
testCases := []struct {
Servers, Searches, Options []string
Expand Down

0 comments on commit 0b3bc70

Please sign in to comment.