Files
odo/scripts/openshiftci-presubmit-unittests.sh
Anand Kumar Singh 19509b02c1 disable rpm-build test from unit test (#4859)
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2021-06-29 11:56:08 -04:00

24 lines
438 B
Bash
Executable File

#!/bin/sh
# fail if some commands fails
set -e
# show commands
set -x
export CUSTOM_HOMEDIR=$ARTIFACT_DIR
export PATH=$PATH:$GOPATH/bin
# set location for golangci-lint cache
# otherwise /.cache is used, and it fails on permission denied
export GOLANGCI_LINT_CACHE="/tmp/.cache"
make goget-tools
make validate
make test
# crosscompile and publish artifacts
make cross
cp -r dist $ARTIFACT_DIR
# RPM Tests
#scripts/rpm-x86_64-test.sh