CircleCI recipe for bqemulator¶
Reference .circleci/config.yml showing how to run bqemulator as a
secondary Docker container in the same job. CircleCI exposes the
secondary at localhost (it shares the network namespace with the
primary), so tests connect to http://localhost:9050.
Pairs with CI/CD patterns guide.
Layout¶
config.yml — the canonical pipeline your repo would copy
meta-test.sh — verifies the YAML parses and patterns match
Run¶
Adapting the recipe¶
Copy config.yml to .circleci/config.yml and edit:
- The pinned
bqemulatorimage tag. - The
run:step undertest:— replace with your test command.
The recipe assumes the machine executor or a Docker secondary; both are shown in the file.