GithubHelp home page GithubHelp logo

a4200 / infraestructure-buildkite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cronopio94/infraestructure-buildkite

0.0 0.0 0.0 2.98 MB

Demo using dockerfiles, docker-compose, minikube, vault and builkite to push an image to quay.io

Dockerfile 6.25% JavaScript 58.12% CSS 1.42% HCL 1.38% Shell 1.15% Python 24.31% Handlebars 7.36%

infraestructure-buildkite's Introduction

DI Infrastructure

This example includes:

  1. Dockerfile and docker-compose
  2. Minikube
  3. Buildkite to push an image to quay
  4. Add a vault server to secure the process

Docker-compose

To build the nodejs app locally is needed to run the command docker-compose up in the path DITeambuildkite

Minikube

The next steps must be followed:

  1. Start minikube minikube start
  2. Create the deployments kubectl apply [deployment.yml]
  3. Create the services kubectl apply [service.yml]
  4. Run minikube tunnel to expose the service
  5. Run kubectl get all to ensure that the services are running
  6. Go to http://nodejsservice.default.svc.cluster.local:3000/

Run an agent and push to quay

  • To run an agent and vault server is needed go to the path buildkite_agent and run:

docker-compose up that enables the agent and the vault server.

Then make changes in the code, commit and push the pipeline will be running

NOTE: Add a webhook in github, to let the pipeline catch the changes in the repo

infraestructure-buildkite's People

Contributors

cronopio94 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.