You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2020/03/17 17:10:54 UTC

[incubator-teaclave] 03/03: [ci] Temporary disable the dcap pipeline

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git

commit 38f0a0f684ab61107c5128b5cca3fa9ec817d6bd
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Tue Mar 17 09:44:30 2020 -0700

    [ci] Temporary disable the dcap pipeline
---
 .drone.yml | 126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 9d7f38c..0672399 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -50,72 +50,72 @@ node:
 
 ---
 
-kind: pipeline
-name: sgx-dcap-debug-ubuntu-1804
+# kind: pipeline
+# name: sgx-dcap-debug-ubuntu-1804
 
-steps:
-- name: prepare
-  image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
-  commands:
-  - . /root/.cargo/env
-  - mkdir -p build
-  - cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DTEST_MODE=ON -DDCAP=ON ..
-- name: check
-  image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
-  commands:
-  - . /root/.cargo/env
-  - cd build && make check
-- name: compile
-  image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
-  commands:
-  - . /root/.cargo/env
-  - . /opt/sgxsdk/environment
-  - sed -i 's/ias_root_ca_cert/dcap_root_ca_cert/' config/build.config.toml
-  - cd build && make VERBOSE=1 -j2
-- name: test
-  image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
-  environment:
-    AS_ALGO: sgx_ecdsa
-    AS_URL: https://localhost:8080
-    AS_KEY:
-      from_secret: V5_KEY
-    AS_SPID:
-      from_secret: V5_SPID
-  privileged: true
-  volumes:
-  - name: sgx
-    path: /dev/sgx
-  - name: aesmd
-    path: /var/run/aesmd/aesm.socket
-  - name: aesmd-conf
-    path: /etc/aesmd.conf
-  - name: qcnl
-    path: /etc/sgx_default_qcnl.conf
-  commands:
-  - apt-get update && apt-get install -y iproute2
-  - echo "$(ip route | awk 'NR==1 {print $3}') pccs-server" >> /etc/hosts
-  - . /root/.cargo/env
-  - (cd release/dcap && ./teaclave_dcap_ref_as &)
-  - cd build && make run-tests
+# steps:
+# - name: prepare
+#   image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
+#   commands:
+#   - . /root/.cargo/env
+#   - mkdir -p build
+#   - cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DTEST_MODE=ON -DDCAP=ON ..
+# - name: check
+#   image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
+#   commands:
+#   - . /root/.cargo/env
+#   - cd build && make check
+# - name: compile
+#   image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
+#   commands:
+#   - . /root/.cargo/env
+#   - . /opt/sgxsdk/environment
+#   - sed -i 's/ias_root_ca_cert/dcap_root_ca_cert/' config/build.config.toml
+#   - cd build && make VERBOSE=1 -j2
+# - name: test
+#   image: teaclave/teaclave-build-ubuntu-1804-dcap:0.1.0
+#   environment:
+#     AS_ALGO: sgx_ecdsa
+#     AS_URL: https://localhost:8080
+#     AS_KEY:
+#       from_secret: V5_KEY
+#     AS_SPID:
+#       from_secret: V5_SPID
+#   privileged: true
+#   volumes:
+#   - name: sgx
+#     path: /dev/sgx
+#   - name: aesmd
+#     path: /var/run/aesmd/aesm.socket
+#   - name: aesmd-conf
+#     path: /etc/aesmd.conf
+#   - name: qcnl
+#     path: /etc/sgx_default_qcnl.conf
+#   commands:
+#   - apt-get update && apt-get install -y iproute2
+#   - echo "$(ip route | awk 'NR==1 {print $3}') pccs-server" >> /etc/hosts
+#   - . /root/.cargo/env
+#   - (cd release/dcap && ./teaclave_dcap_ref_as &)
+#   - cd build && make run-tests
 
-volumes:
-- name: sgx
-  host:
-    path: /dev/sgx
-- name: aesmd
-  host:
-    path: /var/run/aesmd/aesm.socket
-- name: aesmd-conf
-  host:
-    path: /etc/aesmd.conf
-- name: qcnl
-  host:
-    path: /etc/sgx_default_qcnl.conf
+# volumes:
+# - name: sgx
+#   host:
+#     path: /dev/sgx
+# - name: aesmd
+#   host:
+#     path: /var/run/aesmd/aesm.socket
+# - name: aesmd-conf
+#   host:
+#     path: /etc/aesmd.conf
+# - name: qcnl
+#   host:
+#     path: /etc/sgx_default_qcnl.conf
 
-node:
-  instance: mesatee-sgx-dcap
+# node:
+#   instance: mesatee-sgx-dcap
 
----
+# ---
 
 kind: pipeline
 name: sgx-release-ubuntu-1804
@@ -562,7 +562,7 @@ trigger:
 
 depends_on:
   - sgx-debug-ubuntu-1804
-  - sgx-dcap-debug-ubuntu-1804
+  # - sgx-dcap-debug-ubuntu-1804
   - sgx-release-ubuntu-1804
   - sim-debug-ubuntu-1804
   - sim-release-ubuntu-1804


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org