Giter Club home page Giter Club logo

cloud-variations's People

Contributors

dradamroe avatar marvin-kolja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cloud-variations's Issues

Switch from Flask to FastAPI

Many students are using FastAPI and it seems mature enough. In addition to be a more contemporary framework (e.g. async), the code is a little simpler than Flask and slightly more readable than something similar from Flask. This switch to be a good idea for this tutorial.

Update Google Cloud SDK (current: 413)

note: be careful of Python version issues, as usual. The official docs note that Python 3.9 is the latest supported version, although Google Functions recommends using 3.11 as the application runtime. For this tutorial, it is important that the Python version is stable: better to update the SDK and use Python 3.9 throughout than use Python 3.11 as the application runtime but 3.9 for the Google Cloud CLI.

CI/CD pipeline shows success on some runtime failures

The deployments here succeeded but the runtime was unable to start properly. The result is that the server threw an error (a 500 in this case) and the pipeline showed as successful, since it received a valid HTTP response from the server, it just wasn't a 200 or the message we expected. To fix, the response of the server should be checked.

Use terraform for new project permissions

Currently, switching to a new project (e.g. at the start of a new semester) requires manually setting up a new project, which includes getting all of the correct gcloud apis enabled and correct permissions set up on service accounts. This is somewhat documented in the github workflows yaml file, because the issues generally appear in the ci/cd process and not in the manual instructions at the command line. The best way to automate this is probably to use terraform, e.g. Google Project Service.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.