Skip to content

chore: trigger CI#3

Closed
renecannao wants to merge 11 commits intomainfrom
trigger-ci-1776883344
Closed

chore: trigger CI#3
renecannao wants to merge 11 commits intomainfrom
trigger-ci-1776883344

Conversation

@renecannao
Copy link
Copy Markdown
Contributor

Trigger CI run

The default /var/log/mysql/error.log is not writable on GitHub runners.
Fix paths since steps run from villagesql-server/ working-directory:
- VillageSQL_BUILD_DIR=/tmp/vsql-prometheus-exporter (was /tmp/vsql-prometheus-exporter/../../villagesql-server/build)
- mysql socket: /tmp/vsql-prometheus-exporter/var/mysql.sock (was /tmp/vsql-prometheus-exporter/../var/mysql.sock)
- extension path: /tmp/vsql-prometheus-exporter/../extension/build/... (correct)
- MTR paths: /tmp/vsql-prometheus-exporter/../extension/mysql-test (correct)

Also add docker/ci-validation/ for local CI testing simulation and local-ci.sh helper script.
Switch from $PWD relative paths to $GITHUB_WORKSPACE absolute paths
to avoid confusion with working-directory defaults and cd commands.

- VillageSQL_BUILD_DIR=$GITHUB_WORKSPACE/villagesql-server/build
- mysql socket: $GITHUB_WORKSPACE/villagesql-server/var/mysql.sock
- extension path: $GITHUB_WORKSPACE/extension/build/prometheus_exporter.veb
- MTR suite: $GITHUB_WORKSPACE/extension/mysql-test
- MTR tmpdir/socket: $GITHUB_WORKSPACE/villagesql-server/var/*
The INSTALL EXTENSION syntax takes only a name, not a path. The VEB file
must be copied to the server's veb_dir first.
The veb_dir must be explicitly set at server startup since the default
compile-time location is not writable in CI.
The --suite option expects a suite name, not a path. Copy extension's
mysql-test into villagesql suite directory and use --do-suite prefix.
@renecannao renecannao closed this Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant