engine: Add docs verify job 91/3991/1
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 12 Mar 2020 09:21:37 +0000 (09:21 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 12 Mar 2020 09:22:02 +0000 (09:22 +0000)
Change-Id: I41ce3132ead4fe98cf3b8b98ff05fcbd17982eec

jjb/engine/engine-verify-tox.yaml
jjb/engine/scripts/engine-verify-tox.sh

index 4ed2c3f51717672c90621b452376c33cdc543933..f105de43f3b82c0ac3616b801f0118080a60677f 100644 (file)
           name: docs
           condition: ALWAYS
           projects:
-            - name: 'engine-verify-ansible-lint-{stream}'
+            - name: 'engine-verify-docs-{stream}'
               current-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
index b3a64c6edd41fbbaf90bd80e02d5ea56d4bec1d2..0d0870fe8407321721f104c79069ce38281afc7f 100755 (executable)
@@ -32,10 +32,11 @@ run_tox() {
 
   echo "Info  : Preparing to run tox for the repo $GERRIT_PROJECT"
 
-  # set defaults
-  VERBOSITY=${VERBOSITY:-false}
+  # set and export defaults
   LINT_TYPE="${LINT_TYPE:-ansible-lint}"
-  export VERBOSITY LINT_TYPE
+  REPOS_TO_IGNORE="${REPOS_TO_IGNORE:-none}"
+  VERBOSITY=${VERBOSITY:-false}
+  export LINT_TYPE REPOS_TO_IGNORE VERBOSITY
 
   # check if the change is for a repo we should ignore
   if [[ "$REPOS_TO_IGNORE" =~ "$GERRIT_PROJECT" ]]; then