summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2021-04-26 13:06:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-26 13:28:32 +0000
commit345406dea07b58217acc6fef713337bde64f1a75 (patch)
treeaeca42bc0306f413f132711ac49a797e6d89b12f /etc
parent6fb420bca5031e4864db1260a490b21cc699a129 (diff)
downloadmongo-345406dea07b58217acc6fef713337bde64f1a75.tar.gz
SERVER-55832 Add lint_shellscripts and run shfmt on all .sh files in evergreen
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index b480ac82e38..d8d8eb13b84 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -3705,6 +3705,15 @@ tasks:
python: ${python}
workdir: ${workdir}
+- name: lint_shellscripts
+ commands:
+ - command: subprocess.exec
+ type: test
+ params:
+ binary: bash
+ args:
+ - "src/evergreen/lint_shellscripts.sh"
+
- name: lint_errorcodes
commands:
- func: "set task expansion macros"
@@ -9827,6 +9836,7 @@ buildvariants:
- name: lint_cpplint
- name: lint_fuzzer_sanity_patch
- name: lint_yaml
+ - name: lint_shellscripts
- name: lint_errorcodes
- name: test_api_version_compatibility
- name: burn_in_tests_gen