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
f9239a4d
Unverified
Commit
f9239a4d
authored
Jul 22, 2020
by
Arve Knudsen
Committed by
GitHub
Jul 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chore: Upgrade build pipeline tool (#26510)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent
358c2d70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
.circleci/config.yml
+1
-1
.drone.yml
+4
-4
scripts/lib.star
+2
-2
No files found.
.circleci/config.yml
View file @
f9239a4d
...
...
@@ -45,7 +45,7 @@ commands:
-
run
:
name
:
"
Install
Grafana
build
pipeline
tool"
command
:
|
VERSION=0.4.2
4
VERSION=0.4.2
5
curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v${VERSION}/grabpl
chmod +x grabpl
mv grabpl /tmp
...
...
.drone.yml
View file @
f9239a4d
...
...
@@ -22,7 +22,7 @@ steps:
-
cp -r $(yarn cache dir) yarn-cache
environment
:
DOCKERIZE_VERSION
:
0.6.1
GRABPL_VERSION
:
0.4.2
4
GRABPL_VERSION
:
0.4.2
5
-
name
:
lint-backend
image
:
grafana/build-container:1.2.21
...
...
@@ -78,7 +78,7 @@ steps:
-
name
:
test-backend
image
:
grafana/build-container:1.2.21
commands
:
-
go test -covermode=atomic ./pkg/...
-
./bin/grabpl test-backend
-
./bin/grabpl integration-tests
-
cp -r $(go env GOCACHE) go-cache
depends_on
:
...
...
@@ -250,7 +250,7 @@ steps:
-
cp -r $(yarn cache dir) yarn-cache
environment
:
DOCKERIZE_VERSION
:
0.6.1
GRABPL_VERSION
:
0.4.2
4
GRABPL_VERSION
:
0.4.2
5
-
name
:
lint-backend
image
:
grafana/build-container:1.2.21
...
...
@@ -306,7 +306,7 @@ steps:
-
name
:
test-backend
image
:
grafana/build-container:1.2.21
commands
:
-
go test -covermode=atomic ./pkg/...
-
./bin/grabpl test-backend
-
./bin/grabpl integration-tests
-
cp -r $(go env GOCACHE) go-cache
depends_on
:
...
...
scripts/lib.star
View file @
f9239a4d
...
...
@@ -129,7 +129,7 @@ def pipeline(name, edition, trigger, steps, services=[]):
return pipeline
def init_steps(edition):
grabpl_version = '0.4.2
4
'
grabpl_version = '0.4.2
5
'
common_cmds = [
'curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz',
'tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz',
...
...
@@ -307,7 +307,7 @@ def test_backend_step():
],
'commands': [
# First execute non-integration tests in parallel, since it should be safe
'
go test -covermode=atomic ./pkg/...
',
'
./bin/grabpl test-backend
',
# Then execute integration tests in serial
'./bin/grabpl integration-tests',
# Keep the test cache
...
...
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