Giter Site home page Giter Site logo

circleci-jkzilla / whale-of-a-time Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kelvintaywl/whale-of-a-time

0.0 0.0 0.0 1.68 MB

Sample CI workflows around using Docker (e.g., publishing, compose, caching). Whale be fun.

HTML 90.34% Dockerfile 9.66%

whale-of-a-time's Introduction


Whale of a Time

This repository explores all the typical Docker-related operations within CI builds.

In these samples, we will be using CircleCI for our CI builds.

Please see the various workflows declared in .circleci/config.yml for examples.

Notes

Some of these examples can really be simplified by using many of the orbs offered by CircleCI! In particular, we could simplify our lives with the powerful Docker orb.

However, in these examples, I would like to keep it as 'low-tech' as possible.

Example workflows

build_test_publish

This workflow builds a custom Nginx image, tests that our image can be spin up before publishing to a image repository (Docker Hub in this case).

Bonus: We also take a screenshot of the custom Nginx server's web page here

The published image is hosted in Docker Hub.

dockeri.co

Features:

  • docker image build
  • docker container run
  • dockerize tool
  • docker image push
  • docker cp

Build for custom nginx

See sample build

compose_tests

This workflow spins up 2 containers of a fictional service (1 DB, 1 web app) via Docker-Compose, and runs integration tests against the web app.

Features:

Build for docker compose tests

See sample build

whale-of-a-time's People

Contributors

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