diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-10-05 11:56:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 11:56:39 -0700 |
commit | d137b0908c3f9ee2ee05364128682e7053294260 (patch) | |
tree | e4d972afef68be51654dd44b20cf10905bff73ea /contrib | |
parent | 20db511fdba0358d0dcd1dddac77b59d3d914de9 (diff) | |
parent | 52f0547f6422211a7ceab43c9da45bc228a71d2b (diff) | |
download | podman-d137b0908c3f9ee2ee05364128682e7053294260.tar.gz podman-d137b0908c3f9ee2ee05364128682e7053294260.tar.bz2 podman-d137b0908c3f9ee2ee05364128682e7053294260.zip |
Merge pull request #1598 from cevich/readd_verify
Lower Cirrus-CI CPU + Re-add verify step
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/cirrus/verify_source.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/cirrus/verify_source.sh b/contrib/cirrus/verify_source.sh new file mode 100755 index 000000000..860bafc00 --- /dev/null +++ b/contrib/cirrus/verify_source.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -e +source $(dirname $0)/lib.sh + +req_env_var " +OS_RELEASE_ID $OS_RELEASE_ID +OS_RELEASE_VER $OS_RELEASE_VER +" + +show_env_vars + +set -x +cd "$GOSRC" + +case "${OS_RELEASE_ID}-${OS_RELEASE_VER}" in + ubuntu-18) + make install.tools "BUILDTAGS=$BUILDTAGS" + make validate "BUILDTAGS=$BUILDTAGS" + # make lint "BUILDTAGS=$BUILDTAGS" + ;; + fedora-28) ;& + centos-7) ;& + rhel-7) + make install.tools + make validate + # make lint + ;; + *) bad_os_id_ver ;; +esac |