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
49b86e88
Unverified
Commit
49b86e88
authored
Jul 24, 2020
by
Arve Knudsen
Committed by
GitHub
Jul 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drone: Identify Drone runner for each pipeline (#26573)
* Drone: Identify Drone runner for each pipeline
parent
5e73a923
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
.drone.yml
+10
-0
scripts/lib.star
+8
-0
No files found.
.drone.yml
View file @
49b86e88
...
...
@@ -8,6 +8,11 @@ platform:
arch
:
amd64
steps
:
-
name
:
identify-runner
image
:
alpine:3.12
commands
:
-
echo $DRONE_RUNNER_NAME
-
name
:
initialize
image
:
grafana/build-container:1.2.21
commands
:
...
...
@@ -236,6 +241,11 @@ platform:
arch
:
amd64
steps
:
-
name
:
identify-runner
image
:
alpine:3.12
commands
:
-
echo $DRONE_RUNNER_NAME
-
name
:
initialize
image
:
grafana/build-container:1.2.21
commands
:
...
...
scripts/lib.star
View file @
49b86e88
...
...
@@ -126,6 +126,14 @@ def pipeline(name, edition, trigger, steps, services=[]):
'disable': True,
}
pipeline['steps'].insert(0, {
'name': 'identify-runner',
'image': alpine_image,
'commands': [
'echo $DRONE_RUNNER_NAME',
],
})
return pipeline
def init_steps(edition):
...
...
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