itamae-plugin-recipe-tig 0.1.2 → 0.1.5

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: c7673c8e3e6c70072cdec859431ee4af8fbb8a2e
4
- data.tar.gz: f764d3884f3670175b9848c0fff5e897f496a6da
2
+ SHA256:
3
+ metadata.gz: 19cda5905789cda399dfaa6dd151dfbef0ff643eb301829d60c2244f1adcd437
4
+ data.tar.gz: 4433108e11005d1c663357252907694c50cbb4d99b558d38a0ce91eb4d92d9e6
5
5
  SHA512:
6
- metadata.gz: fbf4e4533be2024f6dd6ddd12ac898073aa97b5463cfd8d9c51298759946637dc7b8221a3821e6a9a84f60a393fdaa0971f0f475e90c2a881dafeafc7fd91da8
7
- data.tar.gz: 6381bbc7331a08197d139958101b25b038c63c5d5491aab92d9116236cc681a1cd20c154cb42d8023d3be85b799f7bdb749696b381550ab2929635f7b3ceee27
6
+ metadata.gz: 919ed70ac83d5c8573d39a77066b84b6ecaddbb62726a48cc9ae4daa4ea4a2e2b3fad90eb21186e7b6841df0666afe32e313b849d0639ba5798aeeed5811951d
7
+ data.tar.gz: e4c660a4681473e9032329f675a36c2166d288428feb04b8b9225cb7a4ce42b2e76f974efde6babc627ecdc58c19142b1b8dd486a53e5287c559e573f34e15ce
@@ -0,0 +1,98 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+ - reopened
12
+ schedule:
13
+ - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
+
15
+ env:
16
+ CI: "true"
17
+
18
+ jobs:
19
+ test:
20
+ runs-on: ubuntu-latest
21
+
22
+ strategy:
23
+ fail-fast: false
24
+
25
+ matrix:
26
+ ruby:
27
+ - 2.3
28
+ image:
29
+ - centos:7
30
+ - debian:jessie
31
+ - debian:stretch
32
+ - debian:buster
33
+ - amazonlinux:2
34
+
35
+ steps:
36
+ - uses: actions/checkout@v2
37
+
38
+ - uses: eregon/use-ruby-action@v1
39
+ with:
40
+ ruby-version: ${{ matrix.ruby }}
41
+
42
+ - name: Cache vendor/bundle
43
+ uses: actions/cache@v1
44
+ id: cache_gem
45
+ with:
46
+ path: vendor/bundle
47
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
48
+ restore-keys: |
49
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
50
+
51
+ - name: bundle update
52
+ run: |
53
+ set -xe
54
+ bundle config path vendor/bundle
55
+ bundle update --jobs $(nproc) --retry 3
56
+
57
+ - name: Run Itamae
58
+ run: |
59
+ set -xe
60
+ bundle exec itamae docker --node-yaml=spec/recipes/node.yml spec/recipes/install.rb --image=$IMAGE --tag itamae-plugin:latest
61
+ env:
62
+ IMAGE: ${{ matrix.image }}
63
+
64
+ - name: Run Serverspec
65
+ run: |
66
+ set -xe
67
+ bundle exec rspec
68
+ env:
69
+ DOCKER_IMAGE: itamae-plugin:latest
70
+
71
+ - name: Slack Notification (not success)
72
+ uses: lazy-actions/slatify@master
73
+ if: "! success()"
74
+ continue-on-error: true
75
+ with:
76
+ job_name: ${{ format('*build* ({0}, {1})', matrix.ruby, matrix.image) }}
77
+ type: ${{ job.status }}
78
+ icon_emoji: ":octocat:"
79
+ url: ${{ secrets.SLACK_WEBHOOK }}
80
+ token: ${{ secrets.GITHUB_TOKEN }}
81
+
82
+ notify:
83
+ needs:
84
+ - test
85
+
86
+ runs-on: ubuntu-latest
87
+
88
+ steps:
89
+ - name: Slack Notification (success)
90
+ uses: lazy-actions/slatify@master
91
+ if: always()
92
+ continue-on-error: true
93
+ with:
94
+ job_name: '*build*'
95
+ type: ${{ job.status }}
96
+ icon_emoji: ":octocat:"
97
+ url: ${{ secrets.SLACK_WEBHOOK }}
98
+ token: ${{ secrets.GITHUB_TOKEN }}
data/.gitignore CHANGED
@@ -7,4 +7,3 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
- .vagrant/
data/CHANGELOG.md CHANGED
@@ -1,4 +1,38 @@
1
1
  # Change Log
