mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
24 lines
438 B
Bash
Executable File
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
|