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
3cbca80d
Commit
3cbca80d
authored
Feb 02, 2017
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech(build): starts docker build for latest build
parent
aef41954
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
circle.yml
+1
-0
scripts/trigger_docker_build.sh
+23
-0
No files found.
circle.yml
View file @
3cbca80d
...
...
@@ -44,6 +44,7 @@ deployment:
-
go run build.go sha1-dist
-
aws s3 sync ./dist s3://$BUCKET_NAME/master
-
./scripts/trigger_windows_build.sh ${APPVEYOR_TOKEN} ${CIRCLE_SHA1} master
-
./scripts/trigger_docker_build.sh ${TRIGGER_GRAFANA_PACKER_CIRCLECI_TOKEN}
gh_tag
:
tag
:
/^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
commands
:
...
...
scripts/trigger_docker_build.sh
0 → 100755
View file @
3cbca80d
#!/bin/bash
_circle_token
=
$1
_grafana_version
=
$2
trigger_build_url
=
https://circleci.com/api/v1/project/grafana/grafana-docker/tree/master?circle-token
=
${
_circle_token
}
post_data
=
$(
cat
<<
EOF
{
"build_parameters": {
"GRAFANA_VERSION": "
${
_grafana_version
}
"
}
}
EOF
)
echo
${
post_data
}
curl
\
--header
"Accept: application/json"
\
--header
"Content-Type: application/json"
\
--data
"
${
post_data
}
"
\
--request
POST
${
trigger_build_url
}
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