From abed806361f09fb8610a5478dff52a207b34b34d Mon Sep 17 00:00:00 2001 From: zengsb Date: Thu, 15 Jun 2023 11:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=953554443444433?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 60 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 25 deletions(-) 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