Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,9 @@ workflows:
- build-package
filters:
tags:
only: /.*/
only: /^v.*/
branches:
ignore: /.*/
- create-report:
requires:
- validate-content
Expand All @@ -474,6 +476,8 @@ workflows:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- update-sources-github:
# update package and docs in github if is a tag
requires:
Expand Down
10 changes: 9 additions & 1 deletion bin/appinspect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ PACKAGE_PATH="/home/circleci/"$PACKAGE_NAME


cd $APP_PATH
mkdir report

# check if report exists
if [ -d report ]
then
echo "report/ Directory exists"
else
mkdir report
fi

# get a JWT token
AUTH_TOKEN=$(echo -n "$USERNAME:$PASSWORD" | base64)
APPINSPECT_TOKEN=$(curl -s --location --request GET 'https://api.splunk.com/2.0/rest/login/splunk' --header "Authorization: Basic $AUTH_TOKEN" | jq -r '.data | .token')
Expand Down