mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Working on build steps
This commit is contained in:
parent
0db55b6194
commit
c6d4b5cc86
11
build.go
11
build.go
@ -72,12 +72,15 @@ func main() {
|
||||
case "test":
|
||||
test("./pkg/...")
|
||||
|
||||
case "latest":
|
||||
version += "-" + getGitSha()
|
||||
|
||||
case "package":
|
||||
//clean()
|
||||
clean()
|
||||
//verifyGitRepoIsClean()
|
||||
//test("./pkg/...")
|
||||
//build(".", []string{})
|
||||
//buildFrontend()
|
||||
test("./pkg/...")
|
||||
build(".", []string{})
|
||||
buildFrontend()
|
||||
createRpmAndDeb()
|
||||
|
||||
case "build-ui":
|
||||
|
@ -4,7 +4,7 @@
|
||||
"company": "Coding Instinct AB"
|
||||
},
|
||||
"name": "grafana",
|
||||
"version": "2.0.2-alpha",
|
||||
"version": "2.0.0-beta1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "http://github.com/torkelo/grafana.git"
|
||||
|
@ -1,8 +0,0 @@
|
||||
2015/03/03 09:52:42 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
||||
2015/03/03 09:59:43 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
||||
2015/03/03 10:03:13 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
||||
2015/03/03 10:09:13 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
||||
2015/03/03 10:09:34 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
||||
2015/03/03 10:15:20 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
||||
2015/03/03 12:29:29 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
||||
2015/03/03 12:33:09 [I] Setting: ENV override found: GF_SECURITY_ADMIN_USER
|
17
wercker.yml
17
wercker.yml
@ -6,6 +6,23 @@ steps:
|
||||
|
||||
build:
|
||||
steps:
|
||||
script: |
|
||||
export RUBYVERSION=2.0.0-p594
|
||||
sudo apt-get update
|
||||
sudo apt-get install git zlib1g-dev libreadline-dev libqtwebkit-dev
|
||||
sudo apt-get remove ruby1.9.1
|
||||
cd $HOME
|
||||
mkdir rubyinstall
|
||||
cd rubyinstall
|
||||
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-$RUBYVERSION.tar.gz
|
||||
tar xzvf ruby-$RUBYVERSION.tar.gz
|
||||
cd ruby-$RUBYVERSION
|
||||
./configure --with-readline-dir=/usr/include/readline --with-openssl-dir=/usr/include/openssl
|
||||
make
|
||||
make test
|
||||
sudo make install
|
||||
cd $HOME
|
||||
rm -fr rubyinstall
|
||||
# Workspace
|
||||
- setup-go-workspace
|
||||
- script:
|
||||
|
Loading…
Reference in New Issue
Block a user