conjur-debify 1.7.0 → 1.7.2
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/CHANGELOG.md +5 -0
- data/Jenkinsfile +17 -1
- data/VERSION +1 -1
- data/lib/conjur/debify.rb +0 -1
- data/lib/conjur/debify/action/publish.rb +1 -1
- metadata +2 -3
- data/jenkins.sh +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 117d315b0dc516a27f84486de525a05e62bd786b
|
|
4
|
+
data.tar.gz: f45792c06ba54081913e1cb3d066b6fba0fab566
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ad524150e3af3a337ff05b7cec2bd587d2841714d202fefca2c1845ec98e4c2642d426fc7f60f6da270defb1d46c605725ece553ecf2cdd5e1716c114ab4b6b
|
|
7
|
+
data.tar.gz: e05efbdcd0f98acc62fad72e0dd23f86180077151b17be44e8228772eafeafeb3dba43cc9704d0e87c1881733cd9b0b8d274a9a7fbbf224706313395efbd001e
|
data/CHANGELOG.md
CHANGED
data/Jenkinsfile
CHANGED
|
@@ -49,7 +49,23 @@ pipeline {
|
|
|
49
49
|
stage('Publish to RubyGems') {
|
|
50
50
|
agent { label 'releaser-v2' }
|
|
51
51
|
when {
|
|
52
|
-
|
|
52
|
+
allOf {
|
|
53
|
+
branch 'master'
|
|
54
|
+
expression {
|
|
55
|
+
boolean publish = false
|
|
56
|
+
|
|
57
|
+
try {
|
|
58
|
+
timeout(time: 5, unit: 'MINUTES') {
|
|
59
|
+
input(message: 'Publish to RubyGems?')
|
|
60
|
+
publish = true
|
|
61
|
+
}
|
|
62
|
+
} catch (final ignore) {
|
|
63
|
+
publish = false
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return publish
|
|
67
|
+
}
|
|
68
|
+
}
|
|
53
69
|
}
|
|
54
70
|
|
|
55
71
|
steps {
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.7.
|
|
1
|
+
1.7.2
|
data/lib/conjur/debify.rb
CHANGED
|
@@ -643,7 +643,6 @@ command "publish" do |c|
|
|
|
643
643
|
raise "project-name is required" unless project_name = args.shift
|
|
644
644
|
raise "Received extra command-line arguments" if args.shift
|
|
645
645
|
|
|
646
|
-
require 'pry'; binding.pry
|
|
647
646
|
Conjur::Debify::Action::Publish.new(distribution, project_name, cmd_options).run
|
|
648
647
|
end
|
|
649
648
|
end
|
|
@@ -58,7 +58,7 @@ module Conjur::Debify
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
def create_image
|
|
61
|
-
Docker::Image.build_from_dir File.expand_path('publish', File.dirname(__FILE__)), tag: "debify-publish", &DebugMixin::DOCKER
|
|
61
|
+
Docker::Image.build_from_dir File.expand_path('../../publish', File.dirname(__FILE__)), tag: "debify-publish", &DebugMixin::DOCKER
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
def fetch_art_creds
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: conjur-debify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Gilpin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-10-
|
|
11
|
+
date: 2017-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gli
|
|
@@ -189,7 +189,6 @@ files:
|
|
|
189
189
|
- features/package.feature
|
|
190
190
|
- features/step_definitions/debify_steps.rb
|
|
191
191
|
- features/support/env.rb
|
|
192
|
-
- jenkins.sh
|
|
193
192
|
- lib/conjur/debify.rb
|
|
194
193
|
- lib/conjur/debify/Dockerfile.fpm
|
|
195
194
|
- lib/conjur/debify/action/publish.rb
|
data/jenkins.sh
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/bin/bash -ex
|
|
2
|
-
|
|
3
|
-
gem install -N bundler
|
|
4
|
-
bundle
|
|
5
|
-
rm -rf features/reports
|
|
6
|
-
cucumber --format pretty --format junit --out features/reports || true
|
|
7
|
-
|
|
8
|
-
if [ "$GIT_BRANCH" == "origin/master" ]; then
|
|
9
|
-
TAG=$(cat lib/conjur/debify/version.rb | grep -o '".*"' | tr -d '"')
|
|
10
|
-
|
|
11
|
-
docker build -t debify .
|
|
12
|
-
docker tag -f debify registry.tld/debify:$TAG
|
|
13
|
-
docker tag -f debify registry.tld/debify:latest
|
|
14
|
-
docker push registry.tld/debify:$TAG
|
|
15
|
-
docker push registry.tld/debify:latest
|
|
16
|
-
fi
|