test updates

This commit is contained in:
Bhavin Patel
2023-10-26 12:09:19 -07:00
parent a5eead6657
commit 4260667c19
4 changed files with 9 additions and 11 deletions
+1 -3
View File
@@ -7,11 +7,9 @@ stages:
- generate
- app_inspect
- release
- publish_build_to_pre_qa
include:
- local: "pipeline/.validate.yml"
- local: "pipeline/.generate.yml"
- local: "pipeline/.app_inspect.yml"
- local: "pipeline/.release.yml"
- local: "pipeline/.publish_build_to_pre_qa.yml"
- local: "pipeline/.release.yml"
+1 -1
View File
@@ -3,7 +3,7 @@ build:
path_root: dist
prefix: ESCU
build: 004150
version: 4.15.0
version: 4.14.1
label: ES Content Updates
author_name: Splunk Threat Research Team
author_email: research@splunk.com
+2 -2
View File
@@ -11,7 +11,7 @@ app_inspect:
- pip3 install poetry
- git submodule update --init contentctl
- cd contentctl
- git checkout fail_manual_check
- git checkout main
- poetry install
script:
- poetry run contentctl -p ../ build --appinspect_api_username $APPINSPECT_USERNAME --appinspect_api_password $APPINSPECT_PASSWORD
@@ -20,4 +20,4 @@ app_inspect:
- cp -r dist/*.{json,html,log} artifacts/app_inspect_report
rules:
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/'
when: always
when: on_success
+5 -5
View File
@@ -20,7 +20,7 @@ reporting:
- aws s3 cp reporting s3://$BUCKET/reporting --recursive --exclude "*" --include "*.svg"
rules:
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/'
when: always
when: on_success
# Security Content API Update
security_content_api:
@@ -58,7 +58,7 @@ security_content_api:
- aws s3 cp dist/api s3://$BUCKET/json --recursive --exclude "*" --include "*.json"
rules:
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/'
when: always
when: on_success
# Update Attack Range ESCU App
attack_range_escu_app:
@@ -80,7 +80,7 @@ attack_range_escu_app:
# - aws s3api put-object-acl --bucket $BUCKET --key DA-ESS-ContentUpdate-latest.tar.gz --acl public-read
rules:
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/'
when: always
when: on_success
# Sync change to GitHub develop
github_push_develop:
@@ -109,7 +109,7 @@ github_push_develop:
- git push github_origin $BRANCH
rules:
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/'
when: always
when: on_success
# Create Package GitLab
# need to be tested
@@ -123,6 +123,6 @@ release_job:
description: '$CI_COMMIT_TAG'
rules:
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/'
when: always
when: on_success