diff --git a/.github/workflows/migration.yml b/.github/workflows/migration.yml index 32c050e17f..5f439afd92 100644 --- a/.github/workflows/migration.yml +++ b/.github/workflows/migration.yml @@ -35,4 +35,6 @@ jobs: - name: Run migration test run: | export PATH="$HOME/bin:$PATH" + # debugging cache layers, checking which scripts are visible to CI context + tree deployments/compose/ deployments/scripts/ ./deployments/scripts/migration-test v0.73.1 diff --git a/deployments/scripts/migration-test b/deployments/scripts/migration-test index e8e57f481c..b129bf1371 100755 --- a/deployments/scripts/migration-test +++ b/deployments/scripts/migration-test @@ -41,12 +41,14 @@ else use_tui="false" fi +set -x + # Look up some git facts for logging and preparing work trees. repo_root="$(git rev-parse --show-toplevel)" worktree_dir="${repo_root}/deployments/worktrees/${target_version}" logs_dir="${repo_root}/deployments/logs" mkdir -p "$logs_dir" -rm -f "${logs_dir}/"*".log" +find "$logs_dir" -type f -iname 'migration*.log' -exec rm -vf {} + # Create a local git-worktree so that we can check out a prior # tag and build its version of tests and suchwhat. @@ -62,6 +64,7 @@ prepare_local_worktree() { # run smoke tests against it from that checkout, then exit. function run_migration_test_phase_1() { >&2 echo "Running smoke-tests against pre-migration devnet, phase 1..." + tree deployments/compose/ deployments/scripts/ # Override the pc API port 8080 -> 9191, to avoid conflict with pd. if ! process-compose \ --config deployments/compose/process-compose-smoke-test.yml \