fix: validation script "unbound variable" errors
requested to merge gitlab-community/modelops/applied-ml/code-suggestions/ai-assist:validation into main
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this merge request do and why?
fix: validation script "unbound variable" errors
set -u
makes Bash fail on undefined variables
How to set up and validate locally
- Run
./scripts/ingest/gitlab-docs/steps/validate.sh
without env vars set - It should fail with "GITLAB_DOCS_REPO is empty!" and not with "unbound variable"
Merge request checklist
Edited by 🤖 GitLab Bot 🤖