|
@@ -162,8 +162,8 @@ jobs:
|
|
|
name: Build Grafana.com master publisher
|
|
name: Build Grafana.com master publisher
|
|
|
command: 'go build -o scripts/publish scripts/build/publish.go'
|
|
command: 'go build -o scripts/publish scripts/build/publish.go'
|
|
|
- run:
|
|
- run:
|
|
|
- name: Build Grafana.com release publisher
|
|
|
|
|
- command: 'cd scripts/build/release_publisher && go build -o release_publisher .'
|
|
|
|
|
|
|
+ name: Test and build Grafana.com release publisher
|
|
|
|
|
+ command: 'cd scripts/build/release_publisher && go test . && go build -o release_publisher .'
|
|
|
- persist_to_workspace:
|
|
- persist_to_workspace:
|
|
|
root: .
|
|
root: .
|
|
|
paths:
|
|
paths:
|
|
@@ -191,6 +191,9 @@ jobs:
|
|
|
- run:
|
|
- run:
|
|
|
name: sha-sum packages
|
|
name: sha-sum packages
|
|
|
command: 'go run build.go sha-dist'
|
|
command: 'go run build.go sha-dist'
|
|
|
|
|
+ - run:
|
|
|
|
|
+ name: Test Grafana.com release publisher
|
|
|
|
|
+ command: 'cd scripts/build/release_publisher && go test .'
|
|
|
- persist_to_workspace:
|
|
- persist_to_workspace:
|
|
|
root: .
|
|
root: .
|
|
|
paths:
|
|
paths:
|