diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-07-02 14:59:46 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-07-02 16:26:56 -0400 |
commit | 288ce22e256f71ba01cea63aa03a4880e5b1612d (patch) | |
tree | 0bb4cba597691aa9be0dc23bd1270e2bcbfde1bb | |
parent | 0c6b6035c3318e95e5d417639a3d7854cce72464 (diff) | |
download | splitfits-288ce22e256f71ba01cea63aa03a4880e5b1612d.tar.gz |
Incorporate circleci into artifact upload
-rw-r--r-- | test_config.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test_config.sh b/test_config.sh index da541b3..7746a6d 100644 --- a/test_config.sh +++ b/test_config.sh @@ -3,4 +3,9 @@ test_program_version="$(git describe --always --tags --long)" test_data="${RTDIR}/data" test_data_remote=https://nx.astroconda.org/repository test_data_remote_auth=${test_data_remote_auth:-} -test_data_upload="generic/spb-splitfits/${test_program_version}" +test_data_upload="generic/spb-splitfits" +if [[ $CIRCLECI == "true" ]]; then + test_data_upload="${test_data_upload}/ci/${CIRCLE_BRANCH}_${CIRCLE_JOB}/${CIRCLE_BUILD_NUM}/${test_program_version}" +else + test_data_upload="${test_data_upload}/user/${test_program_version}" +fi |