Skip to content

Commit 2f36be5

Browse files
ci: common template rollout changes (#188)
1 parent 1272f09 commit 2f36be5

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
version: 2
22
updates:
3-
# Maintain dependencies for GitHub Actions
4-
- package-ecosystem: "github-actions"
5-
directory: "/"
6-
target-branch: "main"
7-
schedule:
8-
interval: "daily"
9-
- package-ecosystem: "gitsubmodule"
10-
directory: "/"
11-
target-branch: "main"
12-
schedule:
13-
interval: "daily"
14-
- package-ecosystem: "gitsubmodule"
15-
directory: "/deps/build"
16-
target-branch: "main"
17-
schedule:
18-
interval: "daily"
19-
- package-ecosystem: "gitsubmodule"
20-
directory: "/deps/apps"
21-
target-branch: "main"
22-
schedule:
23-
interval: "daily"
243
- package-ecosystem: "pip"
254
directory: "/"
265
target-branch: "main"

.github/workflows/build-test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
call-workflow:
15-
uses: splunk/addonfactory-workflow-addon-release/.github/workflows/reusable-build-test-release.yml@v2.0
15+
uses: splunk/addonfactory-workflow-addon-release/.github/workflows/reusable-build-test-release.yml@v2.1
1616
secrets:
1717
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}
1818
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: escu-manual-workflow
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
TA_BUILD:
6+
description: 'TA build number (e.g. s3://ta-production-artifacts/ta-apps/{ta-name}-$build_number$.spl)'
7+
required: true
8+
TESTS:
9+
description: 'Comma-Separated List of detections to run (e.g. detection1,detection2,detection3)'
10+
required: true
11+
12+
jobs:
13+
call-workflow:
14+
uses: splunk/addonfactory-workflow-addon-release/.github/workflows/[email protected]
15+
with:
16+
TA_BUILD: ${{ inputs.TA_BUILD }}
17+
TESTS: ${{ inputs.TESTS }}
18+
secrets:
19+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
20+
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
21+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
22+
OTHER_TA_REQUIRED_CONFIGS: ${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ repos:
55
- id: check-merge-conflict
66
- id: debug-statements
77
- id: trailing-whitespace
8-
exclude: ^(tests/requirement_test/logs)
8+
exclude: ^(tests/requirement_test/logs|tests/knowledge/samples|tests/escu/.escu_detections)
99
- id: check-yaml
1010
- id: check-xml
1111
- id: check-toml
1212
- id: check-json
1313
- id: end-of-file-fixer
14-
exclude: ^(tests/requirement_test/logs)
14+
exclude: ^(tests/requirement_test/logs|tests/knowledge/samples|tests/escu/.escu_detections)
1515
- repo: https://github.com/psf/black
1616
rev: 22.3.0
1717
hooks:

0 commit comments

Comments
 (0)