/devops

Primary LanguageHCL

app_python

DevOps

Structure

There are two separate modules in this project:

  • app_python - Flask HTTP server which shows current time in Moscow timeone

  • app_rust - Rocket HTTP server which shows current time in Moscow timeone

You can find more info about each project in corresponding folders.

Lint

Lint project markdown files using mdl linter:

mdl .

Lint Dockerfiles using Hadolint linter:

hadolint **/Dockerfile

Lint app_python using Pylint:

pylint --rcfile app_python/.pylintrc app_python/

Unit tests

pytest app_python/

Build and run

docker-compose build
docker-compose up