Skip to content

edib-tool/edib-app-test-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDIB packaging test

Elixir Docker Image Packager test setup for different CI services

Links


Travis CI status Build Status happiness

Notes

  • --rm seems to be okay to use.
  • Must install Elixir via Ubuntu package (language: elixir does not work).
  • Use language: ruby instead.
  • Also do not forget to set sudo: required, because we install OS packages.

See: http://docs.travis-ci.com/user/docker/


CircleCI status CircleCI happiness

Notes

  • docker run: Never use --rm, it always fails.
  • Only runs successfully with Docker 1.10+

See: https://circleci.com/docs/docker


Wercker status happiness

Notes

  • Getting docker running in the docker container ... is an impossible thing.
  • Docker-in-Docker seems not working for this service.
  • Perhaps the outer container is missing the --privileged flag.

See: http://devcenter.wercker.com/docs/pipelines/stacks.html


Shippable status happiness

Notes

  • Similar to Travis (can even use their .travis.yml), but seems not to support running docker itself (in CI step).
  • Would perhaps need a Docker-in-Docker approach. (within Pre-CI/Post-CI workflow)

See: http://docs.shippable.com/docker_build/


Other service? status happiness

Tell me which one to try.

It must run docker, of course!


Docker image sizes

REPOSITORY               SIZE
# normal build (mix edib)
local/edib_app_test_ci   18.44 MB
# with strip (mix edib --strip)
local/edib_app_test_ci   10.5 MB
# with zip (mix edib --zip)
local/edib_app_test_ci   15.53 MB
# with strip and zip (mix edib --strip --zip)
local/edib_app_test_ci   10.32 MB

# some columns omitted

WARNING: Use --zip carefully, avoid zipping when using NIFs. (The compression benefit is small anyway.)

About

EDIB packaging test on CI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published