mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
build: always build for all platforms.
This commit is contained in:
parent
1b85b2fca7
commit
bea4741a12
@ -78,39 +78,9 @@ jobs:
|
|||||||
name: build backend and run go tests
|
name: build backend and run go tests
|
||||||
command: './scripts/circle-test-backend.sh'
|
command: './scripts/circle-test-backend.sh'
|
||||||
|
|
||||||
build:
|
|
||||||
docker:
|
|
||||||
- image: grafana/build-container:crosscompile
|
|
||||||
working_directory: /go/src/github.com/grafana/grafana
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: prepare build tools
|
|
||||||
command: '/tmp/bootstrap.sh'
|
|
||||||
- run:
|
|
||||||
name: build and package grafana
|
|
||||||
command: './scripts/build/build.sh'
|
|
||||||
- run:
|
|
||||||
name: sign packages
|
|
||||||
command: './scripts/build/sign_packages.sh'
|
|
||||||
- run:
|
|
||||||
name: sha-sum packages
|
|
||||||
command: 'go run build.go sha-dist'
|
|
||||||
- run:
|
|
||||||
name: Build Grafana.com publisher
|
|
||||||
command: 'go build -o scripts/publish scripts/build/publish.go'
|
|
||||||
- persist_to_workspace:
|
|
||||||
root: .
|
|
||||||
paths:
|
|
||||||
- dist/grafana*
|
|
||||||
- scripts/*.sh
|
|
||||||
- scripts/publish
|
|
||||||
- store_artifacts:
|
|
||||||
path: dist
|
|
||||||
|
|
||||||
build-all:
|
build-all:
|
||||||
docker:
|
docker:
|
||||||
- image: grafana/build-container:crosscompile
|
- image: grafana/build-container:1.0.0
|
||||||
working_directory: /go/src/github.com/grafana/grafana
|
working_directory: /go/src/github.com/grafana/grafana
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
@ -208,7 +178,7 @@ workflows:
|
|||||||
version: 2
|
version: 2
|
||||||
test-and-build:
|
test-and-build:
|
||||||
jobs:
|
jobs:
|
||||||
- build:
|
- build-all:
|
||||||
filters: *filter-not-release
|
filters: *filter-not-release
|
||||||
- codespell:
|
- codespell:
|
||||||
filters: *filter-not-release
|
filters: *filter-not-release
|
||||||
@ -220,7 +190,7 @@ workflows:
|
|||||||
filters: *filter-not-release
|
filters: *filter-not-release
|
||||||
- deploy-master:
|
- deploy-master:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build-all
|
||||||
- test-backend
|
- test-backend
|
||||||
- test-frontend
|
- test-frontend
|
||||||
- codespell
|
- codespell
|
||||||
@ -248,18 +218,3 @@ workflows:
|
|||||||
- codespell
|
- codespell
|
||||||
- gometalinter
|
- gometalinter
|
||||||
filters: *filter-only-release
|
filters: *filter-only-release
|
||||||
nightly-master:
|
|
||||||
triggers:
|
|
||||||
- schedule:
|
|
||||||
cron: "0 0 * * *"
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- crosscompile
|
|
||||||
jobs:
|
|
||||||
- build-all
|
|
||||||
- codespell
|
|
||||||
- gometalinter
|
|
||||||
- test-frontend
|
|
||||||
- test-backend
|
|
||||||
|
13
appveyor.yml
13
appveyor.yml
@ -38,16 +38,3 @@ artifacts:
|
|||||||
- path: grafana-*windows-*.*
|
- path: grafana-*windows-*.*
|
||||||
name: binzip
|
name: binzip
|
||||||
type: zip
|
type: zip
|
||||||
|
|
||||||
deploy:
|
|
||||||
- provider: Environment
|
|
||||||
name: GrafanaReleaseMaster
|
|
||||||
on:
|
|
||||||
buildType: master
|
|
||||||
|
|
||||||
- provider: Environment
|
|
||||||
name: GrafanaReleaseRelease
|
|
||||||
on:
|
|
||||||
buildType: release
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user