conjur-cli 5.6.3 → 5.6.4
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.
- checksums.yaml +4 -4
- data/APPLIANCE_VERSION +1 -1
- data/CHANGELOG.md +4 -0
- data/Jenkinsfile +31 -19
- data/conjur-cli.gemspec +1 -1
- data/lib/conjur/version.rb +1 -1
- data/{publish.sh → publish-deb.sh} +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f8b622320f010ccc24a307ded9146bd7856f7c0
|
4
|
+
data.tar.gz: 4d4bc63522bff544432931780925a31e9e0b8e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4684b54823fa3b59154ad8bb76d96b89a721e60e8dcb32572475c77e6114887e1fdc8d8180cf664a637e54d59bb7f7bee6d4a01aaa2cbe08a7b8b9524abcfaee
|
7
|
+
data.tar.gz: b70c5ba938ef59b5f08e174735fd4de3e7f3cc3eae52eee0e0026d15579a7d7aa9ce2e7d975451a50bb36392565ff6b71c07f5aba0b3467868a33b9140d40ae2
|
data/APPLIANCE_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
4.9
|
data/CHANGELOG.md
CHANGED
data/Jenkinsfile
CHANGED
@@ -47,38 +47,50 @@ pipeline {
|
|
47
47
|
|
48
48
|
stage('Publish deb') {
|
49
49
|
when {
|
50
|
-
branch '
|
50
|
+
branch 'v4'
|
51
51
|
}
|
52
52
|
|
53
53
|
steps {
|
54
|
-
sh './publish.sh
|
54
|
+
sh './publish-deb.sh $(cat APPLIANCE_VERSION) stable'
|
55
55
|
}
|
56
56
|
}
|
57
57
|
|
58
|
-
// Only publish to RubyGems if
|
59
|
-
//
|
60
|
-
stage('Publish to RubyGems
|
58
|
+
// Only publish to RubyGems if the HEAD is
|
59
|
+
// tagged with the same version as in version.rb
|
60
|
+
stage('Publish to RubyGems') {
|
61
61
|
agent { label 'releaser-v2' }
|
62
62
|
|
63
63
|
when {
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
64
|
+
expression {
|
65
|
+
def exitCode = sh returnStatus: true, script: ''' set +x
|
66
|
+
echo "Determining if publishing is requested..."
|
67
|
+
|
68
|
+
VERSION=`cat lib/conjur/version.rb | grep \'VERSION\\s*=\' | sed -e "s/.*\'\\(.*\\)\'.*/\\1/"`
|
69
|
+
echo Declared version: $VERSION
|
70
|
+
|
71
|
+
# Jenkins git plugin is broken and always fetches with `--no-tags`
|
72
|
+
# (or `--tags`, neither of which is what you want), so tags end up
|
73
|
+
# not being fetched. Try to fix that.
|
74
|
+
# (Unfortunately this fetches all remote heads, so we may have to find
|
75
|
+
# another solution for bigger repos.)
|
76
|
+
git fetch -q
|
77
|
+
|
78
|
+
# note when tag not found git rev-parse will just print its name
|
79
|
+
TAG=`git rev-parse tags/v$VERSION 2>/dev/null || :`
|
80
|
+
echo Tag v$VERSION: $TAG
|
81
|
+
|
82
|
+
HEAD=`git rev-parse HEAD`
|
83
|
+
echo HEAD: $HEAD
|
84
|
+
|
85
|
+
test "$HEAD" = "$TAG"
|
86
|
+
'''
|
87
|
+
return exitCode == 0
|
78
88
|
}
|
79
89
|
}
|
80
90
|
steps {
|
91
|
+
checkout scm
|
81
92
|
sh './publish-rubygem.sh'
|
93
|
+
deleteDir()
|
82
94
|
}
|
83
95
|
}
|
84
96
|
}
|
data/conjur-cli.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Conjur::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency 'activesupport', '
|
18
|
+
gem.add_dependency 'activesupport', '>= 4.2', '< 6'
|
19
19
|
gem.add_dependency 'conjur-api', '~> 4.30'
|
20
20
|
gem.add_dependency 'gli', '>=2.8.0'
|
21
21
|
gem.add_dependency 'highline', '~> 1.7'
|
data/lib/conjur/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjur-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.6.
|
4
|
+
version: 5.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafal Rzepecki
|
@@ -9,22 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '4.2'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '6'
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">="
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '4.2'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '6'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: conjur-api
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -477,8 +483,8 @@ files:
|
|
477
483
|
- lib/patches/conjur/error.rb
|
478
484
|
- lib/patches/gli.rb
|
479
485
|
- profile.rb
|
486
|
+
- publish-deb.sh
|
480
487
|
- publish-rubygem.sh
|
481
|
-
- publish.sh
|
482
488
|
- spec/authn_spec.rb
|
483
489
|
- spec/command/assets_spec.rb
|
484
490
|
- spec/command/audit_spec.rb
|