Skip to content

Commit e51f9d3

Browse files
chore: merge develop into main (#1995)
2 parents 065e498 + 18da76e commit e51f9d3

205 files changed

Lines changed: 1799 additions & 1124 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/automatic_doc_generation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
env:
1313
isPR: ${{ github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'main' }}
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
with:
1717
lfs: true
1818
ref: ${{ github.event.pull_request.head.ref }}
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Importing GPG key
3434
if: ${{ env.isPR }}
35-
uses: crazy-max/ghaction-import-gpg@v6
35+
uses: crazy-max/ghaction-import-gpg@v7
3636
with:
3737
git_committer_name: ${{ secrets.SA_GH_USER_NAME }}
3838
git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}

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

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@ jobs:
2222
outputs:
2323
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
- id: matrix
2727
uses: splunk/addonfactory-test-matrix-action@v3.1
2828

2929
fossa-scan:
3030
continue-on-error: true
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v5
33+
- uses: actions/checkout@v6
3434
- run: |
3535
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
3636
fossa analyze --debug
37-
fossa report attribution --format text > /tmp/THIRDPARTY
37+
fossa report attribution --format text --timeout 7200 > /tmp/THIRDPARTY
3838
env:
3939
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
40-
- uses: actions/upload-artifact@v5
40+
- uses: actions/upload-artifact@v7
4141
with:
4242
name: THIRDPARTY
4343
path: /tmp/THIRDPARTY
@@ -58,7 +58,7 @@ jobs:
5858
pre-commit:
5959
runs-on: ubuntu-latest
6060
steps:
61-
- uses: actions/checkout@v5
61+
- uses: actions/checkout@v6
6262
- uses: actions/setup-python@v6
6363
with:
6464
python-version: "3.9"
@@ -74,7 +74,7 @@ jobs:
7474
compliance-copyrights:
7575
runs-on: ubuntu-latest
7676
steps:
77-
- uses: actions/checkout@v5
77+
- uses: actions/checkout@v6
7878
- uses: apache/skywalking-eyes@v0.8.0
7979

8080
build-ui:
@@ -102,16 +102,16 @@ jobs:
102102
- build-ui
103103
runs-on: ubuntu-latest
104104
steps:
105-
- uses: actions/checkout@v5
105+
- uses: actions/checkout@v6
106106
- uses: actions/setup-python@v6
107107
with:
108108
python-version: "3.9"
109-
- uses: actions/download-artifact@v6
109+
- uses: actions/download-artifact@v8
110110
with:
111111
name: UCC-UI-build
112112
path: built-ui/
113113

