[Git][ghc/ghc][master] CI: quiet submodule clean output in after_script and setup
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: c8d27dd4 by Simon Jakobi at 2026-06-18T14:41:59-04:00 CI: quiet submodule clean output in after_script and setup The clean and cleanup_submodules functions ran 'git submodule foreach git clean -xdf', flooding the job log with 'Entering ...' and 'Removing ...' lines. Pass --quiet to 'git submodule' and -q to 'git clean' to drop the success output; errors are still reported. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> - - - - - 1 changed file: - .gitlab/ci.sh Changes: ===================================== .gitlab/ci.sh ===================================== @@ -441,7 +441,7 @@ function cleanup_submodules() { # is not valid. Avoid failing in this case with the following insanity. git submodule sync || git submodule deinit --force --all git submodule update --init - git submodule foreach git clean -xdf + git submodule --quiet foreach git clean -xdfq else info "Not cleaning submodules, not in a git repo" fi; @@ -934,8 +934,8 @@ function clean() { # uploaded. Keep in sync with `jobArtifacts` in # `.gitlab/generate-ci/gen_ci.hs`! if [[ "${CI_DISPOSABLE_ENVIRONMENT:-}" != true ]]; then - git submodule foreach --recursive git clean -xdf - git clean -xdf \ + git submodule --quiet foreach --recursive git clean -xdfq + git clean -xdfq \ --exclude=ci_timings.txt \ --exclude=ghc-*.tar.xz \ --exclude=junit.xml \ View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c8d27dd428e961a16fde9b2940c9e4a8... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c8d27dd428e961a16fde9b2940c9e4a8... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)