Giter Site home page Giter Site logo

dockci's People

Contributors

chrisminshull avatar hamidnazari avatar jitran avatar ps-jay avatar requires avatar rickycook avatar waldyrious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dockci's Issues

CLI: Build working directory

https://trello.com/c/sNWaRypo/66-cli-build-working-directory

As a developer
I want to start an "ad-hoc" job of my current working directory
So that I can test without needing to commit
So that I can integrate DockCI with an external build tool

Example

$ dockci build
--- git_prepare ---
Cloning into '/tmp/tmp6zbq69qr'...
Note: checking out '2d718539a461b3af3d34883d72d06162c23f29a8'.
...

--- git_info ---
...

$ dockci build ~/code/dockci
...

Assumptions
Requires a single log stream resource, separate from the current AJAX format of multiple requests

Questions

  • Better name than build for CLI command (since we don't have a build model any more)

CLI: Show project info

https://trello.com/c/ZSal5Fik/65-cli-show-project-info

As a developer
I want to list project info from my working directory
So that integrate DockCI with my processes easily

Example

$ dockci show
URL: http://demo.dockci.io/projects/dockci
Last build: Passed
Last version: v0.0.2

$ dockci show ~/code/dockci
...

$ dockci show dockci
...

Notes
Can use remotes info to link the git working dir with the DockCI project, if the remotes match. What happens for HTTPS vs SSH clones though? GitHub we can pick up on; others maybe not?

Builds never cached after a Dockerfile ADD directive because of modification time

https://trello.com/c/v3PXSBCj/33-bug-builds-are-never-cached-after-a-dockerfile-add-directive-because-of-modification-time

Create a new job, wait for job to complete and don't commit anything, run another job with the same commit hash, wait for end of build stage

Expected: Build stage is entirely cached
Actual: Nothing is cached

Create a new job, wait for job to complete, create a commit and change 1 file in an ADD directive in the Dockerfile, run another job with the new commit, wait for end of build stage

Expected: Build stage is cached up until the ADD directive
Actual: Nothing is cached

Cause: Docker invalidates cache by multiple methods. The first check is on the file mtime. Git (unfortunately in this case) checks out files, but does not set the file mtime to the last commit time of files (the mtime is the time that git wrote the file to disk) which causes Docker to invalidate the cache every time

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.