ski 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +53 -57
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c008b0ca30880effe6e9a44511e8bb2602ab865
4
- data.tar.gz: 3edb69ea5640eedc6d88bf5aa6bb787fb1f2cacf
3
+ metadata.gz: 8370b183629d8ee639140ee2de5c1fd2f275ffaa
4
+ data.tar.gz: fee669401e0db729b6c9afe7e5223e98675e09fc
5
5
  SHA512:
6
- metadata.gz: fcf2387377040c03d55b704ecb4c3e5fef6be7e539df848ed826f6b33ce5ea075e5a62baa62d1a9453f81e79c379bd76bd0b11cacb25845ae34a82489cfa2caa
7
- data.tar.gz: 7c878a934ef61c065b7bbb7e9f5b2e7694d4a5e73dd8a4c97ebafc8748008bd6eaab4ba94e2f865cbcca63ef75c5ec1c11bc8577288d65f2cd71a899bfc8a24b
6
+ metadata.gz: 53a38d620d7eeaf3881bcf5089cfb07d3e67109ca839f88ecdba56a62267cb4923bb47476e514aabc1a31d5de4dd37d4ed9bf1b837b0c1d4f9e072874d663936
7
+ data.tar.gz: 876dd3570952ab5768ce99c2fe514b9b15c579f52abb5856eed5c6e32ff835061c92fc656afcf0a228805556c51f417ed3abd4e50c66309d4d17f21e8ee4ae1e
data/README.md CHANGED
@@ -12,66 +12,62 @@ Example setup:
12
12
  2. Add a file `your-project.yml` to `.ski/`
13
13
 
14
14
  ``` yaml
15
- title: Your Project
15
+ title: Bonumco
16
16
  description: Hello World
17
17
  pipelines:
18
- - pipeline:
19
- id: build
20
- description: Build local docker images
21
- fail-fast: true
22
- target: :local
23
- tasks:
24
- - task:
25
- name: Show all local files
26
- command: ls .
27
- - task:
28
- name: Space used
29
- command: du -sch .
30
- - task:
31
- name: Ping google exactly one time
32
- command: ping google.de -t 1
33
- - task:
34
- name: Check processes running of port 3000
35
- command: lsof -i :3000
36
- - task:
37
- name: Check ruby version
38
- command: ruby -v
39
- on-success:
40
- tasks:
41
- - task:
42
- name: Wish a happy day
43
- command: echo 'Hey dear, the deployment was successfull. Have a nice day! :)'
44
- on-error:
45
- tasks:
46
- - task:
47
- name: Build App server
48
- command: echo 'Hello World'
49
- - pipeline:
50
- id: deploy
51
- description: Build local docker images
52
- fail-fast: true
53
- target: :local
54
- tasks:
55
- - task:
56
- name: Deploy to prod
57
- command: echo 'Deploy to prod'
58
- on-success:
59
- tasks:
60
- - task:
61
- name: Build App server
62
- command: echo 'Hello World'
63
- on-error:
64
- tasks:
65
- - task:
66
- name: Build App server
67
- command: echo 'Hello World'
18
+ build:
19
+ description: Build local docker images
20
+ fail-fast: false
21
+ interactive: false
22
+ target: :local
23
+ workdir: .
24
+ tasks:
25
+ show-all-local-files:
26
+ description: Show all local files
27
+ command: ls .
28
+ show-space-used:
29
+ description: Show the whole space
30
+ command: du -sch .
31
+ sleep-5:
32
+ description: Ping google exactly one time
33
+ command: sleep 5
34
+ check-processes:
35
+ description: Check processes running of port 3000
36
+ command: lsof -i :3000
37
+ check-ruby-version:
38
+ description: Check ruby version
39
+ command: ruby -v
40
+ then:
41
+ greet:
42
+ description: Wish a happy day
43
+ command: echo 'Hey dear, the deployment was successfull. Have a nice day! :)'
44
+ catch:
45
+ rollback:
46
+ description: Rolling back actions
47
+ command: echo 'Oooops, something went wrong!'
48
+ deployment:
49
+ description: Deploy things
50
+ interactive: true
51
+ fail-fast: true
52
+ target: :local
53
+ tasks:
54
+ deploy-to-production:
55
+ description: Deploy to production
56
+ command: echo 'Bam bam production!'
57
+ then:
58
+ greet:
59
+ description: Wish a happy day
60
+ command: echo 'Hey dear, the deployment was successfull. Have a nice day! :)'
61
+ catch:
62
+ greet:
63
+ description: Wish a happy day
64
+ command: echo 'Hey dear, the deployment was successfull. Have a nice day! :)'
68
65
  targets:
69
- - target:
70
- name: local
71
- ip: 192.168.0.1
72
- username: root
73
- password: :prompt
74
- ssh-key: true
66
+ local:
67
+ ip: 192.168.0.1
68
+ username: root
69
+ password: :prompt
70
+ ssh-key: true
75
71
  ```
76
72
 
77
73
  3. Run:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ski
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niklas Hanft