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 +5 -5
- data/.gitignore +7 -0
- data/README.md +3 -2
- data/Rakefile +1 -1
- data/Vagrantfile +2 -2
- data/ci/build.sh +0 -2
- data/lib/itamae/plugin/recipe/elixir/setup.rb +2 -3
- data/lib/itamae/plugin/recipe/elixir/version.rb +1 -1
- data/recipes/node.yml +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 397497984b26d6e0afab06f825a1fcebdb31bb49e374908370131ed0ed2df71b
|
4
|
+
data.tar.gz: 8de4b9d6148345d0bdbed15a84397774b8729734e598a1530b72ff23ce9e7c3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6150ec02c5b02b4f561800c06243973170d125a6c16753ca969cb61009fa6b3d0ab472efbba68645b5ea2155ba06ffdd6077db660ae69386a8423f5db07476fa
|
7
|
+
data.tar.gz: 667a9cac8f841e7918883b23ad21b40d2beac0a5c57803d6adee9036f82f100b65baabf847abaff18b1e8873ee16d2f973c7a19124f7a685a178c1a0b66843bb
|
data/.gitignore
CHANGED
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.
|
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.
|
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
|
data/Vagrantfile
CHANGED
@@ -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 = "
|
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-
|
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"]
|
data/ci/build.sh
CHANGED
@@ -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.
|
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"
|
data/recipes/node.yml
CHANGED
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.
|
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:
|
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.
|
147
|
+
rubygems_version: 2.7.3
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Itamae plugin to install elixir
|