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
0a82b75f
Commit
0a82b75f
authored
Mar 07, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding caching of buildcontainer
parent
5b563e38
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
7 deletions
+20
-7
circle.yml
+6
-1
docker/buildcontainer/build_circle.sh
+9
-6
docker/buildcontainer/run_circle.sh
+5
-0
No files found.
circle.yml
View file @
0a82b75f
...
...
@@ -7,6 +7,11 @@ machine:
REPO_PATH
:
"
${ORG_PATH}/grafana"
dependencies
:
cache_directories
:
-
"
~/docker"
pre
:
./docker/buildcontainer/build_circle.sh
override
:
-
rm -rf ${GOPATH}/src/${REPO_PATH}
-
mkdir -p ${GOPATH}/src/${ORG_PATH}
...
...
@@ -25,4 +30,4 @@ deployment:
branch
:
develop
owner
:
grafana
commands
:
-
./docker/buildcontainer/
build
_circle.sh
-
./docker/buildcontainer/
run
_circle.sh
docker/buildcontainer/build_circle.sh
View file @
0a82b75f
#!/bin/bash
docker
kill
gfbuild
docker rm gfbuild
docker info
&&
docker version
mkdir
-p
~/docker
# cache some Docker images to make builds faster
if
[[
-e
~/docker/centos.tar
]]
;
then
docker load
-i
~/docker/centos.tar
;
else
docker build
--tag
"grafana/buildcontainer"
docker/buildcontainer
fi
docker build
--tag
"grafana/buildcontainer"
docker/buildcontainer
docker run
-i
-t
\
-v
/home/ubuntu/.go_workspace:/go
\
--name
gfbuild grafana/buildcontainer
docker/buildcontainer/run_circle.sh
0 → 100755
View file @
0a82b75f
#!/bin/bash
docker run
-i
-t
\
-v
/home/ubuntu/.go_workspace:/go
\
--name
gfbuild grafana/buildcontainer
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