Skip to content

Commit

Permalink
Add a dummy container doing nothing for one minute
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugo Plouviez committed Jan 10, 2019
1 parent 596bc57 commit de6a770
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IntegrationTests/DoNothingOneMinute/Dockerfile
@@ -0,0 +1,4 @@
FROM ubuntu:16.04
COPY doNothingForOneMinute.sh /doNothingForOneMinute.sh
RUN chmod +x /doNothingForOneMinute.sh
ENTRYPOINT ["/doNothingForOneMinute.sh"]
3 changes: 3 additions & 0 deletions IntegrationTests/DoNothingOneMinute/build.sh
@@ -0,0 +1,3 @@
#!/bin/bash

docker image build -f Dockerfile -t iexechub/it-donothingoneminute .
16 changes: 16 additions & 0 deletions IntegrationTests/DoNothingOneMinute/doNothingForOneMinute.sh
@@ -0,0 +1,16 @@
#!/bin/bash


resultFile=/iexec/result.txt
consensusFile=/iexec/consensus.iexec

mkdir /iexec
rm -f $resultFile $consensusFile

touch $resultFile
echo "result" >> $resultFile

touch $consensusFile
echo "consensus" >> $consensusFile

sleep 60

0 comments on commit de6a770

Please sign in to comment.