-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update some of the CI dependencies, remove `review_secrets` job and remove `dependabot.yml` config as well.
- Loading branch information
Showing
78 changed files
with
175 additions
and
205 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,15 @@ jobs: | |
outputs: | ||
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- id: matrix | ||
uses: splunk/addonfactory-test-matrix-action@v1 | ||
|
||
fossa-scan: | ||
continue-on-error: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- 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 | ||
|
@@ -36,7 +36,7 @@ jobs: | |
env: | ||
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} | ||
- name: upload THIRDPARTY file | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: THIRDPARTY | ||
path: /tmp/THIRDPARTY | ||
|
@@ -49,47 +49,32 @@ jobs: | |
compliance-copyrights: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: apache/skywalking-eyes@v0.4.0 | ||
- uses: actions/checkout@v4 | ||
- uses: apache/skywalking-eyes@v0.6.0 | ||
|
||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.7" | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
|
||
semgrep: | ||
runs-on: ubuntu-latest | ||
name: security-sast-semgrep | ||
if: github.actor != 'dependabot[bot]' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- id: semgrep | ||
uses: semgrep/semgrep-action@v1 | ||
with: | ||
publishToken: ${{ secrets.SEMGREP_PUBLISH_TOKEN }} | ||
|
||
review_secrets: | ||
name: security-detect-secrets | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: false | ||
fetch-depth: "0" | ||
- name: Trufflehog Actions Scan | ||
uses: edplato/[email protected] | ||
with: | ||
scanArguments: "--max_dept 50 -x .github/workflows/exclude-patterns.txt" | ||
|
||
test-splunk-unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Install dependencies | ||
|
@@ -102,10 +87,10 @@ jobs: | |
name: Test Docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.7 | ||
- name: Install and run tests | ||
|
@@ -123,13 +108,12 @@ jobs: | |
- compliance-copyrights | ||
- test-splunk-doc | ||
- test-splunk-unit | ||
- review_secrets | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Setup for testing | ||
|
@@ -156,13 +140,13 @@ jobs: | |
docker container create --name dummy \ | ||
-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@v3 | ||
docker cp dummy:/work/test-results/test.xml test-results-${{ matrix.splunk.version }} | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: splunk ${{ matrix.splunk-version }} external test artifacts | ||
name: splunk ${{ matrix.splunk.version }} external test artifacts | ||
path: | | ||
test-results-${{ matrix.splunk-version }} | ||
test-results-${{ matrix.splunk.version }} | ||
test-splunk-matrix: | ||
needs: | ||
|
@@ -172,7 +156,6 @@ jobs: | |
- compliance-copyrights | ||
- test-splunk-doc | ||
- test-splunk-unit | ||
- review_secrets | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
@@ -192,10 +175,10 @@ jobs: | |
"splunk_app_req_broken", | ||
] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.7 | ||
- run: | | ||
|
@@ -209,16 +192,16 @@ jobs: | |
- test-splunk-matrix | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
# Very Important semantic-release won't trigger a tagged | ||
# build if this is not set false | ||
submodules: false | ||
persist-credentials: false | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.7" | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: THIRDPARTY | ||
- name: Update Notices | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.