Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Commit ba3fd5c

Browse files
committed
Problem: unjailing test takes huge amount of space and hangs up for 1 hour if compilation fails
Solution: commented out the pipeline until its test execution is more sane
1 parent bb043a8 commit ba3fd5c

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

.drone.yml

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -123,39 +123,42 @@ trigger:
123123
- push
124124

125125

126-
---
127-
kind: pipeline
128-
type: exec
129-
name: integration-tests-jail-unjail
130-
131-
platform:
132-
os: linux
133-
arch: amd64
134-
135-
steps:
136-
- name: integration-tests
137-
commands:
138-
- cd integration-tests/jail
139-
- ./run.sh
140-
- name: teardown
141-
commands:
142-
- cd integration-tests/jail
143-
- ./shutdown.sh
144-
when:
145-
status:
146-
- success
147-
- failure
148-
149-
trigger:
150-
branch:
151-
- master
152-
- staging
153-
- trying
154-
event:
155-
- push
126+
# FIMXE: 1) no need for this to be exec pipeline (can run in docker -- unjailtx doesn't ever touch enclave)
127+
# FIXME: 2) proper cleanup -- this thing took over 100gb of 1 day of running
128+
# FIXME: 3) it runs `cargo build` inside docker compose service and happily continue even if the compilation fails, wtf
129+
# ---
130+
# kind: pipeline
131+
# type: exec
132+
# name: integration-tests-jail-unjail
133+
134+
# platform:
135+
# os: linux
136+
# arch: amd64
137+
138+
# steps:
139+
# - name: integration-tests
140+
# commands:
141+
# - cd integration-tests/jail
142+
# - ./run.sh
143+
# - name: teardown
144+
# commands:
145+
# - cd integration-tests/jail
146+
# - ./shutdown.sh
147+
# when:
148+
# status:
149+
# - success
150+
# - failure
151+
152+
# trigger:
153+
# branch:
154+
# - master
155+
# - staging
156+
# - trying
157+
# event:
158+
# - push
156159

157160
---
158161
kind: signature
159-
hmac: b0227856638a61f1a221c4bae23276462a9200632ebeb3ad60aae3c27f61af02
162+
hmac: e0c075115c89bf62208031eb72f28eda5f9b045d201e7e4449a486455aad5f96
160163

161164
...

0 commit comments

Comments
 (0)