Merges all shims into one. The index shim was just serving a single HTML, and we had an undocumented service running that forwarded to error docs. This merges both into the main shim, so we have a single deployment for compatibility. This also made it easier to clean up resources on GCP (old container images etc generated by AppEngine) because we can just delete everything and do a single redeploy to get into a minimal good state. Issue #9984
13 lines
242 B
Bash
Executable File
13 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Stop on error
|
|
set -e
|
|
# Print commands
|
|
set -x
|
|
|
|
# Go to this directory
|
|
cd "$(dirname "$0")"
|
|
|
|
# Deploy compatibility shim
|
|
gcloud app deploy shaka-player-demo/app.yaml --project=shaka-player-demo --version=compat --promote --quiet
|