about summary refs log tree commit diff
path: root/src/ci/docker/host-x86_64/pr-check-1/check-default-config-profiles.sh
blob: 0c85d4b449db0e99772fda3df9ea695b3c88ead8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Runs bootstrap (in dry-run mode) with each default config profile to ensure they are not broken.

set -euo pipefail

config_dir="../src/bootstrap/defaults"

# Loop through each configuration file in the directory
for config_file in "$config_dir"/*.toml;
do
    # Disable CI mode, because it is not compatible with all profiles
    python3 ../x.py check --config $config_file --dry-run --ci=false
done