diff --git a/Maintenance/.gcloudignore b/Maintenance/.gcloudignore new file mode 100644 index 0000000000..603f0b6ea0 --- /dev/null +++ b/Maintenance/.gcloudignore @@ -0,0 +1,19 @@ +# This file specifies files that are *not* uploaded to Google Cloud +# using gcloud. It follows the same syntax as .gitignore, with the addition of +# "#!include" directives (which insert the entries of the given .gitignore-style +# file at that point). +# +# For more information, run: +# $ gcloud topic gcloudignore +# +.gcloudignore +# If you would like to upload your .git directory, .gitignore file or files +# from your .gitignore file, remove the corresponding line +# below: +.git +.gitignore + +# Python pycache: +__pycache__/ +# Ignored by the build system +/setup.cfg \ No newline at end of file diff --git a/Maintenance/app.yaml b/Maintenance/app.yaml new file mode 100644 index 0000000000..4ce2e0eac1 --- /dev/null +++ b/Maintenance/app.yaml @@ -0,0 +1,11 @@ +runtime: python38 +service: website-pr-previews + +handlers: +- url: / + static_files: www/index.html + upload: www/index.html + +- url: /(.*) + static_files: www/\1 + upload: www/(.*) \ No newline at end of file diff --git a/Maintenance/default-app.yaml b/Maintenance/default-app.yaml new file mode 100644 index 0000000000..8aadc7b690 --- /dev/null +++ b/Maintenance/default-app.yaml @@ -0,0 +1,11 @@ +runtime: python38 +service: default + +handlers: +- url: / + static_files: www/index.html + upload: www/index.html + +- url: /(.*) + static_files: www/\1 + upload: www/(.*) \ No newline at end of file diff --git a/Maintenance/staging-app.yaml b/Maintenance/staging-app.yaml new file mode 100644 index 0000000000..233ee33265 --- /dev/null +++ b/Maintenance/staging-app.yaml @@ -0,0 +1,11 @@ +runtime: python38 +service: staging + +handlers: +- url: / + static_files: www/index.html + upload: www/index.html + +- url: /(.*) + static_files: www/\1 + upload: www/(.*) \ No newline at end of file diff --git a/Maintenance/imgs/Logo.svg b/Maintenance/www/imgs/Logo.svg similarity index 100% rename from Maintenance/imgs/Logo.svg rename to Maintenance/www/imgs/Logo.svg diff --git a/Maintenance/imgs/Oops.svg b/Maintenance/www/imgs/Oops.svg similarity index 100% rename from Maintenance/imgs/Oops.svg rename to Maintenance/www/imgs/Oops.svg diff --git a/Maintenance/maintenance.html b/Maintenance/www/index.html similarity index 100% rename from Maintenance/maintenance.html rename to Maintenance/www/index.html