Giter Site home page Giter Site logo

devops-challenge's Introduction

Description

This repo contains all the work and docs for the code test.

Status Badges

CircleCI

The way to use and run it

First, download the repository using git:

$ git clone https://github.com/jmoratilla/devops-challenge.git

About documentation

The documentation is under the doc/ subdirectory and in form of ADRs (Architecture Decision Records), as recomended by Michael Nygard.]

About the code

This repo is a kind of handmade monorepo, that means all microservices are under the same repository.

Is an API interface to expose a CRUD for Items and Products.

diagram of the microservices example

Deploy the cluster

Change the env vars needed (they are in the scripts/variables.kops file)

$ source scripts/variables.kops

Use the script procedure to provision your cluster:

$ cd scripts
$ ./kops_create.sh

Or use the template to provision your cluster:

$ cd kubernetes-template
$ kops toolbox template \
  --values values.yaml \
  --template cluster-template.yaml \
  --output cluster.yaml
$ kops create secret \
  --name $NAME \
  sshpublickey admin \
  -i $KOPS_SSH_KEY_PATH
$ kops replace -f cluster.yaml --force
$ kops update cluster $NAME --yes

Tools used

  • ASDF-VM: to install all the packages (like in rbenv)
  • ADR tools: to help with the documentation of the decisions assumed in the project.
  • SDKMAN: to help with the download of some of the packages.
  • ConventionalCommits Guidelines: to ease the CHANGELOG and versioning of the code.

devops-challenge's People

Contributors

jmoratilla avatar

Watchers

 avatar

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.