Repository navigation
v0.9.0
Cloud Build
Cloud Build is the twelfth Product (ADR 0016). The Builds API v1 is served over gRPC and REST, on
projects/*/builds and projects/*/locations/*/builds, with create, get, list, cancel and retry.
Build steps run as containers in order or by waitFor, sharing /workspace. A Build's source is
a storageSource archive, as gcloud builds submit uploads it, or a public gitSource. Step logs
are written as they run to log-BUILD_ID.txt in the Build's logsBucket. build.concurrency
(default 4, GCPEMU_BUILD_CONCURRENCY) caps the Builds running at once. Cloud Build v2 answers
UNIMPLEMENTED.
Outside Host mode, run gcloud builds submit with --async or options.logging: NONE: gcloud's
log streaming ignores endpoint overrides. See "Cloud Build" in the README.
Native Windows
gcpemu.exe now runs every Service natively, Cloud SQL, GKE, Cloud NAT and Cloud Build included,
on Docker Desktop or Podman machine in Linux-containers mode. It finds them on their named pipes
(npipe://), and you no longer need a WSL2 distribution. gcpemu ca install adds the CA to the
user's Root store. A port in one of Windows' excluded port ranges fails as unavailable. See
"Windows" in the README.
The Google front end on the LAN
--gfe-bind <address> (repeatable, gfeBind) serves the Google front end on <address>:443,
for clients on another machine that call Google by its real hostnames and take no endpoint
override, such as Argo Workflows' GCS artifact driver (ADR 0021). Every request there must carry
credentials the Instance issued. Service account keys created through a real Google hostname work
unmodified from another machine. gcpemu doctor checks the addresses and port 443.
Building from source: Task replaces make
The Makefile is gone (ADR 0018). Install Task and run task build,
task agent or task release VERSION=vX.Y.Z instead of the make targets. The tasks run from any
shell, PowerShell included.
Also in this release
- Cloud SQL takes Final backups on instance delete (
--enable-final-backup),backups.list
takes gcloud's filters, and backups expire on the Emulator clock. - API requests made while an Instance Reset or State snapshot restore runs are refused or cut off
as UNAVAILABLE (HTTP 503 withRetry-After). Retry them. - Pods labelled
gcpemu.dev/googleapis=realresolve*.googleapis.comto real Google (ADR 0019). gcpemu ca installtells macOS users to restart Docker Desktop.- On a VM runtime, a Containerized Instance publishes each public Cloud SQL instance on a
127.0.0.xof its own.
What's Changed
- docs: ADR 0017, CI does not retry failing Go tests by @linuxuser586 in #394
- fix: Reset stops and waits for Artifact Registry mirror blob fetches (#397) by @linuxuser586 in #403
- fix: GKE bring-up notices a crashed control plane and restarts it once (#395) by @linuxuser586 in #404
- fix: GKE tests share cluster slots and wait longer than the emulator's bring-up (#396) by @linuxuser586 in #405
- fix: TestWebSocketBackends waits for every path's backend to be healthy (#398) by @linuxuser586 in #406
- fix: TestRegionalPoolsAndRoles ignores node.kubernetes.io/ taints (#399) by @linuxuser586 in #409
- fix: missed performance targets no longer fail ci-ok (#400) by @linuxuser586 in #410
- feat: Cloud SQL backups.list filters and backups expire on the emulator clock (#367) by @linuxuser586 in #412
- docs: Disrupted container, and recovery from a runtime restart is out of scope (#411) by @linuxuser586 in #413
- fix: VM relay holds and retries inward traffic while the control session is replaced (#401) by @linuxuser586 in #414
- feat: gcpemu ca install on Windows adds the CA to the user's Root store (#380) by @linuxuser586 in #415
- fix: GKE calls wait out a State snapshot save instead of naming state-snapshot (#294) by @linuxuser586 in #417
- docs: ADR 0018, Task runs the build, not make (#423) by @linuxuser586 in #424
- feat: runtime client dials npipe:// endpoints (#374) by @linuxuser586 in #421
- feat: Cloud SQL final backups on instance delete (#407) by @linuxuser586 in #425
- feat: Task runs the build from any shell, replacing the Makefile (#423) by @linuxuser586 in #429
- feat: detect Windows named-pipe runtimes; reject Windows-containers runtimes (#375) by @linuxuser586 in #430
- fix: Artifact Registry's token challenge names an https realm behind the Google front end (#426) by @linuxuser586 in #432
- feat: pods labelled gcpemu.dev/googleapis=real resolve Google APIs for real (#427) by @linuxuser586 in #433
- feat: Windows excluded port ranges fail as unavailable, never via the Edge relay (#376) by @linuxuser586 in #434
- fix: Cloud SQL backup and PITR tests reach instances on their published host ports (#428) by @linuxuser586 in #435
- test: a GKE cluster in ERROR at State snapshot save restores with a fresh data plane (#295) by @linuxuser586 in #438
- fix: reference stack step 10 ignores the Instance's core containers (#431) by @linuxuser586 in #439
- docs: define Datastore and Staged datastore in the CONTEXT.md glossary (#296) by @linuxuser586 in #443
- fix: Pub/Sub's background tick no longer advances the deterministic clock (#436) by @linuxuser586 in #442
- fix: a Containerized Instance on a VM runtime publishes each public Cloud SQL instance on a 127.0.0.x of its own (#290) by @linuxuser586 in #444
- test: a GKE State snapshot restores into another Instance while its Store-recovery bring-up is in flight (#303) by @linuxuser586 in #446
- fix: refuse and cut off API requests while an Instance Reset or State snapshot restore runs (#302) by @linuxuser586 in #447
- fix: Cloud SQL and Artifact Registry Reset cancel and wait for background work (#306) by @linuxuser586 in #448
- fix: Reset waits for background work that would outlive it (#307) by @linuxuser586 in #449
- docs: decide gcloud builds log streaming without Host mode (#385) by @linuxuser586 in #451
- feat: ca install recognises named-pipe runtime endpoints on Windows (#377) by @linuxuser586 in #454
- fix: LB data plane matches the reset Store after an Instance Reset (#450) by @linuxuser586 in #452
- docs: decide the deterministic clock moves once per API request (#441) by @linuxuser586 in #458
- feat: Cloud Build Builds API and Build steps (#392) by @linuxuser586 in #457
- feat: ca install tells macOS users to restart Docker Desktop (#453) by @linuxuser586 in #460
- fix: setup-gcpemu says why it can't identify its job (#466) by @linuxuser586 in #467
- feat: Cloud Build sources and logs in Cloud Storage (#385) by @linuxuser586 in #464
- fix: lift the native Windows runtime gate (#378, #379) by @linuxuser586 in #465
- fix: VM relay finds a TCP+UDP port pair past Windows' excluded port ranges (#459) by @linuxuser586 in #461
- docs: decide the Recovery window runs on the database clock (#365) by @linuxuser586 in #471
- fix: compat starts the Runtime Services only when gcpemu finds a runtime (#472) by @linuxuser586 in #473
- fix: LB retries a transient first runtime check instead of no-socket mode (#313) by @linuxuser586 in #463
- refactor: share offset page tokens and UUID IDs across Services (#456) by @linuxuser586 in #468
- feat: --gfe-bind serves the Google front end on the LAN, with credentials, and keys usable from another machine (#462) by @linuxuser586 in #470
- docs: decide a LAN front-end relay serves --gfe-bind on port 443 (#469) by @linuxuser586 in #474
- docs: define Retained backup in the glossary (#366) by @linuxuser586 in #476
- docs: define On-demand backup in the glossary (#416) by @linuxuser586 in #479
- docs: renumber the Recovery window ADR to 0022 (#481) by @linuxuser586 in #483
- fix: runtime.New rejects a malformed npipe:// endpoint, naming it and the expected form (#418) by @linuxuser586 in #478
- docs: record incremental builds as out of scope (#422) by @linuxuser586 in #484
- docs: release notes for v0.9.0 by @linuxuser586 in #485
Full Changelog: v0.8.0...v0.9.0