Fix submodules error checking in prepare-gerrit-repos

The prepare-gerrit-repos role has an error checking task that ensures
git submodules are properly checked out for projects under test. There
was a problem with this check in that it would check all projects in the
zuul projects list against the valid submodule criteria even if that
particular project is not a submodule.

Not being a submodule evaluated to not being a valid submodule. This
makes sense except for in these cases we don't care to check submodule
critera for non submodules. Simply skip this check for repos that are
not submodules.

Bug: Issue 40015618
Change-Id: Ia16bf721d4d6d65be23ab54f3c41c05faa20a759
1 file changed
tree: 3009ca26830dc829798d99ebc32d5edf3834d881
  1. playbooks/
  2. roles/
  3. zuul.d/
  4. .gitreview
  5. LICENSE
  6. README.md
README.md

This repository holds job definition for the Gerrit Code Review instance of Zuul.