mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
$ARTIFACTS_DIR is set by platform (#4399)
* is set by platform Signed-off-by: anandrkskd <anandrkskd@gmail.com> * removing env ARTIFACTS_DIR as it's set by platform Signed-off-by: anandrkskd <anandrkskd@gmail.com> * replacing env to ARTIFACT_DIR Signed-off-by: anandrkskd <anandrkskd@gmail.com> * replacing env to ARTIFACT_DIR Signed-off-by: anandrkskd <anandrkskd@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9d246db05b
commit
d818d24f4e
@@ -11,8 +11,7 @@ make bin
|
||||
mkdir -p $GOPATH/bin
|
||||
make goget-ginkgo
|
||||
export PATH="$PATH:$(pwd):$GOPATH/bin"
|
||||
export ARTIFACTS_DIR="/tmp/artifacts"
|
||||
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR
|
||||
export CUSTOM_HOMEDIR=$ARTIFACT_DIR
|
||||
|
||||
# Copy kubeconfig to temporary kubeconfig file
|
||||
# Read and Write permission to temporary kubeconfig file
|
||||
@@ -37,6 +36,6 @@ make test-operator-hub
|
||||
# E2e tests
|
||||
make test-e2e-all
|
||||
|
||||
cp -r reports $ARTIFACTS_DIR
|
||||
cp -r reports $ARTIFACT_DIR
|
||||
|
||||
odo logout
|
||||
|
||||
@@ -18,8 +18,7 @@ make bin
|
||||
mkdir -p $GOPATH/bin
|
||||
make goget-ginkgo
|
||||
export PATH="$PATH:$(pwd):$GOPATH/bin"
|
||||
export ARTIFACTS_DIR="/tmp/artifacts"
|
||||
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR
|
||||
export CUSTOM_HOMEDIR=$ARTIFACT_DIR
|
||||
|
||||
# Copy kubeconfig to temporary kubeconfig file
|
||||
# Read and Write permission to temporary kubeconfig file
|
||||
@@ -65,6 +64,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
cp -r reports $ARTIFACTS_DIR
|
||||
cp -r reports $ARTIFACT_DIR
|
||||
|
||||
odo logout
|
||||
|
||||
@@ -5,8 +5,7 @@ set -e
|
||||
# show commands
|
||||
set -x
|
||||
|
||||
export ARTIFACTS_DIR="/tmp/artifacts"
|
||||
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR
|
||||
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
|
||||
@@ -18,7 +17,7 @@ make test
|
||||
|
||||
# crosscompile and publish artifacts
|
||||
make cross
|
||||
cp -r dist $ARTIFACTS_DIR
|
||||
cp -r dist $ARTIFACT_DIR
|
||||
|
||||
# RPM Tests
|
||||
scripts/rpm-x86_64-test.sh
|
||||
|
||||
Reference in New Issue
Block a user