GithubHelp home page GithubHelp logo

flexport-devx-takehome's People

Contributors

pravin-flexport avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flexport-devx-takehome's Issues

This project needs a CI/CD pipeline

CI/CD pipleline exercise

This service is missing continuous integration and delivery. It would be great if we could have automation around validating, testing and deploying. Please attempt to implement the following with one or more pull requests to this project.

Create a workflow that lints and executes unit tests

Create a Github workflow that executes the following steps on push to any branch

  • Use black to check the formatting of the code
  • Use pylint to lint the python code
  • Execute unit tests against the code and try and achieve full coverage. The project currently uses pytest. You are welcome to use another testing tool or framework.
    • Attempt to achieve full coverage and a report or show that most excepted cases are covered.

Create a workflow that builds a docker image and pushes it to a repository

  • Create a Dockerfile for building an image that will run this application
  • Decide when this workflow should be triggered
  • Create steps in the workflow that builds, tests and publishes the container image
  • Use Github's ghrc.io repository for publishing the docker image

Create a workflow that automatically delivers the application to a Kubernetes cluster

  • This does not have to be a remote cluster. There is a branch in this repository that is called kind and it uses kind to create a workflow that applies a deployment to the local cluster and tests it.
  • This workflow should run after the build workflow job and depend on it

Create a workflow that executes tests against the running endpoint of the service

  • Using the deployment workflow, add a step that executes tests against the running deployment
  • This workflow should depend on the build workflow job and should run after a successful deployment
  • There is a directory in the current tests for integration tests and you can use pytest to execute them. You are welcome to run tests using any other method.
  • Attempt to achieve full coverage or show that most cases of the API contract are covered

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.