Skip to content
Snippets Groups Projects
Commit 90cd79b9 authored by elijah's avatar elijah
Browse files

Merge branch 'rake_install' of https://0xacab.org/varac/leap_cli into develop

parents 81e7054c f23617b4
Branches
Tags
No related merge requests found
Pipeline #
...@@ -2,6 +2,7 @@ Gemfile.lock ...@@ -2,6 +2,7 @@ Gemfile.lock
pkg pkg
junk junk
test/provider/hiera test/provider/hiera
test/provider/nodes/
test/provider/files/nodes/ test/provider/files/nodes/
test/provider/files/ca/ test/provider/files/ca/
test/provider/files/ssh/ test/provider/files/ssh/
......
image: ruby:2.1 image: leapcode/ruby:2.1-slim
stages: stages:
- syntax
- build - build
- trigger - trigger
...@@ -9,6 +8,11 @@ build: ...@@ -9,6 +8,11 @@ build:
stage: build stage: build
script: script:
- rake build - rake build
#- sudo rake install
#- ./bin/leap
- gem install --user-install pkg/leap_cli-*.gem
- export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
- leap
artifacts: artifacts:
paths: paths:
- pkg/leap_cli-*.gem - pkg/leap_cli-*.gem
......
...@@ -8,7 +8,7 @@ Installation ...@@ -8,7 +8,7 @@ Installation
Install prerequisites: Install prerequisites:
sudo apt-get install git ruby ruby-dev rsync openssh-client openssl rake sudo apt-get install git ruby ruby-dev rsync openssh-client openssl rake gcc make zlib1g-dev
NOTE: leap_cli requires ruby 1.9 or later. NOTE: leap_cli requires ruby 1.9 or later.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment