From 38333f8066058e1ba4890b3b23c6801d46ebce71 Mon Sep 17 00:00:00 2001 From: Shakeel Mohamed Date: Wed, 31 Oct 2018 17:08:43 -0700 Subject: [PATCH 1/2] Run CI against Splunk 7.2 --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index fad8bf2a..15891c00 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,12 +7,12 @@ init: # Build 6.2 and 6.3 environment: matrix: - - SPLUNK_VERSION: 6.6.5 - SPLUNK_BUILD: b119a2a8b0ad - SDK_APP_VERSION: 1.0.0 - SPLUNK_VERSION: 7.0.1 SPLUNK_BUILD: 2b5b15c4ee89 SDK_APP_VERSION: 1.0.0 + - SPLUNK_VERSION: 7.2.0 + SPLUNK_BUILD: 8c86330ac18 + SDK_APP_VERSION: 1.0.0 install: From ebcd3e7c7c1a88e26c7109b691e027869eb426e9 Mon Sep 17 00:00:00 2001 From: Shakeel Mohamed Date: Wed, 31 Oct 2018 17:36:25 -0700 Subject: [PATCH 2/2] add default Splunk user to CI --- appveyor.yml | 4 +++- server_ssl.conf => ci/server_ssl.conf | 0 ci/user-seed.conf | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) rename server_ssl.conf => ci/server_ssl.conf (100%) create mode 100644 ci/user-seed.conf diff --git a/appveyor.yml b/appveyor.yml index 15891c00..26883ee0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,7 +27,9 @@ install: - cmd: dir c:\splunk\splunk\etc\apps # temp workaround to resolve tsl1.2 not supported by .net, downgrade splunk to use tsl1.0 -- cmd: type server_ssl.conf >> C:\splunk\splunk\etc\system\local\server.conf +- cmd: type ci\server_ssl.conf >> C:\splunk\splunk\etc\system\local\server.conf +# Create admin:changme user +- cmd: type ci\user-seed.conf >> C:\splunk\splunk\etc\system\local\user-seed.conf # Install the Splunk service and start it - cmd: cmd /C "set PATH=C:\splunk\splunk && C:\splunk\splunk\bin\splunk.exe enable boot-start" diff --git a/server_ssl.conf b/ci/server_ssl.conf similarity index 100% rename from server_ssl.conf rename to ci/server_ssl.conf diff --git a/ci/user-seed.conf b/ci/user-seed.conf new file mode 100644 index 00000000..00816ef6 --- /dev/null +++ b/ci/user-seed.conf @@ -0,0 +1,4 @@ +# create admin user +[user_info] +USERNAME = admin +PASSWORD = changeme \ No newline at end of file