Skip to content

ktruckenmiller/aws-container-build-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Build System

This repo contains lambdas that will do things to get event based builds to occur. On git push tag, we'll build and update your dockerfile using codebuild.

Prerequisites:

  • credstash with a few keys
    • github.username
    • github.token
  • docker installed
  • aws cli
  • .om file in your repository root

https://cloudcraft.co/view/2fbb3e2a-fd38-4b33-93c9-0fe780bb95f7?key=Gbs7izEd2cbJ0NaWJmtLmg&embed=true

You'll need an .om yaml-syntax file in the root repo like this:

build:
  artifacts:
    docker-friend:
      dockerfile: Dockerfile.ruby
      dockerhub: ktruckenmiller/docker-friend

This means, I'm going to build an image and upload it to dockerhub using the dockerfile specified. to occur.

Deploy this infrastructure

In deploying to AWS, we use cloudformation's new serverless along side of docker containers to package and deploy our lambdas.

Using the builder

Once the infrastructure is deployed, use the jenkins jobs (by replacing the invoked lambda function) in order to connect your repository to the lambdas.

Once you've connected the repository, git tag with the version of the repository to create a build event in the infrastructure.

About

An AWS Dockerhub replacement

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published