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
34f531e1
Commit
34f531e1
authored
Nov 06, 2018
by
Leonard Gram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fixes
parent
2be28ff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/build/release_publisher/publisher_test.go
+3
-3
No files found.
scripts/build/release_publisher/publisher_test.go
View file @
34f531e1
...
...
@@ -19,7 +19,7 @@ func TestPreparingReleaseFromRemote(t *testing.T) {
artifactConfigurations
:
buildArtifactConfigurations
,
}
rel
,
_
:=
builder
.
prepareRelease
(
"https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana"
,
whatsNewUrl
,
relNotesUrl
)
rel
,
_
:=
builder
.
prepareRelease
(
"https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana"
,
whatsNewUrl
,
relNotesUrl
,
false
)
if
!
rel
.
Beta
||
rel
.
Stable
{
t
.
Errorf
(
"%s should have been tagged as beta (not stable), but wasn't ."
,
versionIn
)
...
...
@@ -64,7 +64,7 @@ func TestPreparingReleaseFromLocal(t *testing.T) {
artifactConfigurations
:
buildArtifactConfigurations
,
}
relAll
,
_
:=
builder
.
prepareRelease
(
"https://s3-us-west-2.amazonaws.com/grafana-enterprise-releases/master/grafana-enterprise"
,
whatsNewUrl
,
relNotesUrl
)
relAll
,
_
:=
builder
.
prepareRelease
(
"https://s3-us-west-2.amazonaws.com/grafana-enterprise-releases/master/grafana-enterprise"
,
whatsNewUrl
,
relNotesUrl
,
true
)
if
relAll
.
Stable
||
!
relAll
.
Nightly
{
t
.
Error
(
"Expected a nightly release but wasn't."
)
...
...
@@ -101,7 +101,7 @@ func TestPreparingReleaseFromLocal(t *testing.T) {
}},
}
relOne
,
_
:=
builder
.
prepareRelease
(
"https://s3-us-west-2.amazonaws.com/grafana-enterprise-releases/master/grafana-enterprise"
,
whatsNewUrl
,
relNotesUrl
)
relOne
,
_
:=
builder
.
prepareRelease
(
"https://s3-us-west-2.amazonaws.com/grafana-enterprise-releases/master/grafana-enterprise"
,
whatsNewUrl
,
relNotesUrl
,
true
)
if
len
(
relOne
.
Builds
)
!=
1
{
t
.
Errorf
(
"Expected 1 artifact, but was %v"
,
len
(
relOne
.
Builds
))
...
...
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