itamae-plugin-recipe-elixir 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9f478841be248b0eca6b5059285ccca21d037be6
4
- data.tar.gz: 45353760f6467fb131098752a77ff961a0636e06
2
+ SHA256:
3
+ metadata.gz: 397497984b26d6e0afab06f825a1fcebdb31bb49e374908370131ed0ed2df71b
4
+ data.tar.gz: 8de4b9d6148345d0bdbed15a84397774b8729734e598a1530b72ff23ce9e7c3d
5
5
  SHA512:
6
- metadata.gz: 7d3f8e18b7a34c77247a14a7309285af5c1ff6ed34b96b20c7177732763c87d875c62f8b3ec4746c4ad6db594871fe16bdcba9bea8e6cd84e46397697bfaf547
7
- data.tar.gz: 6548b80673820078313bff58628636c6e6bcda65d5f85c3db6a952caa631ad75309231c8de1227adedfe23d71ddea2fc01abdd9cb87c88251e8c05ca001f0f1b
6
+ metadata.gz: 6150ec02c5b02b4f561800c06243973170d125a6c16753ca969cb61009fa6b3d0ab472efbba68645b5ea2155ba06ffdd6077db660ae69386a8423f5db07476fa
7
+ data.tar.gz: 667a9cac8f841e7918883b23ad21b40d2beac0a5c57803d6adee9036f82f100b65baabf847abaff18b1e8873ee16d2f973c7a19124f7a685a178c1a0b66843bb
data/.gitignore CHANGED
@@ -55,6 +55,13 @@ Gemfile.lock
55
55
  # for vagrant
56
56
  .vagrant
57
57
 
58
+ # for ide
59
+ .idel
60
+ *.impl
61
+
58
62
  # for editor
59
63
  *.swp
60
64
  *~
65
+
66
+ # for mac
67
+ .DS_Store
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Itamae::Plugin::Recipe::Elixir
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-elixir.svg)](https://badge.fury.io/rb/itamae-plugin-recipe-elixir)
3
4
  [![wercker status](https://app.wercker.com/status/039289dd22177e634eace49f4d657260/m/master "wercker status")](https://app.wercker.com/project/byKey/039289dd22177e634eace49f4d657260)
4
5
 
5
6
  Itamae plugin to install elixir
@@ -35,12 +36,12 @@ include_recipe "elixir::install"
35
36
  # node.yml
36
37
  elixir:
37
38
  # target elixir version
38
- version: 1.5.1
39
+ version: 1.6.1
39
40
 
40
41
  # you need to install erlang to use elixir
41
42
  # see: https://github.com/ohr486/itamae-plugin-recipe-erlang#node
42
43
  erlang:
43
- version: 20.0
44
+ version: 20.2
44
45
  configure_options: ""
45
46
  enable_apps: ""
46
47
  disable_apps: ""
data/Rakefile CHANGED
@@ -24,7 +24,7 @@ namespace :itamae do
24
24
  HOSTS.each do |host|
25
25
  desc "Running itamae to #{host}"
26
26
  task host do
27
- sh "itamae ssh --host=#{host} --vagrant --node-yaml=recipes/node.yml recipes/install.rb"
27
+ sh "itamae ssh --host=#{host} --vagrant --node-yaml=recipes/node.yml recipes/install.rb -l debug"
28
28
  end
29
29
  end
30
30
  end
@@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
8
8
  override.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
9
9
  provider.token = ENV["DIGITALOCEAN_ACCESS_TOKEN"]
10
10
  provider.region = "nyc3"
11
- provider.size = "512MB"
11
+ provider.size = "1gb"
12
12
 
13
13
  if ENV["WERCKER"] == "true"
14
14
  provider.ssh_key_name = "wercker-vagrant"
@@ -25,7 +25,7 @@ Vagrant.configure("2") do |config|
25
25
  config.vm.define "centos7" do |c|
26
26
  c.vm.box = "centos/7"
27
27
  c.vm.provider :digital_ocean do |provider, override|
28
- provider.image = "centos-7-0-x64"
28
+ provider.image = "centos-7-x64"
29
29
  end
30
30
  c.vm.hostname = "centos7"
31
31
  c.vm.hostname += "-#{ENV["WERCKER_RUN_ID"]}" if ENV["WERCKER_RUN_ID"]
@@ -3,8 +3,6 @@
3
3
  readonly HOST=$1
4
4
 
5
5
  vagrant up $HOST --provider=digital_ocean
6
- vagrant status
7
- vagrant ssh-config
8
6
 
9
7
  bundle exec rake itamae:$HOST
10
8
  bundle exec rake spec:$HOST
@@ -31,6 +31,5 @@ execute "# unizp file" do
31
31
  command "unzip #{elixir_version}.zip -d #{elixir_version}"
32
32
  end
33
33
 
34
- execute "source /etc/profile.d/elixir.sh"
35
- execute "mix local.hex --force"
36
- execute "mix local.rebar --force"
34
+ execute "source /etc/profile.d/kerl.sh && source /etc/profile.d/elixir.sh && mix local.hex --force"
35
+ execute "source /etc/profile.d/kerl.sh && source /etc/profile.d/elixir.sh && mix local.rebar --force"
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Elixir
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
@@ -1,8 +1,8 @@
1
1
  erlang:
2
- version: 20.0
2
+ version: 20.2
3
3
  configure_options: ""
4
4
  enable_apps: ""
5
5
  disable_apps: ""
6
6
 
7
7
  elixir:
8
- version: 1.5.1
8
+ version: 1.6.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-elixir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ohr486
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-27 00:00:00.000000000 Z
11
+ date: 2018-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.6.11
147
+ rubygems_version: 2.7.3
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Itamae plugin to install elixir