Giter VIP home page Giter VIP logo

horatio's People

Contributors

mynameisrufus avatar pmyjavec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

horatio's Issues

docker build fails as it takes a "/" in the image tag

I have a very simple Dockerfile for testing.

$ cat Dockerfile
FROM alpine:3.4
ENV TIMEZONE=Australia/Sydney
$

horatio fails as it takes a "/" in the image tag. I am experiencing this issue in ruby versions 2.2.2 and 2.3.0.

$ cat horatio.json
{
  "name": "misc-project",
  "version": "0.0.1"
}
$

$ horatio
I, [2016-09-14T15:22:52.506204 #32669]  INFO -- : detected horatio.json
I, [2016-09-14T15:22:52.511924 #32669]  INFO -- : Running Docker build for misc-project-0.0.1
I, [2016-09-14T15:22:52.511990 #32669]  INFO -- : validating passed in version
I, [2016-09-14T15:22:52.512051 #32669]  INFO -- : validating passed in name
I, [2016-09-14T15:22:52.516943 #32669]  INFO -- : latest revision is a198e59
I, [2016-09-14T15:22:52.521409 #32669]  INFO -- : executing command: docker build -t /misc-project:0.0.1-a198e59 .
F, [2016-09-14T15:22:52.645387 #32669] FATAL -- : execution of `docker build -t /misc-project:0.0.1-a198e59 .` failed output from STDERR was:
 invalid argument "/misc-project:0.0.1-a198e59" for t: Error parsing reference: "/misc-project:0.0.1-a198e59" is not a valid repository/tag
See 'docker build --help'.

 STDOUT was:
  (RuntimeError)
/Users/vikas/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/horatio-0.1.7/lib/horatio.rb:55:in `run_sh'
/Users/vikas/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/horatio-0.1.7/lib/horatio/releaser.rb:35:in `run'
/Users/vikas/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/horatio-0.1.7/bin/horatio:29:in `<top (required)>'
/Users/vikas/.rbenv/versions/2.3.0/bin/horatio:23:in `load'
/Users/vikas/.rbenv/versions/2.3.0/bin/horatio:23:in `<main>'
$

Horatio with maven missing increment

maven.rb

Needs include NULLWritter
please
to avoid
[2020-11-29T07:44:56.502696 #7] FATAL -- : undefined method `increment' for #Horatio::Detector::Maven:0x0000560037ea9f60 (NoMethodError)

Namely:
module Horatio
module Detector
class Maven
include Validator
include IOHandler
include NULLWritter

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.