Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ before_install:
script:
- git-validation -run DCO,short-subject -v
- make BUILDTAGS="${BUILDTAGS}"
- make BUILDTAGS="${BUILDTAGS}" oci-runtime-validation
- make BUILDTAGS="${BUILDTAGS}" clean ci cross
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ validate:
script/validate-c
$(GO) vet $(allpackages)

oci-runtime-validation:
RUNTIME=$(CURDIR)/runc script/oci-runtime-validation

ci: validate test release

cross: runcimage
Expand Down
14 changes: 14 additions & 0 deletions script/oci-runtime-validation
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

set -e
set -x

# Install and run runtime-tools' validation tests
npm install -g tap
go get -d -u github.com/opencontainers/runtime-tools || true

cd $GOPATH/src/github.com/opencontainers/runtime-tools
make
sudo PATH="$PATH:$(dirname $(which node))" TAP="$(which tap)" RUNTIME="${RUNTIME}" make localvalidation \
|| true # All tests don't pass yet. For now, only display results without returning an error.