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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8855639443d69bd88b95e4c6ba08bf24f2b165ca
4
- data.tar.gz: f3c6e6d781021d263caa26bdc1f15dbb5abc75d4
3
+ metadata.gz: 117d315b0dc516a27f84486de525a05e62bd786b
4
+ data.tar.gz: f45792c06ba54081913e1cb3d066b6fba0fab566
5
5
  SHA512:
6
- metadata.gz: 8efa8c22f09f29eaa660f96cb6313b35995774d01f4d735ddb65223fbb3e7e135348e5a9f91670a75e358f458fc63cc7d798c370e898ef1c9bc097c97b19461e
7
- data.tar.gz: 9e67e5c2496368e1cfb09924263f7ed8adae19b19defc6444bdd3424aacddc1cccfac799c307ffae43c0ed1f14d77523b05c5242f45242ee6d6f876f35318082
6
+ metadata.gz: 0ad524150e3af3a337ff05b7cec2bd587d2841714d202fefca2c1845ec98e4c2642d426fc7f60f6da270defb1d46c605725ece553ecf2cdd5e1716c114ab4b6b
7
+ data.tar.gz: e05efbdcd0f98acc62fad72e0dd23f86180077151b17be44e8228772eafeafeb3dba43cc9704d0e87c1881733cd9b0b8d274a9a7fbbf224706313395efbd001e
@@ -1,3 +1,8 @@
1
+ # 1.7.1
2
+
3
+ * Take out a `require 'pry'` that had snuck in.
4
+ * Fix `publish` subcommand, broken after factoring publish out into a separate action.
5
+
1
6
  # 1.7.0
2
7
 
3
8
  * Read artifactory credentials from the environment
@@ -49,7 +49,23 @@ pipeline {
49
49
  stage('Publish to RubyGems') {
50
50
  agent { label 'releaser-v2' }
51
51
  when {
52
- branch 'master'
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.0
1
+ 1.7.2
@@ -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.0
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-16 00:00:00.000000000 Z
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