Commit Graph

4 Commits

Author SHA1 Message Date
Joey Parrish 80e7f7ba55 ci: Fix demo index deployment (#4122)
Fixes these issues with the demo index deployment (tested by manual deployment):

 - Missing `handlers:` field in app.yaml
 - Missing handler for the URL `/`
 - Missing Flask entrypoint (even though no dynamic content is generated by it)

Closes #4074
2022-04-12 11:32:14 -07:00
Joey Parrish 2eca4b2ef5 ci: Generate static content for demo index at deploy time (#4119)
Rather than runtime-querying of appengine versions within the
appengine environment, we can instead generate the index at deployment
time (from git tags) and just serve static content.  This simplifies
the system and avoids dependence on Google Cloud.

This was less feasible before we adopted GitHub Actions, but is now
relatively simple.  The index will be regenerated when the index code
is updated or when a new release is created.

Closes #4074
2022-04-12 10:10:41 -07:00
theodab fe8b9ab2c1 fix(demo): Fix default demo index versions (#4116)
The script for deploying the demo version index page has a function
that chooses which versions to display. This script has a special
mode meant for testing that shows a default list of demo versions.
This mode was only supposed to trigger when run locally, but the
check did not work properly, so the demo version index was deploying
with a very out-of-date list of versions.
This fixes that check.

Closes #4074

<!--
Please remember to:

1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and
   PR title (https://www.conventionalcommits.org/)
2. Tag any related or fixed issues ("Issue #123", "Closes #420")
3. Sign the Google CLA if you haven't (https://cla.developers.google.com)

You may delete this comment from the PR description.
-->
2022-04-11 16:46:20 -07:00
Joey Parrish 3f838cfd3a ci: Deploy demo to appspot nightly and on releases (#4038)
This imports our appspot code into the repo and updates all of it to
Python 3.
2022-03-21 11:15:40 -07:00