Skip to content

Commit

Permalink
ci: common template rollout changes (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
srv-rr-github-token authored Sep 8, 2022
1 parent 1272f09 commit 2f36be5
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 24 deletions.
21 changes: 0 additions & 21 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "main"
schedule:
interval: "daily"
- package-ecosystem: "gitsubmodule"
directory: "/"
target-branch: "main"
schedule:
interval: "daily"
- package-ecosystem: "gitsubmodule"
directory: "/deps/build"
target-branch: "main"
schedule:
interval: "daily"
- package-ecosystem: "gitsubmodule"
directory: "/deps/apps"
target-branch: "main"
schedule:
interval: "daily"
- package-ecosystem: "pip"
directory: "/"
target-branch: "main"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
call-workflow:
uses: splunk/addonfactory-workflow-addon-release/.github/workflows/reusable-build-test-release.yml@v2.0
uses: splunk/addonfactory-workflow-addon-release/.github/workflows/reusable-build-test-release.yml@v2.1
secrets:
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/escu-manual-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: escu-manual-workflow
on:
workflow_dispatch:
inputs:
TA_BUILD:
description: 'TA build number (e.g. s3://ta-production-artifacts/ta-apps/{ta-name}-$build_number$.spl)'
required: true
TESTS:
description: 'Comma-Separated List of detections to run (e.g. detection1,detection2,detection3)'
required: true

jobs:
call-workflow:
uses: splunk/addonfactory-workflow-addon-release/.github/workflows/[email protected]
with:
TA_BUILD: ${{ inputs.TA_BUILD }}
TESTS: ${{ inputs.TESTS }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
OTHER_TA_REQUIRED_CONFIGS: ${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ repos:
- id: check-merge-conflict
- id: debug-statements
- id: trailing-whitespace
exclude: ^(tests/requirement_test/logs)
exclude: ^(tests/requirement_test/logs|tests/knowledge/samples|tests/escu/.escu_detections)
- id: check-yaml
- id: check-xml
- id: check-toml
- id: check-json
- id: end-of-file-fixer
exclude: ^(tests/requirement_test/logs)
exclude: ^(tests/requirement_test/logs|tests/knowledge/samples|tests/escu/.escu_detections)
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
Expand Down

0 comments on commit 2f36be5

Please sign in to comment.