Skip to content

Commit

Permalink
Revert "Use GCP Triggers to deploy to App Engine (#44)"
Browse files Browse the repository at this point in the history
This reverts commit a95debb.
  • Loading branch information
michplunkett committed Oct 4, 2024
1 parent 4b1465c commit dcecaac
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 40 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy-to-app-engine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to App Engine
on:
push:
branches: [ main ]

jobs:
deploy:
name: Deploying to Google Cloud
runs-on: ubuntu-latest

permissions:
contents: 'read'
id-token: 'write'

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}'
project_id: '${{ secrets.GCP_PROJECT_ID }}'

- name: Deploy to App Engine
id: deploy
uses: 'google-github-actions/deploy-appengine@v2'

# Example of using the output
- name: Testing Status Endpoint
id: test
run: 'curl "${{ steps.deploy.outputs.version_url }}/status"'
46 changes: 23 additions & 23 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
pre-commit = "^3.4.0"
google-cloud-ndb = "^2.2.2"
google-cloud-logging = "^3.8.0"
cachetools = "^5.3.1"
polars = "^0.19.8"
fastapi = "^0.114.0"
fastapi = "^0.105.0"
jinja2 = "^3.1.2"
pyarrow = "^16.1.0"
pandas = "^2.2.2"
gunicorn = "^22.0.0"
uvicorn = {extras = ["standard"], version = "^0.30.3"}
google-cloud-ndb = "^2.3.2"

[build-system]
requires = ["poetry-core"]
Expand Down
30 changes: 15 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ anyio==3.7.1 ; python_version >= "3.11" and python_version < "4.0" \
async-timeout==4.0.3 ; python_version >= "3.11" and python_full_version < "3.11.3" \
--hash=sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f \
--hash=sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028
cachetools==5.5.0 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:02134e8439cdc2ffb62023ce1debca2944c3f289d66bb17ead3ab3dede74b292 \
--hash=sha256:2cc24fb4cbe39633fb7badd9db9ca6295d766d9c2995f245725a46715d050f2a
cachetools==5.4.0 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:3ae3b49a3d5e28a77a0be2b37dbcb89005058959cb2323858c2657c4a8cab474 \
--hash=sha256:b8adc2e7c07f105ced7bc56dbb6dfbe7c4a00acce20e2227b3f355be89bc6827
certifi==2024.7.4 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b \
--hash=sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90
Expand Down Expand Up @@ -119,9 +119,9 @@ deprecated==1.2.14 ; python_version >= "3.11" and python_version < "4.0" \
distlib==0.3.8 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:034db59a0b96f8ca18035f36290806a9a6e6bd9d1ff91e45a7f172eb17e51784 \
--hash=sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64
fastapi==0.114.0 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:9908f2a5cc733004de6ca5e1412698f35085cefcbfd41d539245b9edf87b73c1 \
--hash=sha256:fee75aa1b1d3d73f79851c432497e4394e413e1dece6234f68d3ce250d12760a
fastapi==0.105.0 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:4d12838819aa52af244580675825e750ad67c9df4614f557a769606af902cf22 \
--hash=sha256:f19ebf6fdc82a3281d10f2cb4774bdfa90238e3b40af3525a0c09fd08ad1c480
filelock==3.15.4 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:2207938cbc1844345cb01a5a95524dae30f0ce089eba5b00378295a17e3e90cb \
--hash=sha256:6ca1fffae96225dab4c6eaf1c4f4f28cd2568d3ec2a44e15a08520504de468e7
Expand All @@ -143,15 +143,15 @@ google-cloud-audit-log==0.2.5 ; python_version >= "3.11" and python_version < "4
google-cloud-core==2.4.1 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:9b7749272a812bde58fff28868d0c5e2f585b82f37e09a1f6ed2d4d10f134073 \
--hash=sha256:a9e6a4422b9ac5c29f79a0ede9485473338e2ce78d91f2370c01e730eab22e61
google-cloud-datastore==2.20.1 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:07950b9c8865087c565f45fa3fdd7a05d4c3d99adf79e10c3f596ff08a7d9bba \
--hash=sha256:b9383af24d8e90ed6c5d161d72411d82efd9b21c051fa6f4bbd743a49d37ffb3
google-cloud-datastore==2.20.0 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:68754f97f3062e292cec537dd80bd5e662aff596e4c93705b3692bd2a61166be \
--hash=sha256:ef08b1f219262f67289d00daa8d7fd222688d9f8341224c186d3e0c0524f2c8f
google-cloud-logging==3.11.1 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:9b2403bce5e4faf30c8a8756f85529bb14a28991dd2cedde49c488dd56076a26 \
--hash=sha256:a70f33d17a70237ea8b63409e07dd14adaedec93fbf52550be4f51d347c67918
google-cloud-ndb==2.3.2 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:a865583a0dc0325f429a18567f06876ad888110a67087b5e98839aa011ac4af0 \
--hash=sha256:aa00da7149ba181bc99c0f6e73745a17c2137ee367cb291448ea3988b1347832
google-cloud-ndb==2.3.1 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:3d6c8866681dc280ad9f90a6f5b556d324e4b29173d0b63ddf6b8e19655fec1a \
--hash=sha256:a6a2f6c58bd14febb92c0e569ca6a4e1d14c4a70935c28f3681e33c67402428f
googleapis-common-protos==1.63.2 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:27a2499c7e8aff199665b22741997e485eccc8645aa9176c7c988e6fae507945 \
--hash=sha256:27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87
Expand Down Expand Up @@ -657,9 +657,9 @@ six==1.16.0 ; python_version >= "3.11" and python_version < "4.0" \
sniffio==1.3.1 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2 \
--hash=sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc
starlette==0.38.5 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:04a92830a9b6eb1442c766199d62260c3d4dc9c4f9188360626b1e0273cb7077 \
--hash=sha256:632f420a9d13e3ee2a6f18f437b0a9f1faecb0bc42e1942aa2ea0e379a4c4206
starlette==0.27.0 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:6a6b0d042acb8d469a01eba54e9cda6cbd24ac602c4cd016723117d6a7e73b75 \
--hash=sha256:918416370e846586541235ccd38a474c08b80443ed31c578a418e2209b3eef91
typing-extensions==4.12.2 ; python_version >= "3.11" and python_version < "4.0" \
--hash=sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d \
--hash=sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8
Expand Down

0 comments on commit dcecaac

Please sign in to comment.