vtgate: expand qualified stars without JOIN USING coalescing #60242
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: endtoend | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| - "release-[0-9]+.[0-9]" | |
| tags: '**' | |
| pull_request: | |
| branches: '**' | |
| permissions: read-all | |
| jobs: | |
| build: | |
| name: End-to-End Test | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 | |
| with: | |
| egress-policy: audit | |
| - name: Skip CI | |
| run: | | |
| if [[ "${{contains( github.event.pull_request.labels.*.name, 'Skip CI')}}" == "true" ]]; then | |
| echo "skipping CI due to the 'Skip CI' label" | |
| exit 1 | |
| fi | |
| - name: Check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: 'false' | |
| - name: Check for changes in relevant files | |
| uses: dorny/paths-filter@7b450fff21473bca461d4b92ce414b9d0420d706 # v4.0.2 | |
| id: changes | |
| with: | |
| token: '' | |
| filters: | | |
| end_to_end: | |
| - 'go/**/!(*_test).go' | |
| - 'go/**/*.s' | |
| # Package-level endtoend suites (go/mysql/endtoend, go/vt/vtgate/endtoend, ...). | |
| # The cluster test tree go/test/endtoend is excluded: its packages are not run | |
| # here, and its non-test .go helpers already match the first pattern. | |
| - 'go/!(test)/**/endtoend/**' | |
| - 'go/vt/sidecardb/**/*.sql' | |
| - 'go/mysql/collations/colldata/**' | |
| - 'go/mysql/icuregex/internal/icudata/**' | |
| - 'test.go' | |
| - 'Makefile' | |
| - 'build.env' | |
| - 'go.sum' | |
| - 'go.mod' | |
| - 'proto/*.proto' | |
| - 'tools/**' | |
| - 'config/**' | |
| - 'bootstrap.sh' | |
| - '.github/workflows/endtoend.yml' | |
| - '.github/actions/setup-mysql/action.yml' | |
| - name: Set up Go | |
| if: steps.changes.outputs.end_to_end == 'true' | |
| uses: ./.github/actions/setup-go | |
| - name: Tune the OS | |
| if: steps.changes.outputs.end_to_end == 'true' | |
| timeout-minutes: 5 | |
| uses: ./.github/actions/tune-os | |
| - name: Setup MySQL | |
| if: steps.changes.outputs.end_to_end == 'true' | |
| timeout-minutes: 8 | |
| uses: ./.github/actions/setup-mysql | |
| with: | |
| flavor: mysql-8.0 | |
| - name: Get dependencies | |
| if: steps.changes.outputs.end_to_end == 'true' | |
| timeout-minutes: 5 | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y make unzip g++ etcd-client etcd-server curl git wget | |
| sudo service etcd stop | |
| go mod download | |
| - name: Run make minimaltools | |
| if: steps.changes.outputs.end_to_end == 'true' | |
| timeout-minutes: 5 | |
| run: | | |
| make minimaltools | |
| - name: Build | |
| if: steps.changes.outputs.end_to_end == 'true' | |
| timeout-minutes: 10 | |
| run: | | |
| NOVTADMINBUILD=1 make build | |
| - name: endtoend | |
| if: steps.changes.outputs.end_to_end == 'true' | |
| timeout-minutes: 30 | |
| run: | | |
| # We set the VTDATAROOT to the /tmp folder to reduce the file path of mysql.sock file | |
| # which musn't be more than 107 characters long. | |
| export VTDATAROOT="/tmp/" | |
| tools/e2e_test_runner.sh |