2
+ ## [v0.1.5](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.5) (2022/03/31)
3
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.4...v0.1.5)
4
+
5
+ * Change default schema to https
6
+ * https://github.com/sue445/itamae-plugin-recipe-tig/pull/31
7
+
8
+ ## [v0.1.4](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.4) (2021/11/20)
9
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.3...v0.1.4)
10
+
11
+ * Enable MFA requirement for gem releasing
12
+ * https://github.com/sue445/itamae-plugin-recipe-tig/pull/30
13
+
14
+ ## [v0.1.3](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.3) (2018/10/11)
15
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.2...v0.1.3)
16
+
17
+ **Merged pull requests:**
18
+
19
+ - Refactor spec and CI [\#15](https://github.com/sue445/itamae-plugin-recipe-tig/pull/15) ([sue445](https://github.com/sue445))
20
+ - Fixed. can not install tig on AmazonLinux [\#14](https://github.com/sue445/itamae-plugin-recipe-tig/pull/14) ([sue445](https://github.com/sue445))
21
+ - Dockerlize [\#13](https://github.com/sue445/itamae-plugin-recipe-tig/pull/13) ([sue445](https://github.com/sue445))
22
+ - update Vagrantfile [\#12](https://github.com/sue445/itamae-plugin-recipe-tig/pull/12) ([sue445](https://github.com/sue445))
23
+ - Update CI image [\#11](https://github.com/sue445/itamae-plugin-recipe-tig/pull/11) ([sue445](https://github.com/sue445))
24
+
25
+ ## [v0.1.2](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.2) (2017/09/12)
26
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.1...v0.1.2)
27
+
28
+ **Merged pull requests:**
29
+
30
+ - Resolved: failure make configure on debian8 [\#10](https://github.com/sue445/itamae-plugin-recipe-tig/pull/10) ([sue445](https://github.com/sue445))
31
+ - Migrate to workflow [\#9](https://github.com/sue445/itamae-plugin-recipe-tig/pull/9) ([sue445](https://github.com/sue445))
32
+ - \[CI\] Migrate to Docker [\#8](https://github.com/sue445/itamae-plugin-recipe-tig/pull/8) ([sue445](https://github.com/sue445))
33
+ - Update box [\#7](https://github.com/sue445/itamae-plugin-recipe-tig/pull/7) ([sue445](https://github.com/sue445))
34
+ - Remove unused file [\#6](https://github.com/sue445/itamae-plugin-recipe-tig/pull/6) ([sue445](https://github.com/sue445))
35
+ - Support parallels CI [\#5](https://github.com/sue445/itamae-plugin-recipe-tig/pull/5) ([sue445](https://github.com/sue445))
2
36
 
3
37
  ## [v0.1.1](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.1) (2016/03/06)
4
38
  [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.0...v0.1.1)
data/README.md CHANGED
@@ -3,9 +3,7 @@
3
3
  [Itamae](https://github.com/itamae-kitchen/itamae) plugin to install [tig](https://github.com/jonas/tig)
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-tig.svg)](https://badge.fury.io/rb/itamae-plugin-recipe-tig)
6
- [![Dependency Status](https://gemnasium.com/sue445/itamae-plugin-recipe-tig.svg)](https://gemnasium.com/sue445/itamae-plugin-recipe-tig)
7
-
8
- [![wercker status](https://app.wercker.com/status/c59024592cbde003c22281c34332be02/m "wercker status")](https://app.wercker.com/project/bykey/c59024592cbde003c22281c34332be02)
6
+ [![Build Status](https://github.com/sue445/itamae-plugin-recipe-tig/workflows/test/badge.svg?branch=master)](https://github.com/sue445/itamae-plugin-recipe-tig/actions?query=workflow%3Atest)
9
7
 
10
8
  ## Installation
11
9
 
@@ -46,8 +44,8 @@ tig:
46
44
  # source dir (default: /usr/local/src)
47
45
  src: /usr/local/src
48
46
 
49
- # specify scheme to use in git clone (default: git)
50
- scheme: git
47
+ # specify scheme to use in git clone (default: https)
48
+ scheme: https
51
49
 
52
50
  # install version (default: HEAD)
53
51
  version: 2.1.1
@@ -60,12 +58,11 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
60
58
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
61
59
 
62
60
  ## Testing
63
- requirements [Vagrant](https://www.vagrantup.com/)
61
+ requirements [Docker](https://www.docker.com/)
64
62
 
65
63
  ```sh
66
- vagrant up centos70
67
- bundle exec rake itamae:centos70
68
- bundle exec rake spec:centos70
64
+ bundle exec itamae docker --node-yaml=spec/recipes/node.yml spec/recipes/install.rb --image=centos:7 --tag itamae-plugin:latest
65
+ DOCKER_IMAGE=itamae-plugin:latest bundle exec rspec
69
66
  ```
70
67
 
71
68
  ## Contributing
data/Rakefile CHANGED
@@ -1,29 +1 @@
1
1
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- task :spec => "spec:all"
5
-
6
- HOSTS = %w(centos70 debian8)
7
-
8
- namespace :spec do
9
- task :all => HOSTS
10
-
11
- HOSTS.each do |host|
12
- RSpec::Core::RakeTask.new(host.to_sym) do |t|
13
- puts "Running tests to #{host} ..."
14
- ENV["TARGET_HOST"] = host
15
- t.pattern = "spec/*_spec.rb"
16
- end
17
- end
18
- end
19
-
20
- namespace :itamae do
21
- task :all => HOSTS
22
-
23
- HOSTS.each do |host|
24
- desc "Running itamae to #{host}"
25
- task host do
26
- sh "itamae ssh --host=#{host} --vagrant --node-yaml=recipes/node.yml recipes/install.rb"
27
- end
28
- end
29
- end
@@ -14,6 +14,11 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/sue445/itamae-plugin-recipe-tig"
15
15
  spec.license = "MIT"
16
16
 
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
20
+ spec.metadata["rubygems_mfa_required"] = "true"
21
+
17
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
23
  spec.bindir = "exe"
19
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -21,7 +26,8 @@ Gem::Specification.new do |spec|
21
26
 
22
27
  spec.add_dependency "itamae"
23
28
 
24
- spec.add_development_dependency "bundler", "~> 1.10"
25
- spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "bundler", ">= 1.10"
30
+ spec.add_development_dependency "docker-api"
31
+ spec.add_development_dependency "rake"
26
32
  spec.add_development_dependency "serverspec"
27
33
  end
@@ -2,7 +2,7 @@ node.reverse_merge!(
2
2
  tig: {
3
3
  prefix: "/usr/local",
4
4
  src: "/usr/local/src",
5
- scheme: "git",
5
+ scheme: "https",
6
6
  },
7
7
  )
8
8
 
@@ -15,8 +15,9 @@ case node[:platform]
15
15
  when "debian", "ubuntu"
16
16
  package "libncursesw5-dev"
17
17
  package "pkg-config"
18
- when 'redhat'
18
+ when 'redhat', "amazon"
19
19
  package "ncurses-devel"
20
+ package "which"
20
21
  end
21
22
 
22
23
  tig_dir = "#{node[:tig][:src]}/tig"
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Tig
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-tig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2022-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -28,30 +28,44 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.10'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: docker-api
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - "~>"
59
+ - - ">="
46
60
  - !ruby/object:Gem::Version
47
- version: '10.0'
61
+ version: '0'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - "~>"
66
+ - - ">="
53
67
  - !ruby/object:Gem::Version
54
- version: '10.0'
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: serverspec
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -73,6 +87,7 @@ executables: []
73
87
  extensions: []
74
88
  extra_rdoc_files: []
75
89
  files:
90
+ - ".github/workflows/test.yml"
76
91
  - ".github_changelog_generator"
77
92
  - ".gitignore"
78
93
  - ".rspec"
@@ -81,23 +96,21 @@ files:
81
96
  - LICENSE.txt
82
97
  - README.md
83
98
  - Rakefile
84
- - Vagrantfile
85
99
  - bin/console
86
100
  - bin/setup
87
- - ci/build.sh
88
- - ci/setup.sh
89
101
  - itamae-plugin-recipe-tig.gemspec
90
102
  - lib/itamae/plugin/recipe/tig.rb
91
103
  - lib/itamae/plugin/recipe/tig/default.rb
92
104
  - lib/itamae/plugin/recipe/tig/version.rb
93
- - recipes/install.rb
94
- - recipes/node.yml
95
- - wercker.yml
96
105
  homepage: https://github.com/sue445/itamae-plugin-recipe-tig
97
106
  licenses:
98
107
  - MIT
99
- metadata: {}
100
- post_install_message:
108
+ metadata:
109
+ homepage_uri: https://github.com/sue445/itamae-plugin-recipe-tig
110
+ source_code_uri: https://github.com/sue445/itamae-plugin-recipe-tig
111
+ changelog_uri: https://github.com/sue445/itamae-plugin-recipe-tig/blob/master/CHANGELOG.md
112
+ rubygems_mfa_required: 'true'
113
+ post_install_message:
101
114
  rdoc_options: []
102
115
  require_paths:
103
116
  - lib
@@ -112,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
125
  - !ruby/object:Gem::Version
113
126
  version: '0'
114
127
  requirements: []
115
- rubyforge_project:
116
- rubygems_version: 2.5.1
117
- signing_key:
128
+ rubygems_version: 3.3.7
129
+ signing_key:
118
130
  specification_version: 4
119
131
  summary: Itamae plugin to install tig
120
132
  test_files: []
data/Vagrantfile DELETED
@@ -1,106 +0,0 @@
1
- # -*- mode: ruby -*-
2
- # vi: set ft=ruby :
3
-
4
- # All Vagrant configuration is done below. The "2" in Vagrant.configure
5
- # configures the configuration version (we support older styles for
6
- # backwards compatibility). Please don't change it unless you know what
7
- # you're doing.
8
- Vagrant.configure(2) do |config|
9
- config.vm.provider :digital_ocean do |provider, override|
10
- override.vm.box = "digital_ocean"
11
- override.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
12
- provider.token = ENV["DIGITALOCEAN_ACCESS_TOKEN"]
13
- provider.region = "nyc3"
14
- provider.size = "512MB"
15
-
16
- if ENV["WERCKER"] == "true"
17
- provider.ssh_key_name = "wercker-#{ENV['WERCKER_GIT_REPOSITORY']}"
18
- override.ssh.private_key_path = "~/.ssh/id_rsa.vagrant"
19
- override.vm.synced_folder ".", "/vagrant", disabled: true
20
- else
21
- provider.ssh_key_name = "local"
22
- override.ssh.private_key_path = "~/.ssh/id_rsa"
23
- end
24
- end
25
-
26
- config.vm.define :centos70 do |c|
27
- c.vm.box = "centos/7"
28
- c.vm.provider :digital_ocean do |provider, override|
29
- provider.image = "centos-7-0-x64"
30
- end
31
- c.vm.hostname = 'itamae-tig-centos70'
32
- c.vm.hostname += "-#{ENV['WERCKER_BUILD_ID']}" if ENV['WERCKER_BUILD_ID']
33
- end
34
-
35
- config.vm.define :debian8 do |c|
36
- c.vm.box = "debian/jessie64"
37
- c.vm.provider :digital_ocean do |provider, override|
38
- provider.image = "debian-8-x64"
39
- end
40
- c.vm.hostname = 'itamae-tig-debian8'
41
- c.vm.hostname += "-#{ENV['WERCKER_BUILD_ID']}" if ENV['WERCKER_BUILD_ID']
42
- end
43
-
44
- # The most common configuration options are documented and commented below.
45
- # For a complete reference, please see the online documentation at
46
- # https://docs.vagrantup.com.
47
-
48
- # Every Vagrant development environment requires a box. You can search for
49
- # boxes at https://atlas.hashicorp.com/search.
50
- # config.vm.box = "base"
51
-
52
- # Disable automatic box update checking. If you disable this, then
53
- # boxes will only be checked for updates when the user runs
54
- # `vagrant box outdated`. This is not recommended.
55
- # config.vm.box_check_update = false
56
-
57
- # Create a forwarded port mapping which allows access to a specific port
58
- # within the machine from a port on the host machine. In the example below,
59
- # accessing "localhost:8080" will access port 80 on the guest machine.
60
- # config.vm.network "forwarded_port", guest: 80, host: 8080
61
-
62
- # Create a private network, which allows host-only access to the machine
63
- # using a specific IP.
64
- # config.vm.network "private_network", ip: "192.168.33.10"
65
-
66
- # Create a public network, which generally matched to bridged network.
67
- # Bridged networks make the machine appear as another physical device on
68
- # your network.
69
- # config.vm.network "public_network"
70
-
71
- # Share an additional folder to the guest VM. The first argument is
72
- # the path on the host to the actual folder. The second argument is
73
- # the path on the guest to mount the folder. And the optional third
74
- # argument is a set of non-required options.
75
- # config.vm.synced_folder "../data", "/vagrant_data"
76
-
77
- # Provider-specific configuration so you can fine-tune various
78
- # backing providers for Vagrant. These expose provider-specific options.
79
- # Example for VirtualBox:
80
- #
81
- # config.vm.provider "virtualbox" do |vb|
82
- # # Display the VirtualBox GUI when booting the machine
83
- # vb.gui = true
84
- #
85
- # # Customize the amount of memory on the VM:
86
- # vb.memory = "1024"
87
- # end
88
- #
89
- # View the documentation for the provider you are using for more
90
- # information on available options.
91
-
92
- # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
93
- # such as FTP and Heroku are also available. See the documentation at
94
- # https://docs.vagrantup.com/v2/push/atlas.html for more information.
95
- # config.push.define "atlas" do |push|
96
- # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
97
- # end
98
-
99
- # Enable provisioning with a shell script. Additional provisioners such as
100
- # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
101
- # documentation for more information about their specific syntax and use.
102
- # config.vm.provision "shell", inline: <<-SHELL
103
- # sudo apt-get update
104
- # sudo apt-get install -y apache2
105
- # SHELL
106
- end
data/ci/build.sh DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash -xe
2
-
3
- readonly HOST=$1
4
-
5
- vagrant up $HOST --provider=digital_ocean
6
- bundle exec rake itamae:$HOST
7
- bundle exec rake spec:$HOST
data/ci/setup.sh DELETED
@@ -1,25 +0,0 @@
1
- #!/bin/bash -xe
2
-
3
- wget https://releases.hashicorp.com/vagrant/1.8.4/vagrant_1.8.4_x86_64.rpm
4
- rpm -i vagrant_1.8.4_x86_64.rpm
5
- vagrant plugin install vagrant-digitalocean
6
-
7
- # NOTE: vagrant v1.8.4 depends on bundler v1.12.5
8
- # https://github.com/mitchellh/vagrant/blob/v1.8.4/vagrant.gemspec#L23
9
- gem uninstall bundler --all --force
10
- gem install bundler -v 1.12.5 --no-document
11
-
12
-
13
- mkdir -m 700 -p $HOME/.ssh
14
-
15
- #########################
16
- # put ssh keys
17
- set +x
18
-
19
- echo -e "$DIGITALOCEAN_KEY_PRIVATE" > $HOME/.ssh/id_rsa.vagrant
20
- echo -e "$DIGITALOCEAN_KEY_PUBLIC" > $HOME/.ssh/id_rsa.vagrant.pub
21
-
22
- set -x
23
- #########################
24
-
25
- chmod 600 $HOME/.ssh/id_rsa.vagrant
data/recipes/install.rb DELETED
@@ -1 +0,0 @@
1
- include_recipe "tig"
data/recipes/node.yml DELETED
@@ -1,3 +0,0 @@
1
- tmux:
2
- version: "2.1.1"
3
- prefix: "/usr/local"
data/wercker.yml DELETED
@@ -1,60 +0,0 @@
1
- # This references the default Ruby container from
2
- # the Docker Hub.
3
- # https://registry.hub.docker.com/_/ruby/
4
- # If you want to use a specific version you would use a tag:
5
- # ruby:2.2.2
6
- box: drecom/centos-ruby:2.3.1
7
- # You can also use services such as databases. Read more on our dev center:
8
- # http://devcenter.wercker.com/docs/services/index.html
9
- # services:
10
- # - postgres
11
- # http://devcenter.wercker.com/docs/services/postgresql.html
12
-
13
- # - mongodb
14
- # http://devcenter.wercker.com/docs/services/mongodb.html
15
-
16
- default: &default
17
- after-steps:
18
- - script:
19
- name: set variables
20
- code: |
21
- # NOTE: override .ruby-version in pretty-slack-notify
22
- export RBENV_VERSION=2.3.1
23
- - script:
24
- name: remove all vms
25
- code: vagrant destroy -f
26
-
27
- - wantedly/pretty-slack-notify:
28
- webhook_url: $SLACK_WEBHOOK_URL
29
- username: wercker_build
30
-
31
- build:
32
- steps:
33
-
34
- build-centos70:
35
- <<: *default
36
- steps:
37
- - script:
38
- name: setup
39
- code: ./ci/setup.sh
40
-
41
- - bundle-install:
42
- jobs: 4
43
-
44
- - script:
45
- name: build CentOS 7.0
46
- code: ./ci/build.sh centos70
47
-
48
- build-debian8:
49
- <<: *default
50
- steps:
51
- - script:
52
- name: setup
53
- code: ./ci/setup.sh
54
-
55
- - bundle-install:
56
- jobs: 4
57
-
58
- - script:
59
- name: build Debian 8
60
- code: ./ci/build.sh debian8