File tree Expand file tree Collapse file tree 2 files changed +74
-0
lines changed Expand file tree Collapse file tree 2 files changed +74
-0
lines changed Original file line number Diff line number Diff line change
1
+ check_simplexml_standards_version :
2
+ comment : expected
3
+ check_app_icon_2x_dimensions :
4
+ comment : expected
5
+ check_app_icon_2x_is_png :
6
+ comment : expected
7
+ check_app_icon_dimensions :
8
+ comment : expected
9
+ check_app_icon_is_png :
10
+ comment : expected
11
+ check_ignored_parameters_v2_command :
12
+ comment : expected
13
+ check_basic_readme :
14
+ comment : expected
15
+ check_for_binary_files_without_source_code :
16
+ comment : expected
17
+ check_for_compiled_python :
18
+ comment : expected
Original file line number Diff line number Diff line change
1
+ name : build-test-release
2
+
3
+ on : push
4
+
5
+ jobs :
6
+
7
+ build :
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - name : Checkout repository
12
+ uses : actions/checkout@v2
13
+
14
+ - name : Create subfolder
15
+ run : mkdir my-package
16
+
17
+ - name : Install UCC
18
+ run : |
19
+ pip install splunk-add-on-ucc-framework
20
+ pip install splunk-packaging-toolkit
21
+
22
+ - name : Build an app using UCC
23
+ run : ucc-gen build --source TA-opencti-add-on
24
+
25
+ - name : Create tmp folder
26
+ run : mkdir app-dir
27
+
28
+ - name : Create package
29
+ run : ucc-gen package --path output/TA-opencti-add-on -o app-dir/
30
+
31
+ - name : Upload package
32
+ uses : actions/upload-artifact@v4
33
+ with :
34
+ name : my-package
35
+ path : app-dir/
36
+
37
+ run-appinspect-api :
38
+ needs : build
39
+ runs-on : ubuntu-latest
40
+ steps :
41
+ - uses : actions/checkout@v3
42
+ - uses : actions/download-artifact@v4
43
+ with :
44
+ name : my-package
45
+ path : app-dir/
46
+ - name : appinspect-api
47
+ uses : splunk/appinspect-api-action@v3.0
48
+ with :
49
+ username : ${{ secrets.SPL_COM_USER }}
50
+ password : ${{ secrets.SPL_COM_PASSWORD }}
51
+ app_path : app-dir/
52
+ - uses : actions/upload-artifact@v4
53
+ if : always()
54
+ with :
55
+ name : appinspect-api-html-report
56
+ path : AppInspect_response.html
You can’t perform that action at this time.
0 commit comments