add comments

This commit is contained in:
elianddb
2026-01-06 14:01:29 -08:00
parent 4aed001be4
commit e73302f77b
2 changed files with 7 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ jobs:
env:
use_credentials: ${{ secrets.AWS_SECRET_ACCESS_KEY != '' && secrets.AWS_ACCESS_KEY_ID != '' }}
steps:
# Docker entrypoint and docker tests in general may use more space than is available in the GitHub default runner,
# so we remove unused pre-installed programs.
- name: Free disk space
run: |
NAME="DISK-CLEANUP"

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env bats
# tzdata.bats requires a Docker container in order to test an environment with no Go time zone database information is
# available. This includes the Unix file system information, which we remove in our tzdataDockerfile. You can find all
# locations and properties in the tests below in the documentation links.
load "$BATS_TEST_DIRNAME"/helper/common.bash
TEST_NAME="dolt-tzdata"
@@ -12,7 +15,8 @@ setup_file() {
docker build -f "$BATS_TEST_DIRNAME/tzdataDockerfile" -t "$TEST_IMAGE" "$WORKSPACE_ROOT"
}
# The 'c' prefixes avoid conflicts with binaries on the local bats runner machine.
# The 'c' prefixes avoid conflicts with binaries on the local bats runner machine. The normal binaries are still
# available for normal tests for when time zone tables are added.
csh() {
docker exec -i "$TEST_CONTAINER" sh -lc "$@"
}