message: feat: validate .lagoon.yml during build-deploy
diff: @@ -75,6 +75,13 @@ function featureFlag() {
  ### PREPARATION
  ##############################################
  +# validate .lagoon.yml
  +if ! lagoon-linter; then
  + echo "https://docs.lagoon.sh/lagoon/using-lagoon-the-basics/lagoon-yml#restrictions describes some possible reasons for this build failure."
  + echo "If you require assistance to fix this error, please contact support."
  + exit 1
  +fi
  +
  # Load path of docker-compose that should be used
  set +x # reduce noise in build logs
  DOCKER_COMPOSE_YAML=($(cat .lagoon.yml | shyaml get-value docker-compose-yaml))
  