-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set NODE_ENV=production for bin/* (#139649)
* Set NODE_ENV=production for bin/* * add tests * Revert "Set NODE_ENV=production for bin/*" This reverts commit 8012ed6. * Revert "Revert "Set NODE_ENV=production for bin/*"" This reverts commit 2fd499c.
- Loading branch information
Showing
16 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
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
13 changes: 13 additions & 0 deletions
13
test/package/roles/assert_encryption_keys_cli/tasks/main.yml
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,13 @@ | ||
- name: "help generate" | ||
become: true | ||
command: | ||
cmd: /usr/share/kibana/bin/kibana-encryption-keys help generate | ||
register: kibana_encryption_keys_help_generate | ||
|
||
- debug: | ||
msg: "{{ kibana_encryption_keys_help_generate }}" | ||
|
||
- name: assert kibana-encryption-keys provides help | ||
assert: | ||
that: | ||
- kibana_encryption_keys_help_generate.failed == false |
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,14 @@ | ||
- name: "list" | ||
become: true | ||
command: | ||
cmd: /usr/share/kibana/bin/kibana-plugin list | ||
register: kibana_plugin_list | ||
|
||
- debug: | ||
msg: "{{ kibana_plugin_list }}" | ||
|
||
- name: assert kibana-plugin lists installed plugins | ||
assert: | ||
that: | ||
- kibana_plugin_list.failed == false | ||
- kibana_plugin_list.stdout == "No plugins installed." |
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,13 @@ | ||
- name: "--help" | ||
become: true | ||
command: | ||
cmd: /usr/share/kibana/bin/kibana-setup --help | ||
register: kibana_setup_help | ||
|
||
- debug: | ||
msg: "{{ kibana_setup_help }}" | ||
|
||
- name: assert kibana-setup provides help text | ||
assert: | ||
that: | ||
- kibana_setup_help.failed == false |
13 changes: 13 additions & 0 deletions
13
test/package/roles/assert_verification_code_cli/tasks/main.yml
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,13 @@ | ||
- name: "--help" | ||
become: true | ||
command: | ||
cmd: /usr/share/kibana/bin/kibana-verification-code --help | ||
register: kibana_verification_code_help | ||
|
||
- debug: | ||
msg: "{{ kibana_verification_code_help }}" | ||
|
||
- name: assert kibana-verification-code provides help | ||
assert: | ||
that: | ||
- kibana_verification_code_help.failed == false |
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