|
@@ -19,6 +19,9 @@ pipeline {
|
|
|
}
|
|
|
stage('Build') {
|
|
|
steps {
|
|
|
+ sh '''
|
|
|
+ ./Scripts/clean-check-prepare
|
|
|
+ '''
|
|
|
sh '''
|
|
|
cd Pal/src/host/Linux-SGX/signer/ && openssl genrsa -3 -out enclave-key.pem 3072
|
|
|
'''
|
|
@@ -112,6 +115,32 @@ pipeline {
|
|
|
sleep 30
|
|
|
LOOP=1 CONCURRENCY_LIST="1 32" ./benchmark-http.sh 127.0.0.1:8001
|
|
|
'''
|
|
|
+ sh '''
|
|
|
+ cd "$(./Scripts/clean-check-test-copy)"
|
|
|
+
|
|
|
+ rm Pal/src/host/Linux-SGX/signer/enclave-key.pem
|
|
|
+ make SGX=1 distclean
|
|
|
+
|
|
|
+ make -C LibOS/shim/test/apps/python-simple SGX=1 clean
|
|
|
+ make -C LibOS/shim/test/apps/python-scipy-insecure SGX=1 clean
|
|
|
+ make -C LibOS/shim/test/apps/bash SGX=1 clean
|
|
|
+ make -C LibOS/shim/test/apps/curl SGX=1 clean
|
|
|
+ make -C LibOS/shim/test/apps/gcc SGX=1 clean
|
|
|
+ make -C LibOS/shim/test/apps/lmbench SGX=1 distclean
|
|
|
+ make -C LibOS/shim/test/apps/redis SGX=1 distclean
|
|
|
+ make -C LibOS/shim/test/apps/lighttpd SGX=1 distclean
|
|
|
+ make -C LibOS/shim/test/apps/nginx SGX=1 distclean
|
|
|
+ make -C LibOS/shim/test/apps/apache SGX=1 distclean
|
|
|
+
|
|
|
+ # Currently used release of LTP contains broken symlinks under
|
|
|
+ # utils/ffsb-6.0-rc2/ (config.guess and config.sub); without explicit
|
|
|
+ # rm of these symlinks, the clean-check utility fails. We should
|
|
|
+ # update to newer release of LTP where this issue will be fixed.
|
|
|
+ rm -rf /tmp/graphene-sgx-18.04-apps.clean-check.clean/LibOS/shim/test/apps/ltp/src
|
|
|
+ rm -rf LibOS/shim/test/apps/ltp/src
|
|
|
+
|
|
|
+ ./Scripts/clean-check
|
|
|
+ '''
|
|
|
}
|
|
|
}
|
|
|
stage('Deploy') {
|