-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.3 KB
/
appinspect.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Splunk Appinspect
on:
pull_request:
branches:
- main
- master
paths:
- "SA-CrowdstrikeDevices/**"
types: [opened, ready_for_review]
jobs:
appinspect-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Download packaging toolkit
run: wget https://download.splunk.com/misc/packaging-toolkit/splunk-packaging-toolkit-1.0.1.tar.gz
- name: Install packaging toolkit
run: pip install splunk-packaging-toolkit-1.0.1.tar.gz
- name: Package app
run: |
slim package -o ~/build/package SA-CrowdstrikeDevices
- name: run Appinspect
uses: splunk/appinspect-api-action@v3
with:
username: ${{ secrets.API_USER }}
password: ${{ secrets.API_PASS }}
app_path: /home/runner/build/package/
included_tags: "cloud,self-service,future"
- name: Collect report
if: always()
uses: actions/upload-artifact@v3
with:
name: Appinspect-report
path: ~/reports/
- name: Collect app package
if: always()
uses: actions/upload-artifact@v3
with:
name: App-package
path: ~/build/packages/