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
18 changes: 18 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and AppInspect

on:
push:
branches: [main]
pull_request:

jobs:
build-appinspect:
uses: Bre77/splunk_nats/.github/workflows/_reusable-build-appinspect.yml@main
with:
app_dir: "."
use_ucc_gen: false
build_command: "./.build.sh"
package_glob: "*.spl"
node_version: "20"
splunk_python_version: "3.9"
fail_on: "errors"
5 changes: 5 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ The `@splunk/*` frontend stack must move as one unit. `@splunk/react-page` pins

- The stack stays on React 16 and styled-components 5: no published `@splunk/react-ui` accepts React 19, and `react-ui` still peers styled-components `^5.3.10`. React 16->18 and styled-components 6 are separate, independent efforts.

## Release

- Version lives in two places, kept in sync: `package.json` `version` and `src/main/resources/splunk/default/app.conf` (`[id]` and `[launcher]` stanzas). Splunkbase republish requires bumping past the last published version.
- `.github/workflows/validate.yml` runs `./.build.sh` (writes `badrcm.spl` to repo root) via `Bre77/splunk_nats`'s reusable build+AppInspect workflow, gated on `fail_on: errors`. No publish step or secrets live in CI; publishing to Splunkbase is a separate manual step.

## Maintaining this file

Keep this file for knowledge useful to almost every future agent session in this project.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "badrcm",
"version": "1.0.3",
"version": "1.0.4",
"license": "https://cdn.splunkbase.splunk.com/static/misc/eula.html",
"splunkbaseid": 6277,
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/splunk/default/app.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[id]
name = badrcm
version = 1.0.3
version = 1.0.4

[ui]
is_visible = 1
Expand All @@ -10,7 +10,7 @@ supported_themes = light,dark
[launcher]
author = s7orm
description = Tool for managing Splunk configuration locally and remotely using the REST API.
version = 1.0.3
version = 1.0.4

[package]
check_for_updates = 1
Expand Down
Loading