gueils / whales Goto Github PK
View Code? Open in Web Editor NEW:whale: Tool to automatically dockerize your application.
Home Page: http://www.whales.mx
License: MIT License
:whale: Tool to automatically dockerize your application.
Home Page: http://www.whales.mx
License: MIT License
There is a tremendous lack of specs for this engine.
It'd be great if we could use whales for apps that rely on npm
and/or yarn
.
Under .github folder
The current one is using icalialabs organization name, and it should use the new name instead
After that please update README file
When using whales I got an error.
/usr/local/bundle/gems/slack-notifier-2.3.2/lib/slack-notifier/util/http_client.rb:29:in
block 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 ?
This is the same as this one, so I'm just gonna go and copy the same content
On README we have a small section titled "Why?". The purpose of this section is to explain what is the Whales ecosystem, and how does it work.
The how does it work part is missing, any ideas of how we can explain it, in a way that is interesting and compelling?
Maybe a drawing of the architecture?
Thoughts? @vovimayhem @kurenn @thelastinuit
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
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"]
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.