This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #243 from splunk/ci/common-template-rollout-github…
…-actions ci: bump repository configuration from template-refs/heads/main
- Loading branch information
Showing
17 changed files
with
145 additions
and
50 deletions.
There are no files selected for viewing
File renamed without changes.
Empty file.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"template-version": "v1.0.0" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,3 @@ | ||
## Setup of developer env | ||
# Add-on documentation | ||
|
||
Note: Must install docker desktop, vscode or pycharm pro optional | ||
|
||
Note2: Appinspect requires libmagic verify this has been installed correctly each time a new workstation/vm is used https://dev.splunk.com/enterprise/docs/releaseapps/appinspect/splunkappinspectclitool/installappinspect | ||
|
||
```bash | ||
git clone git@github.com:splunk/<repo slug>.git | ||
cd <repo dir> | ||
git submodule update --init --recursive | ||
|
||
#setup python venv must be 3.7 | ||
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -m venv .venv | ||
source .venv/bin/activate | ||
pip install -r requirements_dev.txt | ||
pip install https://download.splunk.com/misc/appinspect/splunk-appinspect-latest.tar.gz | ||
|
||
``` | ||
|
||
|
||
## Test | ||
|
||
Using docker | ||
|
||
```bash | ||
pytest | ||
``` | ||
|
||
Using external Splunk instance with Eventgen and app pre-installed | ||
|
||
```bash | ||
pytest --splunk-type=external --splunk-host=something --splunk-user=foo --splunk-password=something | ||
``` | ||
For general add-on documentation please follow use this [README](https://github.com/splunk/addonfactory-repository-template/blob/main/README-addons.md) file. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base", | ||
":semanticCommitTypeAll(ci)" | ||
], | ||
"prConcurrentLimit": 0, | ||
"prHourlyLimit": 0, | ||
"rangeStrategy": "pin", | ||
"dependencyDashboardApproval": true, | ||
"transitiveRemediation": true, | ||
"enabledManagers": ["poetry", "npm", "gradle"], | ||
"separateMinorPatch": true, | ||
"labels": ["dependencies"], | ||
"semanticCommits": "enabled", | ||
"lockFileMaintenance": { | ||
"enabled": true, | ||
"extends": [ | ||
"schedule:daily" | ||
] | ||
}, | ||
"vulnerabilityAlerts": { | ||
"labels": ["dependencies", "security"] | ||
}, | ||
"packageRules": [ | ||
{ | ||
"groupName": "splunk dependencies", | ||
"matchPackageNames": [ | ||
"splunktaucclib", | ||
"splunktalib", | ||
"splunk-add-on-ucc-framework", | ||
"pytest-splunk-addon", | ||
"splunk-packaging-toolkit", | ||
"pytest-splunk-addon-ui-smartx", | ||
"solnlib" | ||
], | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"labels": ["dependencies", "splunk-packages", "minor", "patch"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"matchManagers": ["poetry"], | ||
"groupName": "python dependencies", | ||
"labels": ["dependencies", "python", "patch"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["minor"], | ||
"matchManagers": ["poetry"], | ||
"labels": ["dependencies", "python", "minor"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"matchManagers": ["poetry"], | ||
"labels": ["dependencies", "python", "major"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"matchManagers": ["npm"], | ||
"groupName": "javascript dependencies", | ||
"labels": ["dependencies", "javascript", "patch"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["minor"], | ||
"matchManagers": ["npm"], | ||
"labels": ["dependencies", "javascript", "minor"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"matchManagers": ["npm"], | ||
"labels": ["dependencies", "javascript", "major"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"matchManagers": ["gradle"], | ||
"groupName": "java dependencies", | ||
"labels": ["dependencies", "java", "patch"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["minor"], | ||
"matchManagers": ["gradle"], | ||
"labels": ["dependencies", "java", "minor"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"matchManagers": ["gradle"], | ||
"labels": ["dependencies", "java", "major"] | ||
} | ||
] | ||
} |