Skip to content
This repository was archived by the owner on Sep 28, 2023. It is now read-only.
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
4 changes: 4 additions & 0 deletions .github/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

find packages -type f -name app.* -exec sed -i -e "s/0.0.0/${1}/g" {} +
find packages -type d -name default -exec ./.github/package.sh {} \;
3 changes: 3 additions & 0 deletions .github/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

slim package $(dirname $1) -o /tmp
File renamed without changes.
File renamed without changes.
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: release
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install dependencies
run: |
pip3 install https://download.splunk.com/misc/packaging-toolkit/splunk-packaging-toolkit-1.0.1.tar.gz
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 16
# you can set branches for semantic-release above v16.
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'master',
{
name: 'develop',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
]
extra_plugins: |
@semantic-release/changelog@3.0.0
@semantic-release/exec
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.venv
21 changes: 21 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"publishCmd": "./.github/build.sh ${nextRelease.version}"
}
],
[
"@semantic-release/github",
{
"assets": [
"/tmp/addonfactory*"
],
"addReleases": "top"
}
]
]
}
87 changes: 87 additions & 0 deletions packages/all/common/addonfactory_all_indexes/app.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"schemaVersion": "2.0.0",
"info": {
"title": null,
"id": {
"group": null,
"name": "addonfactory_all_indexes",
"version": "0.0.0"
},
"author": [],
"releaseDate": null,
"description": null,
"classification": {
"intendedAudience": null,
"categories": [],
"developmentStatus": null
},
"commonInformationModels": null,
"license": {
"name": null,
"text": null,
"uri": null
},
"privacyPolicy": {
"name": null,
"text": null,
"uri": null
},
"releaseNotes": {
"name": null,
"text": null,
"uri": null
}
},
"dependencies": null,
"tasks": null,
"inputGroups": null,
"incompatibleApps": null,
"platformRequirements": null,
"supportedDeployments": [
"*"
],
"targetWorkloads": ["*"]
}
# The following sections can be customized and added to the manifest. For detailed information,
# see the documentation at http://dev.splunk.com/view/packaging-toolkit/SP-CAAAE9V
#
# Lists the app dependencies and version requirements
# "dependencies": {
# "<app-group>:<app-name>": {
# "version": "*",
# "package": "<source-package-name>",
# "optional": [true|false]
# }
# }
#
# Lists the inputs that belong on the search head rather than forwarders
# "tasks": []
#
# Lists the possible input groups with app dependencies, and inputs that should be included
# "inputGroups": {
# "<group-name>": {
# "requires": {
# "<app-group>:<app-name>": ["<dependent-input-groups>"]
# },
# "inputs": ["<defined-inputs>"]
# }
# }
#
# Lists the app IDs that cannot be installed on the system alongside this app
# "incompatibleApps": {
# "<app-group>:<app-name>": "<version>"
# }
#
# Specify the platform version requirements for this app
# "platformRequirements": {
# "splunk": {
# "Enterprise": "<version>"
# }
# }
#
# Lists the supported deployment types this app can be installed on
# "supportedDeployments": ["*" | "_standalone" | "_distributed" | "_search_head_clustering"]
#
# Lists the targets where app can be installed to
# "targetWorkloads": ["*" | "_search_heads" | "_indexers" | "_forwarders"]
#
13 changes: 13 additions & 0 deletions packages/all/common/addonfactory_all_indexes/default/app.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[launcher]
version= 0.0.0

[package]
check_for_updates = false
id = addonfactory_all_indexes

[install]
allows_disable = false

[ui]
is_visible = false

This file was deleted.

87 changes: 87 additions & 0 deletions packages/all/sh/addonfactory_sh_web/app.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"schemaVersion": "2.0.0",
"info": {
"title": null,
"id": {
"group": null,
"name": "addonfactory_sh_web",
"version": "0.0.0"
},
"author": [],
"releaseDate": null,
"description": null,
"classification": {
"intendedAudience": null,
"categories": [],
"developmentStatus": null
},
"commonInformationModels": null,
"license": {
"name": null,
"text": null,
"uri": null
},
"privacyPolicy": {
"name": null,
"text": null,
"uri": null
},
"releaseNotes": {
"name": null,
"text": null,
"uri": null
}
},
"dependencies": null,
"tasks": null,
"inputGroups": null,
"incompatibleApps": null,
"platformRequirements": null,
"supportedDeployments": [
"*"
],
"targetWorkloads": ["*"]
}
# The following sections can be customized and added to the manifest. For detailed information,
# see the documentation at http://dev.splunk.com/view/packaging-toolkit/SP-CAAAE9V
#
# Lists the app dependencies and version requirements
# "dependencies": {
# "<app-group>:<app-name>": {
# "version": "*",
# "package": "<source-package-name>",
# "optional": [true|false]
# }
# }
#
# Lists the inputs that belong on the search head rather than forwarders
# "tasks": []
#
# Lists the possible input groups with app dependencies, and inputs that should be included
# "inputGroups": {
# "<group-name>": {
# "requires": {
# "<app-group>:<app-name>": ["<dependent-input-groups>"]
# },
# "inputs": ["<defined-inputs>"]
# }
# }
#
# Lists the app IDs that cannot be installed on the system alongside this app
# "incompatibleApps": {
# "<app-group>:<app-name>": "<version>"
# }
#
# Specify the platform version requirements for this app
# "platformRequirements": {
# "splunk": {
# "Enterprise": "<version>"
# }
# }
#
# Lists the supported deployment types this app can be installed on
# "supportedDeployments": ["*" | "_standalone" | "_distributed" | "_search_head_clustering"]
#
# Lists the targets where app can be installed to
# "targetWorkloads": ["*" | "_search_heads" | "_indexers" | "_forwarders"]
#
13 changes: 13 additions & 0 deletions packages/all/sh/addonfactory_sh_web/default/app.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[launcher]
version= 0.0.0

[package]
check_for_updates = false
id = addonfactory_sh_web

[install]
allows_disable = false

[ui]
is_visible = false