-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define Additional Scripts via Separate Config Files (#116)
It is now possible to define additional scripts for the exporter via separate config files. For that a new option `scripts_configs` was added, which can be used to set a list of files, which are containing additional script configuration. The configuration must look as follows: ``` script_configs: - /path/to/file.yaml ``` The content of the additional scripts configuration file, can only contain a list of scripts, e.g. ```yaml - name: test command: ./examples/test.sh ```
- Loading branch information
1 parent
44ddcaf
commit ebeaf94
Showing
4 changed files
with
38 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- name: test | ||
command: ./examples/test.sh |
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