114-
- uses: actions/download-artifact@v6
114+
- uses: actions/download-artifact@v8
115115
if: "! github.event.pull_request.head.repo.fork "
116116
with:
117117
name: THIRDPARTY
@@ -123,7 +123,7 @@ jobs:
123123
run: |
124124
cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/build
125125
poetry build
126-
- uses: actions/upload-artifact@v5
126+
- uses: actions/upload-artifact@v7
127127
with:
128128
name: UCC-build
129129
path: dist/
@@ -141,7 +141,7 @@ jobs:
141141
- "3.13"
142142
- "3.14"
143143
steps:
144-
- uses: actions/checkout@v5
144+
- uses: actions/checkout@v6
145145
- uses: actions/setup-python@v6
146146
with:
147147
python-version: ${{ matrix.python-version }}
@@ -175,8 +175,8 @@ jobs:
175175
- "3.13"
176176
- "3.14"
177177
steps:
178-
- uses: actions/checkout@v5
179-
- uses: actions/download-artifact@v6
178+
- uses: actions/checkout@v6
179+
- uses: actions/download-artifact@v8
180180
with:
181181
name: UCC-UI-build
182182
path: built-ui/
@@ -204,11 +204,11 @@ jobs:
204204
needs:
205205
- build-ui
206206
steps:
207-
- uses: actions/checkout@v5
207+
- uses: actions/checkout@v6
208208
- uses: actions/setup-python@v6
209209
with:
210210
python-version: "3.9"
211-
- uses: actions/download-artifact@v6
211+
- uses: actions/download-artifact@v8
212212
with:
213213
name: UCC-UI-build
214214
path: built-ui/
@@ -222,11 +222,11 @@ jobs:
222222
RUM_ACCESS_TOKEN: ${{ secrets.RUM_ACCESS_TOKEN}}
223223
- run: poetry run ucc-gen package --path output/Splunk_TA_UCCExample
224224
- run: poetry run ucc-gen validate --addon-path output/Splunk_TA_UCCExample
225-
- uses: actions/upload-artifact@v5
225+
- uses: actions/upload-artifact@v7
226226
with:
227227
name: Splunk_TA_UCCExample-raw-output
228228
path: output/*
229-
- uses: actions/upload-artifact@v5
229+
- uses: actions/upload-artifact@v7
230230
with:
231231
name: Splunk_TA_UCCExample-packaged
232232
path: Splunk_TA_UCCExample*.tar.gz
@@ -259,11 +259,11 @@ jobs:
259259
- "9"
260260
- "10"
261261
steps:
262-
- uses: actions/checkout@v5
262+
- uses: actions/checkout@v6
263263
- uses: actions/setup-python@v6
264264
with:
265265
python-version: "3.9"
266-
- uses: actions/download-artifact@v6
266+
- uses: actions/download-artifact@v8
267267
with:
268268
name: Splunk_TA_UCCExample-raw-output
269269
path: output/
@@ -281,7 +281,7 @@ jobs:
281281
until curl -k -s -u admin:Chang3d! https://localhost:8089/services/server/info\?output_mode\=json | jq '.entry[0].content.kvStoreStatus' | grep -o "ready" ; do echo -n "Waiting for KVStore to become ready-" && sleep 5 ; done
282282
timeout-minutes: 5
283283
- run: poetry run pytest tests/ui --test-group-count 10 --test-group ${{ matrix.test-group }} --test-group-random-seed 123456 --headless --junitxml=test-results/junit.xml
284-
- uses: actions/upload-artifact@v5
284+
- uses: actions/upload-artifact@v7
285285
if: success() || failure()
286286
with:
287287
name: test-results-ui-${{ matrix.splunk.version }}-${{ matrix.test-group }}
@@ -291,7 +291,7 @@ jobs:
291291
run: |
292292
docker cp splunk:/opt/splunk/var/log/splunk/splunkd.log ./splunkd.log
293293
- name: Upload splunkd.log to GitHub Check
294-
uses: actions/upload-artifact@v5
294+
uses: actions/upload-artifact@v7
295295
if: failure()
296296
with:
297297
name: test-ui-splunkd-splunkd-${{ matrix.splunk.version }}-${{ matrix.test-group }}.log
@@ -318,7 +318,7 @@ jobs:
318318
- "self-service"
319319
- "splunk_appinspect"
320320
steps:
321-
- uses: actions/checkout@v5
321+
- uses: actions/checkout@v6
322322
- uses: actions/setup-python@v6
323323
with:
324324
python-version: "3.9"
@@ -348,8 +348,8 @@ jobs:
348348
tags:
349349
- "cloud"
350350
steps:
351-
- uses: actions/checkout@v5
352-
- uses: actions/download-artifact@v6
351+
- uses: actions/checkout@v6
352+
- uses: actions/download-artifact@v8
353353
with:
354354
name: Splunk_TA_UCCExample-packaged
355355
path: build/package
@@ -362,7 +362,7 @@ jobs:
362362
password: ${{secrets.SPL_COM_PASSWORD}}
363363
app_path: build/package
364364
included_tags: ${{ matrix.tags }}
365-
- uses: actions/upload-artifact@v5
365+
- uses: actions/upload-artifact@v7
366366
if: always()
367367
with:
368368
name: appinspect-api-html-report-${{ matrix.tags }}
@@ -381,11 +381,11 @@ jobs:
381381
matrix:
382382
splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}
383383
steps:
384-
- uses: actions/checkout@v5
384+
- uses: actions/checkout@v6
385385
- uses: actions/setup-python@v6
386386
with:
387387
python-version: "3.11"
388-
- uses: actions/download-artifact@v6
388+
- uses: actions/download-artifact@v8
389389
with:
390390
name: UCC-UI-build
391391
path: built-ui/
@@ -455,7 +455,7 @@ jobs:
455455
contents: read
456456
if: "! github.event.pull_request.head.repo.fork "
457457
steps:
458-
- uses: actions/checkout@v5
458+
- uses: actions/checkout@v6
459459
with:
460460
# Very important: semantic-release won't trigger a tagged
461461
# build if this is not set false
@@ -466,11 +466,11 @@ jobs:
466466
- name: install UI deps
467467
uses: ./.github/actions/cached-ui-deps
468468
- run: curl -sSL https://install.python-poetry.org | python3 - --version ${{env.POETRY_VERSION}}
469-
- uses: actions/download-artifact@v6
469+
- uses: actions/download-artifact@v8
470470
with:
471471
name: UCC-UI-build
472472
path: built-ui/
473-
- uses: actions/download-artifact@v6
473+
- uses: actions/download-artifact@v8
474474
with:
475475
name: THIRDPARTY
476476
- run: cp -f THIRDPARTY NOTICE

.github/workflows/build-ui.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
working-directory: ui
1111
shell: bash
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
- name: install deps
1515
uses: ./.github/actions/cached-ui-deps
1616
- name: Code linting
@@ -22,7 +22,7 @@ jobs:
2222
- name: Pack tarball
2323
run: npm pack
2424
- name: Upload tarball as artifact
25-
uses: actions/upload-artifact@v5
25+
uses: actions/upload-artifact@v7
2626
with:
2727
name: UCC-UI-lib-tarball
2828
path: "ui/*.tgz"
@@ -34,7 +34,7 @@ jobs:
3434
working-directory: ui
3535
shell: bash
3636
steps:
37-
- uses: actions/checkout@v5
37+
- uses: actions/checkout@v6
3838
- name: install deps
3939
uses: ./.github/actions/cached-ui-deps
4040
- name: Build UCC library
@@ -44,7 +44,7 @@ jobs:
4444
- name: List deps into dependencies.txt
4545
run: yarn list --prod --depth 0 | python ../.github/scripts/format_yarn_deps.py --output-file=dist/dependencies.txt
4646
- name: Upload dist with name UCC-UI-build
47-
uses: actions/upload-artifact@v5
47+
uses: actions/upload-artifact@v7
4848
with:
4949
name: UCC-UI-build
5050
path: ui/dist/build

.github/workflows/code-cov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
curl -sSL https://install.python-poetry.org | python3 - --version 2.1.4
2727
2828
- name: Checkout develop branch
29-
uses: actions/checkout@v5
29+
uses: actions/checkout@v6
3030
with:
3131
ref: develop
3232

@@ -39,7 +39,7 @@ jobs:
3939
poetry run pytest --cov=splunk_add_on_ucc_framework --cov-report=json:/tmp/coverage/develop-coverage.json tests/unit
4040
4141
- name: Checkout PR branch
42-
uses: actions/checkout@v5
42+
uses: actions/checkout@v6
4343

4444
- name: Install dependencies
4545
run: |

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
contents: write
1818
pages: write
1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v6
2121
- uses: actions/setup-python@v6
2222
with:
2323
python-version: 3.9

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
shell: bash
3232
steps:
3333
- name: Checkout code
34-
uses: actions/checkout@v5
34+
uses: actions/checkout@v6
3535
with:
3636
ref: ${{ github.event.inputs.branch }}
3737

.github/workflows/storybook-visual.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
env:
1313
isPR: ${{ github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'main' }}
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
with:
1717
lfs: true
1818
ref: ${{ github.event.pull_request.head.ref }}
@@ -30,7 +30,7 @@ jobs:
3030
"npx wait-on tcp:6006 && yarn test-storybook ${{ env.isPR && '-u' || ''}}"
3131
- name: Import GPG key
3232
if: ${{ env.isPR }}
33-
uses: crazy-max/ghaction-import-gpg@v6
33+
uses: crazy-max/ghaction-import-gpg@v7
3434
with:
3535
git_committer_name: ${{ secrets.SA_GH_USER_NAME }}
3636
git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
git add \*.png
4545
git diff --staged --exit-code || (git commit -S -m "update screenshots" && git push)
46-
- uses: actions/upload-artifact@v5
46+
- uses: actions/upload-artifact@v7
4747
name: "Upload test report"
4848
if: ${{ failure() }}
4949
with:

.github/workflows/ta-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Checkout UCC Framework Repository
37-
uses: actions/checkout@v5
37+
uses: actions/checkout@v6
3838
with:
3939
path: UCC
4040

@@ -55,7 +55,7 @@ jobs:
5555
run: poetry build
5656

5757
- name: Upload UCC Artifact
58-
uses: actions/upload-artifact@v5
58+
uses: actions/upload-artifact@v7
5959
with:
6060
name: ucc-package-whl
6161
path: UCC/dist/*.whl
@@ -96,7 +96,7 @@ jobs:
9696
runs-on: ubuntu-latest
9797
steps:
9898
- name: Checkout Target Add-on Repository
99-
uses: actions/checkout@v5
99+
uses: actions/checkout@v6
100100
with:
101101
repository: ${{ matrix.target_repo }}
102102
path: TA
@@ -112,13 +112,13 @@ jobs:
112112
run: curl -sSL https://install.python-poetry.org | python3 - --version ${{env.POETRY_VERSION}} && poetry self add poetry-plugin-export@${{env.POETRY_EXPORT_PLUGIN_VERSION}}
113113

114114
- name: Download UCC Artifact
115-
uses: actions/download-artifact@v6
115+
uses: actions/download-artifact@v8
116116
with:
117117
name: ucc-package-whl
118118
path: UCC
119119
- name: Importing GPG key
120120
if: success() && github.event.inputs.run_pipelines == 'true'
121-
uses: crazy-max/ghaction-import-gpg@v6
121+
uses: crazy-max/ghaction-import-gpg@v7
122122
with:
123123
git_committer_name: ${{ secrets.SA_GH_USER_NAME }}
124124
git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}

docs/metadata.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Metadata contains general information about add-on build.
1616
| apiVersion | string | [Deprecated] Version of used API. |
1717
| version<span class="required-asterisk">\*</span> | string | Version of the add-on. |
1818
| schemaVersion | string | Version of JSON schema used in build process. |
19-
| \_uccVersion | string | Version of UCC used during build process. Set by UCC itself. |
2019
| hideUCCVersion | boolean | Hide the label 'Made with UCC' on the Configuration page. |
2120
| checkForUpdates | boolean | Ability to configure `app.conf->package.check_for_updates` from globalConfig file. Default `true`. |
2221
| defaultView | string | Define which view should be loaded on TA load. One of `"inputs"`, `"configuration"`, `"dashboard"` or `"search"`. Default `configuration`. |

0 commit comments

Comments
 (0)