Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/cached-ui-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Get & Cache Yarn Dependencies"
runs:
using: composite
steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
cache: 'yarn'
cache-dependency-path: 'ui/yarn.lock'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/automatic_doc_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
env:
isPR: ${{ github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'main' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ inputs.python-version }}

Expand Down
68 changes: 34 additions & 34 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
outputs:
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- id: matrix
uses: splunk/[email protected]

fossa-scan:
continue-on-error: true
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
fossa analyze --debug
Expand Down Expand Up @@ -59,8 +59,8 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.9"
- uses: pre-commit/[email protected]
Expand All @@ -75,7 +75,7 @@ jobs:
compliance-copyrights:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: apache/[email protected]

build-ui:
Expand Down Expand Up @@ -103,16 +103,16 @@ jobs:
- build-ui
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.9"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: UCC-UI-build
path: built-ui/

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
if: "! github.event.pull_request.head.repo.fork "
with:
name: THIRDPARTY
Expand Down Expand Up @@ -141,8 +141,8 @@ jobs:
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: curl -sSL https://install.python-poetry.org | python3 - --version ${{env.POETRY_VERSION}} && poetry self add poetry-plugin-export@${{env.POETRY_EXPORT_PLUGIN_VERSION}}
Expand Down Expand Up @@ -174,12 +174,12 @@ jobs:
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: actions/checkout@v5
- uses: actions/download-artifact@v5
with:
name: UCC-UI-build
path: built-ui/
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: |
Expand All @@ -203,11 +203,11 @@ jobs:
needs:
- build-ui
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.9"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: UCC-UI-build
path: built-ui/
Expand Down Expand Up @@ -257,11 +257,11 @@ jobs:
- "9"
- "10"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.9"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: Splunk_TA_UCCExample-raw-output
path: output/
Expand Down Expand Up @@ -316,8 +316,8 @@ jobs:
- "self-service"
- "splunk_appinspect"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.9"
- run: curl -sSL https://install.python-poetry.org | python3 - --version ${{env.POETRY_VERSION}} && poetry self add poetry-plugin-export@${{env.POETRY_EXPORT_PLUGIN_VERSION}}
Expand Down Expand Up @@ -346,8 +346,8 @@ jobs:
tags:
- "cloud"
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: actions/checkout@v5
- uses: actions/download-artifact@v5
with:
name: Splunk_TA_UCCExample-packaged
path: build/package
Expand All @@ -371,11 +371,11 @@ jobs:
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.9"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: UCC-UI-build
path: built-ui/
Expand Down Expand Up @@ -415,11 +415,11 @@ jobs:
matrix:
splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: UCC-UI-build
path: built-ui/
Expand Down Expand Up @@ -489,22 +489,22 @@ jobs:
contents: read
if: "! github.event.pull_request.head.repo.fork "
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
# Very important: semantic-release won't trigger a tagged
# build if this is not set false
persist-credentials: false
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: "3.9"
- name: install UI deps
uses: ./.github/actions/cached-ui-deps
- run: curl -sSL https://install.python-poetry.org | python3 - --version ${{env.POETRY_VERSION}} && poetry self add poetry-plugin-export@${{env.POETRY_EXPORT_PLUGIN_VERSION}}
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: UCC-UI-build
path: built-ui/
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: THIRDPARTY
- run: cp -f THIRDPARTY NOTICE
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
working-directory: ui
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: install deps
uses: ./.github/actions/cached-ui-deps
- name: Code linting
Expand All @@ -34,7 +34,7 @@ jobs:
working-directory: ui
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: install deps
uses: ./.github/actions/cached-ui-deps
- name: Build UCC library
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: read
steps:
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.9"

Expand All @@ -26,7 +26,7 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 - --version 2.1.4 && poetry self add [email protected]

- name: Checkout develop branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: develop

Expand All @@ -39,7 +39,7 @@ jobs:
poetry run pytest --cov=splunk_add_on_ucc_framework --cov-report=json:/tmp/coverage/develop-coverage.json tests/unit

- name: Checkout PR branch
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install dependencies
run: |
Expand All @@ -50,7 +50,7 @@ jobs:
poetry run pytest --cov=splunk_add_on_ucc_framework --cov-report=json:/tmp/coverage/pr-coverage.json tests/unit

- name: Process coverage data and comment on PR
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { default: compareDiff } = await import('${{ github.workspace }}/.github/scripts/code-coverage.mjs')
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
contents: write
pages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: 3.9
- name: install deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.inputs.branch }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook-visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env:
isPR: ${{ github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'main' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ta-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout UCC Framework Repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: UCC

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.9"

Expand Down Expand Up @@ -92,23 +92,23 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Target Add-on Repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: ${{ matrix.target_repo }}
path: TA
token: ${{ secrets.GH_TOKEN_ADMIN }}
ref: ${{ github.event.inputs.target_branch }}

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.9"

- name: Install Poetry ${{env.POETRY_VERSION}}
run: curl -sSL https://install.python-poetry.org | python3 - --version ${{env.POETRY_VERSION}} && poetry self add poetry-plugin-export@${{env.POETRY_EXPORT_PLUGIN_VERSION}}

- name: Download UCC Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: ucc-package-whl
path: UCC
Expand Down
Loading