conjur-api 6.0.0.pre.94 → 6.0.0.pre.96
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Jenkinsfile +17 -17
- data/VERSION +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6ebf2e014fd2a9e51e11d926a67e6c7bdb7fa16fef87b42c0f0bfc8ada0f1c
|
4
|
+
data.tar.gz: e6065168159b25031bc65e547c347727ec5b2737237e6ca2d9a39491af725e2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9b01045706457216e9ec88de7da7b352bb99e3f2437f3fb2a8bbd1fbfd3b8e1f6c114e94aa176b5b8254e5be684aad54d2dddc4a3d6b6cd59c052b7caa373f6
|
7
|
+
data.tar.gz: f5f417e0ad8f3237dfd7588d59a9ffc0a56783cb21fe0f10c67f55e7993a5d1a18617bafe80806c7ab5b7dad5f9c8fb650fdd4dee568177b16988efebec2f1fa
|
data/Jenkinsfile
CHANGED
@@ -8,8 +8,8 @@ properties([
|
|
8
8
|
])
|
9
9
|
|
10
10
|
if (params.MODE == "PROMOTE") {
|
11
|
-
release.promote(params.VERSION_TO_PROMOTE) { sourceVersion, targetVersion, assetDirectory ->
|
12
|
-
|
11
|
+
release.promote(params.VERSION_TO_PROMOTE) { infrapool, sourceVersion, targetVersion, assetDirectory ->
|
12
|
+
infrapool.agentSh './publish.sh'
|
13
13
|
}
|
14
14
|
|
15
15
|
// Copy Github Enterprise release to Github
|
@@ -51,22 +51,22 @@ pipeline {
|
|
51
51
|
stage('Get InfraPool Agent') {
|
52
52
|
steps {
|
53
53
|
script {
|
54
|
-
|
54
|
+
infrapool = getInfraPoolAgent.connected(type: "ExecutorV2", quantity: 1, duration: 1)[0]
|
55
55
|
}
|
56
56
|
}
|
57
57
|
}
|
58
58
|
|
59
59
|
stage('Validate Changelog and set version') {
|
60
60
|
steps {
|
61
|
-
parseChangelog(
|
62
|
-
updateVersion(
|
61
|
+
parseChangelog(infrapool)
|
62
|
+
updateVersion(infrapool, "CHANGELOG.md", "${BUILD_NUMBER}")
|
63
63
|
}
|
64
64
|
}
|
65
65
|
|
66
66
|
stage('Prepare CC Report Dir'){
|
67
67
|
steps {
|
68
68
|
script {
|
69
|
-
|
69
|
+
infrapool.agentSh 'mkdir -p coverage'
|
70
70
|
}
|
71
71
|
}
|
72
72
|
}
|
@@ -77,8 +77,8 @@ pipeline {
|
|
77
77
|
}
|
78
78
|
steps {
|
79
79
|
script {
|
80
|
-
|
81
|
-
|
80
|
+
infrapool.agentSh "./test.sh"
|
81
|
+
infrapool.agentStash name: 'reports3.0', includes: '**/reports/*.xml'
|
82
82
|
}
|
83
83
|
}
|
84
84
|
post {
|
@@ -94,8 +94,8 @@ pipeline {
|
|
94
94
|
}
|
95
95
|
steps {
|
96
96
|
script {
|
97
|
-
|
98
|
-
|
97
|
+
infrapool.agentSh "./test.sh"
|
98
|
+
infrapool.agentStash name: 'reports3.1', includes: '**/reports/*.xml'
|
99
99
|
}
|
100
100
|
}
|
101
101
|
post {
|
@@ -111,8 +111,8 @@ pipeline {
|
|
111
111
|
}
|
112
112
|
steps {
|
113
113
|
script {
|
114
|
-
|
115
|
-
|
114
|
+
infrapool.agentSh "./test.sh"
|
115
|
+
infrapool.agentStash name: 'reports3.2', includes: '**/reports/*.xml'
|
116
116
|
}
|
117
117
|
}
|
118
118
|
post {
|
@@ -125,7 +125,7 @@ pipeline {
|
|
125
125
|
stage('Submit Coverage Report'){
|
126
126
|
steps{
|
127
127
|
script {
|
128
|
-
|
128
|
+
infrapool.agentStash name: 'coverage', includes: '**/coverage/**'
|
129
129
|
}
|
130
130
|
unstash 'coverage'
|
131
131
|
|
@@ -166,16 +166,16 @@ pipeline {
|
|
166
166
|
|
167
167
|
steps {
|
168
168
|
script {
|
169
|
-
release(
|
169
|
+
release(infrapool) {
|
170
170
|
// Clean up all but the calculated VERSION
|
171
|
-
|
171
|
+
infrapool.agentSh '''docker run -i --rm -v $(pwd):/src -w /src --entrypoint /bin/sh alpine/git \
|
172
172
|
-c "git config --global --add safe.directory /src && \
|
173
173
|
git clean -fdx \
|
174
174
|
-e VERSION \
|
175
175
|
-e bom-assets/ \
|
176
176
|
-e release-assets" '''
|
177
|
-
|
178
|
-
|
177
|
+
infrapool.agentSh './publish.sh'
|
178
|
+
infrapool.agentSh 'cp conjur-api-*.gem release-assets/.'
|
179
179
|
}
|
180
180
|
}
|
181
181
|
}
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.0.0-
|
1
|
+
6.0.0-96
|