mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Use requires_buildifier build tag to avoid needing buildifier locally (#62597)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
parent
6ae0ea80f6
commit
fdb1a47ca2
14
.drone.yml
14
.drone.yml
@ -278,7 +278,7 @@ steps:
|
||||
image: grafana/build-container:v1.7.1
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go test -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
- go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: grafana/build-container:v1.7.1
|
||||
@ -1178,7 +1178,7 @@ steps:
|
||||
image: grafana/build-container:v1.7.1
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go test -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
- go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: grafana/build-container:v1.7.1
|
||||
@ -2406,7 +2406,7 @@ steps:
|
||||
image: grafana/build-container:v1.7.1
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go test -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
- go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: grafana/build-container:v1.7.1
|
||||
@ -3079,7 +3079,7 @@ steps:
|
||||
image: grafana/build-container:v1.7.1
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go test -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
- go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: grafana/build-container:v1.7.1
|
||||
@ -5089,7 +5089,7 @@ steps:
|
||||
image: grafana/build-container:v1.7.1
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go test -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
- go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: grafana/build-container:v1.7.1
|
||||
@ -5747,7 +5747,7 @@ steps:
|
||||
image: grafana/build-container:v1.7.1
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go test -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
- go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: grafana/build-container:v1.7.1
|
||||
@ -6516,6 +6516,6 @@ kind: secret
|
||||
name: aws_secret_access_key
|
||||
---
|
||||
kind: signature
|
||||
hmac: eba6c445aae6d75df0a2963d5e1e90c44474587a9e1d11e21bf2ba4d99f14da8
|
||||
hmac: c00de1a52b82b9729caca47e8294a83be348f1456a6b4527fbc045e814595735
|
||||
|
||||
...
|
||||
|
@ -1,3 +1,5 @@
|
||||
//go:build requires_buildifier
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
@ -567,7 +567,7 @@ def test_backend_step():
|
||||
"wire-install",
|
||||
],
|
||||
"commands": [
|
||||
"go test -short -covermode=atomic -timeout=5m ./pkg/...",
|
||||
"go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...",
|
||||
],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user