Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
8dfa1f4c
Commit
8dfa1f4c
authored
Mar 25, 2019
by
Leonard Gram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fixes publishing version.
parent
77b3da3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
.circleci/config.yml
+2
-2
scripts/build/build-all.sh
+7
-7
scripts/build/build.sh
+7
-7
No files found.
.circleci/config.yml
View file @
8dfa1f4c
...
@@ -342,7 +342,7 @@ jobs:
...
@@ -342,7 +342,7 @@ jobs:
name
:
Deploy to grafana.com
name
:
Deploy to grafana.com
command
:
|
command
:
|
cd enterprise-dist
cd enterprise-dist
../scripts/build/release_publisher/release_publisher -apikey ${GRAFANA_COM_API_KEY} -enterprise -version "$(cat grafana.version)" --nightly
../scripts/build/release_publisher/release_publisher -apikey ${GRAFANA_COM_API_KEY} -enterprise -version "
v
$(cat grafana.version)" --nightly
deploy-enterprise-release
:
deploy-enterprise-release
:
...
@@ -407,7 +407,7 @@ jobs:
...
@@ -407,7 +407,7 @@ jobs:
command
:
|
command
:
|
rm dist/grafana-master-$(echo "${CIRCLE_SHA1}" | cut -b1-7).linux-x64.tar.gz
rm dist/grafana-master-$(echo "${CIRCLE_SHA1}" | cut -b1-7).linux-x64.tar.gz
rm dist/*latest*
rm dist/*latest*
cd dist && ../scripts/build/release_publisher/release_publisher -apikey ${GRAFANA_COM_API_KEY} -version "$(cat grafana.version)" --nightly
cd dist && ../scripts/build/release_publisher/release_publisher -apikey ${GRAFANA_COM_API_KEY} -version "
v
$(cat grafana.version)" --nightly
deploy-release
:
deploy-release
:
docker
:
docker
:
...
...
scripts/build/build-all.sh
View file @
8dfa1f4c
...
@@ -32,13 +32,6 @@ fi
...
@@ -32,13 +32,6 @@ fi
echo
"Build arguments:
$OPT
"
echo
"Build arguments:
$OPT
"
echo
"current dir:
$(
pwd
)
"
echo
"current dir:
$(
pwd
)
"
if
[
-d
"dist"
]
;
then
rm
-rf
dist
fi
mkdir dist
go run build.go
-gen-version
${
OPT
}
>
dist/grafana.version
# build only amd64 for enterprise
# build only amd64 for enterprise
if
echo
"
$EXTRA_OPTS
"
|
grep
-vq
enterprise
;
then
if
echo
"
$EXTRA_OPTS
"
|
grep
-vq
enterprise
;
then
go run build.go
-goarch
armv6
-cc
${
CCARMV6
}
${
OPT
}
build
go run build.go
-goarch
armv6
-cc
${
CCARMV6
}
${
OPT
}
build
...
@@ -62,6 +55,13 @@ fi
...
@@ -62,6 +55,13 @@ fi
echo
"Building frontend"
echo
"Building frontend"
go run build.go
${
OPT
}
build-frontend
go run build.go
${
OPT
}
build-frontend
if
[
-d
"dist"
]
;
then
rm
-rf
dist
fi
mkdir dist
go run build.go
-gen-version
${
OPT
}
>
dist/grafana.version
# Load ruby, needed for packing with fpm
# Load ruby, needed for packing with fpm
source
/etc/profile.d/rvm.sh
source
/etc/profile.d/rvm.sh
...
...
scripts/build/build.sh
View file @
8dfa1f4c
...
@@ -31,13 +31,6 @@ fi
...
@@ -31,13 +31,6 @@ fi
echo
"Build arguments:
$OPT
"
echo
"Build arguments:
$OPT
"
echo
"current dir:
$(
pwd
)
"
echo
"current dir:
$(
pwd
)
"
if
[
-d
"dist"
]
;
then
rm
-rf
dist
fi
mkdir dist
go run build.go
-gen-version
${
OPT
}
>
dist/grafana.version
go run build.go
-goarch
armv6
-cc
${
CCARMV6
}
${
OPT
}
build
go run build.go
-goarch
armv6
-cc
${
CCARMV6
}
${
OPT
}
build
go run build.go
-goarch
armv7
-cc
${
CCARMV7
}
${
OPT
}
build
go run build.go
-goarch
armv7
-cc
${
CCARMV7
}
${
OPT
}
build
go run build.go
-goarch
arm64
-cc
${
CCARM64
}
${
OPT
}
build
go run build.go
-goarch
arm64
-cc
${
CCARM64
}
${
OPT
}
build
...
@@ -49,6 +42,13 @@ yarn install --pure-lockfile --no-progress
...
@@ -49,6 +42,13 @@ yarn install --pure-lockfile --no-progress
echo
"Building frontend"
echo
"Building frontend"
go run build.go
${
OPT
}
build-frontend
go run build.go
${
OPT
}
build-frontend
if
[
-d
"dist"
]
;
then
rm
-rf
dist
fi
mkdir dist
go run build.go
-gen-version
${
OPT
}
>
dist/grafana.version
# Load ruby, needed for packing with fpm
# Load ruby, needed for packing with fpm
source
/etc/profile.d/rvm.sh
source
/etc/profile.d/rvm.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment