safedb 0.10.12 → 0.10.13

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: c67424b22f9a73d0be06e67f944d0d63773bfef5d55ef48bb2e1124c9020f476
4
- data.tar.gz: 58c4f61eaa4bf72dda710ef7d235f9c09ff6e0021d02ec27afd9fe3d0c5b219b
3
+ metadata.gz: e789d2c5402dfa894b1d29f52133b0eda76b628f64c98462cf8687a61eb55048
4
+ data.tar.gz: b3a47e58b5d9d94f053a607752a00eca0f8a9a094a430d2547d735073e05992e
5
5
  SHA512:
6
- metadata.gz: 3c4818f807d171f57c195e5454d04c38bb0a22cdf5d13eeaf53ace02adea33caeafc82e9cb3316b37df28758dd81c5d46cb924f61b6bd2b68c74e0c08df8ac6c
7
- data.tar.gz: 247b63933c58ae0e28ce709262f1662a7305950e7549db8cb390a0716d2fd51da9ca13468d87d58157f300c209e8b499600dca92462d1bd3ee23af11c242fb73
6
+ metadata.gz: 0e11ce1052317d1e8b93a77c029024589b8c129843f71f38c8c61301cf9690925b6c4c481f1611542d3cdfae1c756e6a49167708424a5bb541feae39898d848e
7
+ data.tar.gz: 24f1b871e41b913d3d51078c853e669d7ca32705f0e282d4e6464ae73d9325ae9ebf8054ecf6ffaf8d09cd619bb6aea6a2f8c8ff299a88f725da754537fdeb29
data/CONTRIBUTING.md CHANGED
@@ -108,6 +108,8 @@ Now when releasing we eject the file back into **`~/.gem/credentials`**, secure
108
108
 
109
109
  ### `gem bump patch --tag --push --release --file=$PWD/lib/version.rb`
110
110
 
111
+ ### `gem bump patch --tag --push --file=$PWD/lib/version.rb`
112
+
111
113
  The gem bump (and release) command bumps up the patch (or major or minor) version, tags the repository, pushes the changes and releases to rubygems.org
112
114
 
113
115
  ## Common Development Commands
data/Jenkinsfile CHANGED
@@ -3,54 +3,23 @@ pipeline
3
3
  agent none
4
4
  stages
5
5
  {
6
- /*
7
- stage('Maybe Skip Build')
8
- {
9
- agent any
10
- steps
11
- {
12
- scmSkip(deleteBuild: false, skipPattern:'.*\\[skip ci\\].*')
13
- }
14
-
15
- }
16
- */
17
- /*
18
- stage('Build Safe Docker Image')
19
- {
20
- agent
21
- {
22
- kubernetes
23
- {
24
- defaultContainer 'kaniko'
25
- yamlFile 'pod-image-build.yaml'
26
- }
27
- }
28
- steps
29
- {
30
- checkout scm
31
- sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --destination devops4me/haven:latest --cleanup'
32
- }
33
- }
34
- */
35
- /*
36
6
  stage('Reek Static Code Analysis')
37
7
  {
38
8
  agent
39
9
  {
40
10
  kubernetes
41
11
  {
42
- yamlFile 'pod-image-safetty.yaml'
12
+ yamlFile 'pod-image-test.yaml'
43
13
  }
44
14
  }
45
15
  steps
46
16
  {
47
- container('safettytests')
17
+ container('safehaven')
48
18
  {
49
19
  sh 'reek lib || true'
50
20
  }
51
21
  }
52
22
  }
53
- */
54
23
  stage('Cucumber Aruba Tests')
55
24
  {
56
25
  agent
@@ -85,13 +54,6 @@ pipeline
85
54
  container('safehaven')
86
55
  {
87
56
  checkout scm
88
- sh 'git status'
89
- sh 'git remote -v'
90
- sh 'pwd'
91
- sh 'ls -lah'
92
- sh 'ls -lah $HOME/gitsshconfig'
93
- sh 'ls -lah $HOME/gitsshkey'
94
- sh 'cat $HOME/gitsshconfig/config'
95
57
  sh 'mkdir -p $HOME/.ssh && cp $HOME/gitsshconfig/config $HOME/.ssh/config'
96
58
  sh 'mkdir -p $HOME/.gem && cp $HOME/gemcredentials/credentials $HOME/.gem/credentials'
97
59
  sh 'chmod 0600 $HOME/.gem/credentials'
@@ -100,7 +62,7 @@ pipeline
100
62
  sh 'ssh -i $HOME/gitsshkey/safedb.code.private.key.pem -vT git@safedb.code || true'
101
63
  sh 'git remote set-url --push origin git@safedb.code:devops4me/safedb.net.git'
102
64
  sh 'git branch && git checkout master'
103
- sh 'gem bump minor --tag --release --file=$PWD/lib/version.rb'
65
+ sh 'gem bump minor --release --file=$PWD/lib/version.rb'
104
66
  }
105
67
  }
106
68
  }
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SafeDb
2
- VERSION = "0.10.12"
2
+ VERSION = "0.10.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safedb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.12
4
+ version: 0.10.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apollo Akora
@@ -94,7 +94,6 @@ files:
94
94
  - ".gitignore"
