1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-04-23 20:57:10 +00:00

Merge pull request from marquiz/devel/prow

scripts: add scripts for kubernetest test-infra jobs
This commit is contained in:
Kubernetes Prow Robot 2020-08-21 01:33:39 -07:00 committed by GitHub
commit f1c8c3aa95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 6 deletions

View file

@ -11,13 +11,9 @@ env:
services:
- docker
before_script:
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.27.0
script:
- make gofmt-verify
- make ci-lint
- make image -e
- scripts/test-infra/verify.sh
- scripts/test-infra/build-image.sh
- if [ "$TRAVIS_BRANCH" == master -a -n "$IMAGE_REPO_USER" ]; then
set -e;
echo "$IMAGE_REPO_PASSWORD" | docker login -u "$IMAGE_REPO_USER" --password-stdin quay.io;

View file

@ -0,0 +1,3 @@
#!/bin/bash -e
make image -e

8
scripts/test-infra/verify.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash -e
# Install deps
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.27.0
# Run verify steps
make gofmt-verify -e
make ci-lint -e