Skip to content

Commit 3debbeb

Browse files
committed
fix: standardize app naming and update deployment path source
1 parent 5a3fe72 commit 3debbeb

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

apps/Splunk_TA_app1/default/app.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ version = 1.0.8
1111

1212
[ui]
1313
is_visible = 0
14-
label = app1
14+
label = App1
1515
docs_section_override = AddOns:released
1616

1717
[package]
18-
id = Splunk_TA_app1
18+
id = Splunk_TA_App1
1919

2020
[triggers]
2121
reload.addon_builder = simple

deploy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def main():
4545

4646
### 2. Upload_local_configuration ###
4747
# Check if the configuration exists for the app
48-
path = check_all_letter_cases(sys.argv[1], app)
48+
path = os.path.join("environments", sys.argv[1], app)
49+
print(path)
4950
if path:
5051
unpack_merge_conf_and_meta_repack(app, path)
5152
else:

environments/uat/es/deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
target:
22
url: https://staging.admin.splunk.com/scv-shw-217bd09bcbf264/adminconfig/v2/apps/victoria
33
apps:
4-
Splunk_TA_app1:
4+
Splunk_TA_App1:
55
s3-bucket: splunk-apps-deployment
66
source: apps/Splunk_TA_app1.tgz
77
config:

0 commit comments

Comments
 (0)