Skip to content
Open
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
66 changes: 33 additions & 33 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ concurrency:

jobs:
meta:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
matrix_supportedSplunk: ${{ steps.matrix.outputs.latestSplunk }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- id: matrix
uses: splunk/addonfactory-test-matrix-action@v3.1.2
uses: splunk/addonfactory-test-matrix-action@v3.3.6

fossa-scan:
continue-on-error: true
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: run fossa anlyze and create report
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
Expand All @@ -36,7 +36,7 @@ jobs:
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
- name: upload THIRDPARTY file
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: THIRDPARTY
path: /tmp/THIRDPARTY
Expand All @@ -47,18 +47,18 @@ jobs:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

compliance-copyrights:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: apache/skywalking-eyes@v0.6.0
- uses: actions/checkout@v7
- uses: apache/skywalking-eyes@v0.9.0

pre-commit:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.13"
python-version: "3.14"
- uses: pre-commit/action@v3.0.1

semgrep:
Expand All @@ -67,14 +67,14 @@ jobs:
SEMGREP_KEY: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}

test-splunk-unit:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
submodules: true
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.13"
python-version: "3.14"
- name: Generate GitHub App Token
id: app-token
uses: actions/create-github-app-token@v3
Expand All @@ -91,7 +91,7 @@ jobs:
poetry run pytest -v tests/unit

test-splunk-external:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- meta
- pre-commit
Expand All @@ -103,7 +103,7 @@ jobs:
matrix:
splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
submodules: true
- name: Generate GitHub App Token
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
-v pytest-splunk-addon_results:/work/test-results \
registry.access.redhat.com/ubi7/ubi
docker cp dummy:/work/test-results/test.xml test-results-${{ matrix.splunk.version }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: always()
with:
name: splunk ${{ matrix.splunk.version }} external test artifacts
Expand All @@ -151,7 +151,7 @@ jobs:
- fossa-scan
- compliance-copyrights
- test-splunk-unit
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -172,7 +172,7 @@ jobs:
"splunk_app_req_with_ep",
]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
submodules: true
- name: Generate GitHub App Token
Expand All @@ -182,9 +182,9 @@ jobs:
client-id: ${{ secrets.GH_APP_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.13"
python-version: "3.14"
- run: |
git config --global --add url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com".insteadOf https://github.com
git config --global --add url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com".insteadOf ssh://git@github.com
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
- fossa-scan
- compliance-copyrights
- test-splunk-unit
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -234,7 +234,7 @@ jobs:
# label: "7.x"
name: "CIM models ${{ matrix.cim-models.label }} / Splunk ${{ matrix.splunk.version }}"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
submodules: true
- name: Generate GitHub App Token
Expand All @@ -244,9 +244,9 @@ jobs:
client-id: ${{ secrets.GH_APP_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.13"
python-version: "3.14"
- name: Install PSA with CIM models ${{ matrix.cim-models.label }}
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
Expand Down Expand Up @@ -292,9 +292,9 @@ jobs:
- test-splunk-external
- test-splunk-matrix
- test-cim-models-versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# Very Important semantic-release won't trigger a tagged
# build if this is not set false
Expand All @@ -307,10 +307,10 @@ jobs:
client-id: ${{ secrets.GH_APP_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.13"
- uses: actions/download-artifact@v4
python-version: "3.14"
- uses: actions/download-artifact@v8
with:
name: THIRDPARTY
- name: Update Notices
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
contents: write
pages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: 3.8
python-version: 3.14
- run: |
curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1
pip install mkdocs mkdocs-material mkdocstrings-python
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM ubuntu:22.04
FROM ubuntu:26.04

RUN mkdir -p /work/tests
RUN mkdir -p /work/test-results/functional
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.uf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
# TODO: go back to latest version when fixed
ARG SPLUNK_VERSION=8.2.6
FROM splunk/universalforwarder:8.2.6
FROM splunk/universalforwarder:10.4.3
ARG SPLUNK_VERSION=8.2.6
ARG SPLUNK_APP_ID=TA_UNKNOWN
ARG SPLUNK_APP_PACKAGE=package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
os: [ubuntu-latest]
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
with:
submodules: true
- name: Set up OS=${{ matrix.os }}::Python=${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install HUB CLI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
os: [ubuntu-latest]
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
with:
submodules: true
- name: Set up OS=${{ matrix.os }}::Python=${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install HUB CLI
Expand Down
Loading
Loading