-
Notifications
You must be signed in to change notification settings - Fork 19
/
cloudbuild.yaml
45 lines (45 loc) · 1.34 KB
/
cloudbuild.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
steps:
- name: gcr.io/cloud-builders/docker
args:
- pull
- gcr.io/broad-cga-aarong-gtex/rnaseqc:latest
- name: gcr.io/cloud-builders/docker
args:
- build
- -t
- gcr.io/broad-cga-aarong-gtex/rnaseqc:$COMMIT_SHA
- --cache-from
- gcr.io/broad-cga-aarong-gtex/rnaseqc:latest
- .
timeout: 900s
- name: gcr.io/cloud-builders/docker
args:
- push
- gcr.io/broad-cga-aarong-gtex/rnaseqc:$COMMIT_SHA
- name: gcr.io/broad-cga-aarong-gtex/rnaseqc:$COMMIT_SHA
args:
- bash
- -c
- >
apt-get update &&
apt-get install git wget -y &&
git clone https://github.com/getzlab/rnaseqc.git &&
mv rnaseqc/test_data /opt/rnaseqc &&
cd /opt/rnaseqc/test_data &&
wget https://storage.googleapis.com/agraubert/broadinstitute/rnaseqc/test_inputs.tar.gz &&
tar xzf test_inputs.tar.gz &&
cd .. &&
make && make -f test_data/Makefile.linux test
timeout: 900s
- name: gcr.io/cloud-builders/docker
args:
- tag
- gcr.io/broad-cga-aarong-gtex/rnaseqc:$COMMIT_SHA
- gcr.io/broad-cga-aarong-gtex/rnaseqc:latest
- name: gcr.io/cloud-builders/docker
args:
- push
- gcr.io/broad-cga-aarong-gtex/rnaseqc:latest
images:
- gcr.io/broad-cga-aarong-gtex/rnaseqc
timeout: 1800s