95
95
  - ".yardopts"
96
96
  - CONTRIBUTING.md
97
- - Dockerfile
98
97
  - Gemfile
99
98
  - Jenkinsfile
100
99
  - LICENSE
@@ -222,7 +221,6 @@ files:
222
221
  - lib/utils/time/timestamp.rb
223
222
  - lib/version.rb
224
223
  - pkg/README.md
225
- - pod-image-build.yaml
226
224
  - pod-image-release.yaml
227
225
  - pod-image-test.yaml
228
226
  - safedb.gemspec
data/Dockerfile DELETED
@@ -1,57 +0,0 @@
1
- FROM ruby:latest
2
-
3
- # --->
4
- # ---> install the gems necessary to build test package and
5
- # ---> release this ruby project.
6
- # --->
7
-
8
- RUN gem install gem-release cucumber aruba yard reek
9
-
10
-
11
- # --->
12
- # ---> Create a non-root user from which cucumber and aruba
13
- # ---> orchestrate and validate command line behaviour.
14
- # --->
15
-
16
- # --------------------------> RUN adduser --home /home/safeci --shell /bin/bash --gecos 'Safe TTY Test User' safeci && \
17
- # --------------------------> install -d -m 755 -o safeci -g safeci /home/safeci
18
-
19
- # --------------------------> RUN chown -R safeci:safeci /home/safeci
20
-
21
- # --->
22
- # --->
23
- # ---> As the safeci user employ cucumber and aruba to recursively
24
- # ---> find and execute all cucumber (*.feature) files under lib.
25
- # --->
26
-
27
- # --------------------------> USER safeci
28
- # --------------------------> WORKDIR /home/safeci/code
29
-
30
-
31
-
32
-
33
-
34
- # ----------------->
35
- # ----------------->
36
- # -----------------> The plan is to replace above safeci wity rubyist (chemist, scientist, dentist)
37
- # -----------------> and let Dockerhub build the image as it is now global to ruby projects.
38
- # ----------------->
39
- # ----------------->
40
- # ----------------->
41
-
42
- # --->
43
- # ---> Copy the project assets into the docker image.
44
- # --->
45
-
46
- # -----------------> COPY . /home/safeci/code/
47
-
48
-
49
- # --->
50
- # ---> Use rake to Copy the project assets into the docker image.
51
- # --->
52
-
53
- # -----------------> RUN chown -R safeci:safeci /home/safeci && \
54
- # -----------------> cd /home/safeci/code && \
55
- # -----------------> rake install
56
-
57
-
data/pod-image-build.yaml DELETED
@@ -1,27 +0,0 @@
1
- # This kubernetes pod template instantiates a slave (JNLP) sidecar container
2
- # for Jenkins master slave communications and the Google Kaniko container for
3
- # building docker images without demanding privileged docker in/out access.
4
- ---
5
- kind: Pod
6
- metadata:
7
- name: kaniko
8
- spec:
9
- containers:
10
- - name: jnlp
11
- image: jenkins/jnlp-slave:latest
12
- - name: kaniko
13
- image: gcr.io/kaniko-project/executor:debug
14
- imagePullPolicy: Always
15
- volumeMounts:
16
- - name: regcredsvolume
17
- mountPath: /kaniko/.docker
18
- command:
19
- - /busybox/sh
20
- - "-c"
21
- args:
22
- - /busybox/cat
23
- tty: true
24
- volumes:
25
- - name: regcredsvolume
26
- secret:
27
- secretName: registrycreds