Skip to content

Commit

Permalink
fix: timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 12, 2021
1 parent 1a1af34 commit e42986a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
source ~/.venv/bin/activate
source .splunkbase
source ~/.venv/bin/activate
PACKAGE=$(ls build/package/splunkbase/*)
PACKAGE_ID=$(crudini --get package/default/app.conf id name)
SPLUNKBASE_VERSION=$(echo $1 | sed 's/v//')
Expand All @@ -15,7 +15,7 @@ echo $BASE
-F "files[]=@${PACKAGE}" -F "filename=${PACKAGE_ID}.spl" \
-F "splunk_versions=${SPLUNKBASE_SPLUNK_VERSION}" \
-F "visibility=${SPLUNKBASE_VIS}"

sleep 30
ITEM=$(curl -u ${SPLUNKBASE_USERNAME}:${SPLUNKBASE_PASSWORD} \
--request GET $BASE \
| jq ".[] | select(.name==\"$SPLUNKBASE_VERSION\") | .id")
Expand Down

0 comments on commit e42986a

Please sign in to comment.