Giter VIP home page Giter VIP logo

whales's People

Contributors

archae0pteryx avatar bryankaraffa avatar kurenn avatar mayra-cabrera avatar miguejs avatar thelastinuit avatar

Stargazers

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

Watchers

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

whales's Issues

Specs

There is a tremendous lack of specs for this engine.

404 error : <title>Page Not Found</title>

I tried the documentation command line on a node project it failed just after:

docker run   --interactive --tty --rm   --env API_BASE_URI=whales.herokuapp.com   --env BELUGAS_CODE="${PWD}"   --volume /var/run/docker.sock:/var/run/docker.sock   --volume $(pwd):/code gueils/whales:latest

Digest: sha256:0e576124a1c5d8d9f0f8eafb4eaef41d01ab0050f1cb800af65c9e64fa4e869b
Status: Downloaded newer image for gueils/belugas:latest
"<!doctype html>\n<html lang=\"en\">\n    <head>\n        <title>Page Not Found</title>\n\n     

Could not find Rails with version X & db/web images NOT_FOUND

I followed the usage guide provided in the README to the letter, running the last command block throws off:

Digest: sha256:69e938110f8b915b98e8503d0fae755788d4ab6f37858191ef91f7fb203b1363
Status: Downloaded newer image for icalialabs/belugas:latest
FROM ruby:2.4.0

### ###
### Could not find rails with version 5.1.1
### ###
--------------------------------------------------
version: "2"
---
volumes:
  postgresql-data:
    driver: local
  rails-data:
    driver: local
---
services:
  db:
    image: NOT_FOUND
  web:
    image: NOT_FOUND

I have Rails explicitly stated in my Gemfile as:
gem 'rails', '~> 5.1.1'

The weird thing is that running the Ruby Beluga does in fact recognize Rails and it's version:

docker run \
  --interactive --tty --rm \
  --volume "$PWD":/code \
  whalesil/belugas-ruby

Returns:

{
"type":"feature","name":"Ruby","version":"2.4.0","description":"The application uses Ruby code","categories":["Language"],"engines":["belugas","belugas-ruby"]}
{"type":"feature",**"name":"rails","version":"5.1.1"**,"description":"The application uses rails","content":"","categories":["Framework"],"cue_locations":[""],"engines":["belugas","belugas-ruby"]}
{"type":"feature","name":"postgresql","version":"0.18","description":"The application uses postgresql","content":"","categories":["Database"],"cue_locations":[""],"engines":["belugas","belugas-ruby"]
}

Update gif on readme

The current one is using icalialabs organization name, and it should use the new name instead

Can't see the error because of slack token

When using whales I got an error.

/usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier/util/http_client.rb:29:inblock in call': The slack API returned an error: invalid_token (HTTP Code 403) (Slack::Notifier::APIError)
Check the "Handling Errors" section on https://api.slack.com/incoming-webhooks for more information
from /usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier/util/http_client.rb:27:in tap' from /usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier/util/http_client.rb:27:in call'
from /usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier/util/http_client.rb:13:in post' from /usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier.rb:49:in block in post'
from /usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier.rb:47:in map' from /usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier.rb:47:in post'
from /usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier.rb:37:in ping' from /usr/src/app/lib/rescuer.rb:11:in ping'
from /usr/src/app/lib/whales_cli.rb:23:in rescue in tame' from /usr/src/app/lib/whales_cli.rb:20:in tame'
from /usr/local/bundle/gems/thor-0.20.0/lib/thor/command.rb:27:in run' from /usr/local/bundle/gems/thor-0.20.0/lib/thor/invocation.rb:126:in invoke_command'
from /usr/local/bundle/gems/thor-0.20.0/lib/thor.rb:387:in dispatch' from /usr/local/bundle/gems/thor-0.20.0/lib/thor/base.rb:466:in start'
from /usr/src/app/bin/whales:9:in <main>'

And the token is indeed invalid.

Could you fix it or at least add an option to display the error instead of sending it to a slack channel ?

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.