diff --git a/.drone.yml b/.drone.yml index 8683212..910036a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,31 +1,41 @@ kind: pipeline -type: exec +type: docker name: default -platform: - os: linux - arch: amd64 - steps: - name: greeting + image: golang:1.12 commands: - - echo hello world -node: - role: pi-runner ---- -kind: pipeline -type: docker -name: code-analysis - -steps: - - name: code-analysis - image: plugins/sonarqube-scanner:linux-amd64 - settings: - sonar_host: http://124.221.150.102:9000 - sonar_token: sqp_1f8c46141040c583d8e1f81f4f8302230ee1317e - sonar_name: pert - sonar_key: pert - level: TRACE - showProfiling: true -node: - role: pi-runner \ No newline at end of file + - go build + - go test +#kind: pipeline +#type: exec +#name: default +# +#platform: +# os: linux +# arch: amd64 +# +#steps: +# - name: greeting +# commands: +# - echo hello world +#node: +# role: pi-runner +#--- +#kind: pipeline +#type: docker +#name: code-analysis +# +#steps: +# - name: code-analysis +# image: plugins/sonarqube-scanner:linux-amd64 +# settings: +# sonar_host: http://124.221.150.102:9000 +# sonar_token: sqp_1f8c46141040c583d8e1f81f4f8302230ee1317e +# sonar_name: pert +# sonar_key: pert +# level: TRACE +# showProfiling: true +#node: +# role: pi-runner \ No newline at end of file