conjur-debify 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +7 -2
- data/VERSION +1 -1
- data/distrib/docker-debify +10 -3
- data/features/package.feature +16 -17
- 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: f449c281a98b007e98003e26f1be8b594f9bbf1158e1e14eed0ef3151c1e226d
|
4
|
+
data.tar.gz: 1321864728ff6802809df538a4fa8d78f66e6e7f041d243e7130c57ddd7da428
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16a174970c950e07e218085b07284428c25254ce359d99c2ef9e1669c902b4262b55daadd29fce7c9485a028317c4dbe92699af42b5354814a89b831791151c7
|
7
|
+
data.tar.gz: edf444d94175e74ec9dd520b46bb1319531abd38741f2297a399c149610035a16c8eaf6001dd41e3dc2b143ebdc0c96be2c80253e1fd245b666b5c6ab8ec897c
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,12 @@
|
|
1
|
+
# 1.8.1
|
2
|
+
|
3
|
+
* Make Conjur cert available in dockerized debify container
|
4
|
+
* Add a cuke for `debify publish`
|
5
|
+
|
1
6
|
# 1.8.0
|
2
7
|
|
3
|
-
* Added artifactory url option to `
|
4
|
-
* Added artifactory repo option to `
|
8
|
+
* Added artifactory url option to `debify publish`, defaults to jfrog.io domain
|
9
|
+
* Added artifactory repo option to `debify publish`, defaults to 'debian-private'
|
5
10
|
|
6
11
|
# 1.7.4
|
7
12
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.1
|
data/distrib/docker-debify
CHANGED
@@ -9,8 +9,15 @@ else
|
|
9
9
|
netrc=$HOME/.netrc
|
10
10
|
fi
|
11
11
|
|
12
|
-
: ${
|
13
|
-
|
12
|
+
: ${CONJURRC=/etc/conjur.conf}
|
13
|
+
|
14
|
+
conjur_config() {
|
15
|
+
local name=$1; shift
|
16
|
+
grep $name $CONJURRC | awk '{print $2}' | tr -d '"'
|
17
|
+
}
|
18
|
+
|
19
|
+
export CONJUR_APPLIANCE_URL=$(conjur_config appliance_url)
|
20
|
+
export CONJUR_SSL_CERTIFICATE="$(< $(conjur_config cert_file))"
|
14
21
|
|
15
22
|
[[ -f "$HOME/.debifyrc" ]] && rc_arg="-v $HOME/.debifyrc:/root/.debifyrc:ro"
|
16
23
|
|
@@ -18,7 +25,7 @@ export CONJUR_APPLIANCE_URL
|
|
18
25
|
# containers
|
19
26
|
tty=$(tty -s && echo "-t" || true)
|
20
27
|
docker run -i $tty --rm \
|
21
|
-
-e GLI_DEBUG -e DEBUG -e CONJUR_APPLIANCE_URL \
|
28
|
+
-e GLI_DEBUG -e DEBUG -e CONJUR_APPLIANCE_URL -e CONJUR_SSL_CERTIFICATE \
|
22
29
|
-e ARTIFACTORY_USER -e ARTIFACTORY_PASSWORD \
|
23
30
|
-e GIT_BRANCH -e BRANCH_NAME \
|
24
31
|
-v $PWD:$PWD -w $PWD \
|
data/features/package.feature
CHANGED
@@ -1,21 +1,20 @@
|
|
1
|
+
@announce-output
|
1
2
|
Feature: Packaging
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
When I run `env DEBUG=true GLI_DEBUG=true debify package -d ../../example -v 0.0.1 example -- --post-install /distrib/postinstall.sh`
|
6
|
-
Then the exit status should be 0
|
7
|
-
And the stdout should contain exactly "conjur-example_0.0.1_amd64.deb"
|
4
|
+
Background:
|
5
|
+
Given I successfully run `env DEBUG=true GLI_DEBUG=true debify package -d ../../example -v 0.0.1 example -- --post-install /distrib/postinstall.sh`
|
8
6
|
|
9
|
-
|
10
|
-
|
11
|
-
Given I successfully run `env DEBUG=true GLI_DEBUG=true debify package -d ../../example -v 0.0.1 example -- --post-install /distrib/postinstall.sh`
|
12
|
-
And I successfully run `env DEBUG=true GLI_DEBUG=true debify clean -d ../../example --force`
|
13
|
-
And I successfully run `find ../../example`
|
14
|
-
Then the stdout from "find ../../example" should not contain "conjur-example_0.0.1_amd64.deb"
|
7
|
+
Scenario: 'example' project can be packaged successfully
|
8
|
+
Then the stdout should contain exactly "conjur-example_0.0.1_amd64.deb"
|
15
9
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
10
|
+
Scenario: 'clean' command will delete non-Git-managed files
|
11
|
+
When I successfully run `env DEBUG=true GLI_DEBUG=true debify clean -d ../../example --force`
|
12
|
+
And I successfully run `find ../../example`
|
13
|
+
Then the stdout from "find ../../example" should not contain "conjur-example_0.0.1_amd64.deb"
|
14
|
+
|
15
|
+
Scenario: 'example' project can be tested successfully
|
16
|
+
When I successfully run `env DEBUG=true GLI_DEBUG=true debify test -t 4.9-stable -v 0.0.1 -d ../../example --no-pull example test.sh`
|
17
|
+
Then the stderr should contain "Test succeeded"
|
18
|
+
|
19
|
+
Scenario: 'example' project can be published
|
20
|
+
When I successfully run `env DEBUG=true GLI_DEBUG=true debify publish -v 0.0.1 -d ../../example 4.9 example`
|
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.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Gilpin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|