pipedawg-vl 1.0.1 → 1.0.3
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/lib/pipedawg/job/skopeo/copy.rb +1 -7
- data/lib/pipedawg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1a1841241ad086eb073de5918fee38cfd81585485fd5ab7f5acbf79a5f0299c
|
4
|
+
data.tar.gz: eb92ff6559a28ae425761df2c0ac3f74898d759159e4f514eeabacf81a05da87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ae70fc58f424bdbe20dee2f94920df8fbe28d4e7e30f614098b6d57bd114eb6009d3709f44342f06131190abe21dfa34413e620820be230219ba76e02cfedde
|
7
|
+
data.tar.gz: 9a882e19301e54693160016b1a28360cbd6db4f1bc95a5d955ed59915a757b9ff51082bf49d8cf1bb8a687a3b6bb60b9a23509365174340928f0828a6ff55016
|
@@ -37,13 +37,7 @@ module Pipedawg
|
|
37
37
|
|
38
38
|
def login
|
39
39
|
opts.fetch(:logins, {}).map do |k, v|
|
40
|
-
|
41
|
-
command = "echo \"#{v['password']}\" | #{opts[:command]} login --authfile \"${CONFIG}/config.json\" --username \"#{v['username']}\" --password-stdin \"#{k}\"" # rubocop:disable Layout/LineLength
|
42
|
-
`#{command}`
|
43
|
-
puts "Login succeeded for #{k}"
|
44
|
-
rescue RuntimeError => e
|
45
|
-
puts "Login failed for #{k}: #{e.message}"
|
46
|
-
end
|
40
|
+
"echo \"#{v['password']}\" | #{opts[:command]} login --authfile \"${CONFIG}/config.json\" --username \"#{v['username']}\" --password-stdin \"#{k}\" || echo \"Failed to login\"" # rubocop:disable Layout/LineLength
|
47
41
|
end
|
48
42
|
end
|
49
43
|
|
data/lib/pipedawg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipedawg-vl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- harbottle
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Generate GitLab CI pipelines.
|
14
14
|
email:
|