Skip to content

Commit 6490f04

Browse files
committed
nodejs - removing ci/cd config so it can be merged separately
Signed-off-by: Matthew Wright <[email protected]>
1 parent 57dbc85 commit 6490f04

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

Jenkinsfile.cd

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -211,19 +211,6 @@ def linuxTesting(file, env_name, network_name, stashBuildResults) {
211211
}
212212
}
213213

214-
sh "cp libindy/target/release/libindy.so wrappers/nodejs"
215-
dir('wrappers/nodejs') {
216-
testEnv.inside("--ip=\"10.0.0.3\" --network=${network_name}") {
217-
echo "${env_name} Libindy Test: Test nodejs wrapper"
218-
219-
sh '''
220-
npm run cp-include
221-
npm install
222-
LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_LOG=trace TEST_POOL_IP=10.0.0.2 npm test
223-
'''
224-
}
225-
}
226-
227214
sh "cp libindy/target/release/libindy.so cli"
228215
dir('cli') {
229216
testEnv.inside("--ip=\"10.0.0.3\" --network=${network_name}") {
@@ -403,7 +390,6 @@ def ubuntuPublishing() {
403390

404391
libindyDebPublishing(testEnv)
405392
pythonWrapperPublishing(testEnv, false)
406-
nodejsWrapperPublishing(testEnv, false)
407393
javaWrapperPublishing(testEnv, false)
408394
libindyCliDebPublishing(testEnv)
409395
}
@@ -513,19 +499,6 @@ def pythonWrapperPublishing(testEnv, isRelease) {
513499
}
514500
}
515501

516-
def nodejsWrapperPublishing(testEnv, isRelease) {
517-
dir('wrappers/nodejs') {
518-
def version = getSrcVersion()
519-
def suffix = getSuffix(isRelease, "nodejs")
520-
521-
testEnv.inside {
522-
# TODO npm user for publishing ~/.npmrc
523-
sh 'npm version --no-git-tag-version "$version$suffix"'
524-
sh 'npm publish'
525-
}
526-
}
527-
}
528-
529502
def javaWrapperPublishing(testEnv, isRelease) {
530503
dir('wrappers/java') {
531504
echo "Publish To Maven Test: Build docker image"
@@ -591,9 +564,6 @@ def publishingRCtoStable() {
591564
echo 'Moving Ubuntu RC artifacts to Stable: python wrapper'
592565
pythonWrapperPublishing(testEnv, true)
593566

594-
echo 'Moving Ubuntu RC artifacts to Stable: nodejs wrapper'
595-
nodejsWrapperPublishing(testEnv, true)
596-
597567
echo 'Moving Ubuntu RC artifacts to Stable: java wrapper'
598568
javaWrapperPublishing(testEnv, true)
599569

Jenkinsfile.ci

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,10 @@ def linuxTesting(file, env_name, network_name) {
211211

212212
sh "cp libindy/target/debug/libindy.so wrappers/java/lib"
213213
sh "cp libindy/target/debug/libindy.so wrappers/python"
214-
sh "cp libindy/target/debug/libindy.so wrappers/nodejs"
215214
sh "cp libindy/target/debug/libindy.so cli"
216215

217216
stash includes: 'wrappers/java/lib/libindy.so', name: "LibindyJavaSO${env_name}"
218217
stash includes: 'wrappers/python/libindy.so', name: "LibindyPythonSO${env_name}"
219-
stash includes: 'wrappers/nodejs/libindy.so', name: "LibindyNodejsSO${env_name}"
220218
stash includes: 'cli/libindy.so', name: "LibindyCliSO${env_name}"
221219

222220
parallel([
@@ -235,7 +233,6 @@ def linuxTesting(file, env_name, network_name) {
235233
},
236234
"${env_name}-java-test" : { linuxModuleTesting(file, env_name, network_name, this.&linuxJavaTesting) },
237235
"${env_name}-python-test" : { linuxModuleTesting(file, env_name, network_name, this.&linuxPythonTesting) },
238-
"${env_name}-nodejs-test" : { linuxModuleTesting(file, env_name, network_name, this.&linuxNodejsTesting) },
239236
"${env_name}-cli-test" : { linuxModuleTesting(file, env_name, network_name, this.&linuxCLITesting) }
240237
])
241238
}
@@ -292,21 +289,6 @@ def linuxPythonTesting(env_name, network_name, testEnv) {
292289
}
293290
}
294291

295-
def linuxNodejsTesting(env_name, network_name, testEnv) {
296-
unstash name: "LibindyNodejsSO${env_name}"
297-
dir('wrappers/nodejs') {
298-
testEnv.inside("--network=${network_name}") {
299-
echo "${env_name} Libindy Test: Test nodejs wrapper"
300-
301-
sh '''
302-
npm run cp-include
303-
npm install
304-
LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_LOG=trace TEST_POOL_IP=10.0.0.2 npm test
305-
'''
306-
}
307-
}
308-
}
309-
310292
def linuxCLITesting(env_name, network_name, testEnv) {
311293
unstash name: "LibindyCliSO${env_name}"
312294
dir('cli') {

0 commit comments

Comments
 (0)