Branch was auto-updated.

This commit is contained in:
github-actions[bot]
2021-04-02 16:56:20 +00:00
committed by GitHub
2 changed files with 14 additions and 2 deletions
+5 -1
View File
@@ -464,7 +464,9 @@ workflows:
- build-package
filters:
tags:
only: /.*/
only: /^v.*/
branches:
ignore: /.*/
- create-report:
requires:
- validate-content
@@ -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:
+9 -1
View File
@@ -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')