mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CI: grabpl verify-drone -> ./bin/build verify-drone
(#55171)
* move grabpl verify-drone
This commit is contained in:
parent
5a1ba20856
commit
c69a37f8c2
13
.drone.yml
13
.drone.yml
@ -22,7 +22,14 @@ steps:
|
||||
image: byrnedo/alpine-curl:0.1.8
|
||||
name: grabpl
|
||||
- commands:
|
||||
- ./bin/grabpl verify-drone
|
||||
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd
|
||||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.19.1
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- ./bin/build verify-drone
|
||||
depends_on:
|
||||
- grabpl
|
||||
image: byrnedo/alpine-curl:0.1.8
|
||||
@ -930,7 +937,7 @@ steps:
|
||||
image: grafana/build-container:1.6.2
|
||||
name: test-backend-integration
|
||||
- commands:
|
||||
- ./bin/grabpl verify-drone
|
||||
- ./bin/build verify-drone
|
||||
depends_on:
|
||||
- grabpl
|
||||
image: byrnedo/alpine-curl:0.1.8
|
||||
@ -5055,6 +5062,6 @@ kind: secret
|
||||
name: packages_secret_access_key
|
||||
---
|
||||
kind: signature
|
||||
hmac: e21a281dc63df0317ad1082113a224b53fb5ef2f62d74eb2d7b6d11d80f0f079
|
||||
hmac: f23b5538265d938735483a05a19321048c331c76551faee762816ddd59bb70e6
|
||||
|
||||
...
|
||||
|
@ -3,6 +3,7 @@ load(
|
||||
'identify_runner_step',
|
||||
'download_grabpl_step',
|
||||
'lint_drone_step',
|
||||
'compile_build_cmd',
|
||||
)
|
||||
|
||||
load(
|
||||
@ -14,6 +15,7 @@ def verify_drone(trigger, ver_mode):
|
||||
steps = [
|
||||
identify_runner_step(),
|
||||
download_grabpl_step(),
|
||||
compile_build_cmd(),
|
||||
lint_drone_step(),
|
||||
]
|
||||
return pipeline(
|
||||
|
@ -164,7 +164,7 @@ def lint_drone_step():
|
||||
'name': 'lint-drone',
|
||||
'image': curl_image,
|
||||
'commands': [
|
||||
'./bin/grabpl verify-drone',
|
||||
'./bin/build verify-drone',
|
||||
],
|
||||
'depends_on': [
|
||||
'grabpl',
|
||||
|
Loading…
Reference in New Issue
Block a user