Giter Club home page Giter Club logo

micro-api's Introduction

micro-api demo application!!!

This is the back-end of a simple 2-tier app to demonstrate using Google Container Registry (GCR) and Google Container Engine (GKE) with Shippable. To see the full functionality of the app, use the same steps to deploy the front-end of the app which is also on Aye0Aye called micro-www.

Prerequisites for running this sample:
  1. Create a project called 'shippable-gke' within Google Cloud Platform
  2. Fork the aye0aye/micro-api repository, e.g. to your GitHub account
  3. Log into Shippable and enable a project for your fork
  4. Create an Account Integration for GCR called 'GCR-shippable-gke' and assign it to your project

Note: In this sample, you will be working with branch "google-gcr-gke"

When run, the CI process performs the following:
  • Uses Docker to build the CI environment from a Dockerfile, pulling the base image from a public repository "aye0aye/micro-image"
  • Executes some basic CI tests
  • Stores the test results and code coverage report
  • Upon successful CI build, pushes the newly built Docker image to Google Container Registry
Environment variables required for pulling and pushing from GCR in shippable.yml:

In the shippable.yml, you should't need to change any of the environment variables:

  • SERVICE=micro-api
  • PROJECT_ID=shippable-gke
  • REGISTRY_ACCOUNT=gcr.io/$PROJECT_ID

micro-api's People

Contributors

avinci avatar sdemo avatar ttrahan 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.