safedb 0.10.13 → 0.10.16

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
2
  SHA256:
3
- metadata.gz: e789d2c5402dfa894b1d29f52133b0eda76b628f64c98462cf8687a61eb55048
4
- data.tar.gz: b3a47e58b5d9d94f053a607752a00eca0f8a9a094a430d2547d735073e05992e
3
+ metadata.gz: c5abf5cbe11b5f624075cb0682b4ef2cbaf389e32c3893b1c65cda077db96678
4
+ data.tar.gz: d722e1f6ac75bc26fbaaf13d31902c217405b927a1241ba6561fe3c332e93d49
5
5
  SHA512:
6
- metadata.gz: 0e11ce1052317d1e8b93a77c029024589b8c129843f71f38c8c61301cf9690925b6c4c481f1611542d3cdfae1c756e6a49167708424a5bb541feae39898d848e
7
- data.tar.gz: 24f1b871e41b913d3d51078c853e669d7ca32705f0e282d4e6464ae73d9325ae9ebf8054ecf6ffaf8d09cd619bb6aea6a2f8c8ff299a88f725da754537fdeb29
6
+ metadata.gz: 6b6a42085bd4c547b31ccfbb45220b9b6352c756c7407d78aadee78e6cf6279fee9c6dcb7645ae458cc431c4af247c37960cd07b6da02a070913546cf2c4d34f
7
+ data.tar.gz: ac9685e0d0ff7fec147efe2844863a4214678c21d76f8e85bbdf267998676a3f75564700953f9fda9454d3f4b0b7b58a20a91b9f49b2a3d6b93ed9906c920025
data/Jenkinsfile CHANGED
@@ -9,7 +9,7 @@ pipeline
9
9
  {
10
10
  kubernetes
11
11
  {
12
- yamlFile 'pod-image-test.yaml'
12
+ yamlFile 'pod-image-validate.yaml'
13
13
  }
14
14
  }
15
15
  steps
@@ -26,7 +26,7 @@ pipeline
26
26
  {
27
27
  kubernetes
28
28
  {
29
- yamlFile 'pod-image-test.yaml'
29
+ yamlFile 'pod-image-validate.yaml'
30
30
  }
31
31
  }
32
32
  steps
@@ -48,21 +48,24 @@ pipeline
48
48
  yamlFile 'pod-image-release.yaml'
49
49
  }
50
50
  }
51
- when { environment name: 'GIT_BRANCH', value: 'origin/master' }
51
+ when { not { environment name: 'GIT_BRANCH', value: 'origin/master' } }
52
52
  steps
53
53
  {
54
54
  container('safehaven')
55
55
  {
56
56
  checkout scm
57
- sh 'mkdir -p $HOME/.ssh && cp $HOME/gitsshconfig/config $HOME/.ssh/config'
58
57
  sh 'mkdir -p $HOME/.gem && cp $HOME/gemcredentials/credentials $HOME/.gem/credentials'
59
58
  sh 'chmod 0600 $HOME/.gem/credentials'
59
+ /*
60
+ sh 'mkdir -p $HOME/.ssh && cp $HOME/gitsshconfig/config $HOME/.ssh/config'
60
61
  sh 'git config --global user.email apolloakora@gmail.com'
61
62
  sh 'git config --global user.name "Apollo Akora"'
62
63
  sh 'ssh -i $HOME/gitsshkey/safedb.code.private.key.pem -vT git@safedb.code || true'
63
64
  sh 'git remote set-url --push origin git@safedb.code:devops4me/safedb.net.git'
64
65
  sh 'git branch && git checkout master'
65
66
  sh 'gem bump minor --release --file=$PWD/lib/version.rb'
67
+ */
68
+ sh 'rake release'
66
69
  }
67
70
  }
68
71
  }
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SafeDb
2
- VERSION = "0.10.13"
2
+ VERSION = "0.10.16"
3
3
  end
File without changes
data/release.sh ADDED
@@ -0,0 +1,24 @@
1
+ #!/bin/bash
2
+
3
+ # bring in any changes made to the master branch
4
+ git pull origin master
5
+
6
+ # to release we bump the version and push to master
7
+ gem bump patch --tag --push --file=$PWD/lib/version.rb
8
+
9
+ # pull in release and bring it up to date with master
10
+ git fetch origin
11
+
12
+ # checkoug fails if branch not available locally
13
+ # git checkout -b release origin/release
14
+ git checkout release
15
+
16
+ # pull in latest changes to the release branch
17
+ git pull origin release
18
+ git merge master
19
+
20
+ # push updated release branch with new version number
21
+ git push origin release
22
+
23
+ # return the local repository to the master line
24
+ git checkout master
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safedb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.13
4
+ version: 0.10.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apollo Akora
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-26 00:00:00.000000000 Z
11
+ date: 2020-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -222,7 +222,8 @@ files:
222
222
  - lib/version.rb
223
223
  - pkg/README.md
224
224
  - pod-image-release.yaml
225
- - pod-image-test.yaml
225
+ - pod-image-validate.yaml
226
+ - release.sh
226
227
  - safedb.gemspec
227
228
  homepage: https://www.safedb.net
228
229
  licenses: