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
6b90587d
Commit
6b90587d
authored
Aug 16, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(alerting): fixing failing go unit test
parent
65ce01fb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
packaging/release_process.md
+17
-1
pkg/services/alerting/conditions/query_test.go
+1
-1
No files found.
packaging/release_process.md
View file @
6b90587d
...
...
@@ -3,11 +3,27 @@
## Building release packages
1) Update package.json so that it has the right version.
2) Create a git tag for the release:
`git tag -a v3.0.4 -m "3.0.4 release"`
3) Push branch & tag to github!
2) Packages from master a built automatically by circle CI for this repo
[
grafana/grafana-packer
](
https://github.com/grafana/grafana-packer
)
### Non master branch
When building from non master branch create a new branch in repo
[
grafana/grafana-packer
](
https://github.com/grafana/grafana-packer
)
and configure circle.yml to deploy that branch as well, https://github.com/grafana/grafana-packer/blob/master/circle.yml#L25
and configure circle.yml to deploy that branch as well, https://github.com/grafana/grafana-packer/blob/master/circle.yml#L25,
you also need to update https://github.com/grafana/grafana-packer/blob/v3.1.x/deploy.sh#L7.
### Windows build
Sign into ci.appveyor.com and the Grafana project's build history page. Builds for windows take a long time (around 20min)
and fail quite often for random reasons so I usually continue with the release process without a windows build already built.
1) Click on the green build that has the correct version and tag
2) Click on
`DEPLOYMENTS`
3) Click on
`NEW DEPLOYMENT`
4) Select GrafanaBuildS3
4) Select the build you want to deploy.
The deployment should be quick (just uploads the release zip file to S3)
pkg/services/alerting/conditions/query_test.go
View file @
6b90587d
...
...
@@ -18,7 +18,7 @@ func TestQueryCondition(t *testing.T) {
queryConditionScenario
(
"Given avg() and > 100"
,
func
(
ctx
*
queryConditionTestContext
)
{
ctx
.
reducer
=
`{"type": "avg"}`
ctx
.
evaluator
=
`{"type": "gt "params": [100]}`
ctx
.
evaluator
=
`{"type": "gt
",
"params": [100]}`
Convey
(
"Can read query condition from json model"
,
func
()
{
ctx
.
exec
()
...
...
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