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
e3ce8048
Commit
e3ce8048
authored
Mar 07, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added deploy step that runs build in centos6 container
parent
0d367d4b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
5 deletions
+23
-5
circle.yml
+10
-2
docker/buildcontainer/Dockerfile
+2
-2
docker/buildcontainer/build.sh
+1
-1
docker/buildcontainer/build_circle.sh
+10
-0
No files found.
circle.yml
View file @
e3ce8048
...
...
@@ -16,5 +16,13 @@ dependencies:
test
:
override
:
-
godep go test -v ./pkg/...
-
./node_modules/grunt-cli/bin/grunt test
-
echo "test"
# - godep go test -v ./pkg/...
# - ./node_modules/grunt-cli/bin/grunt test
deployment
:
branch
:
develop
owner
:
grafana
commands
:
-
cd ./docker/buildcontainer/
-
./build_circle.sh
docker/buildcontainer/Dockerfile
View file @
e3ce8048
...
...
@@ -15,6 +15,6 @@ RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV
GOPATH /go
ENV
PATH /go/bin:$PATH
WORKDIR
/go
WORKDIR
/go/src/github.com/grafana/grafana
CMD
["go", "run", "build.go", "build"]
docker/buildcontainer/build.sh
View file @
e3ce8048
...
...
@@ -7,4 +7,4 @@ docker build --tag "grafana/buildcontainer" .
docker run
-i
-t
\
-v
/home/torkel/dev/go:/go
\
--name
gfbuild grafana/buildcontainer /bin/bash
--name
gfbuild grafana/buildcontainer
docker/buildcontainer/build_circle.sh
0 → 100755
View file @
e3ce8048
#!/bin/bash
docker
kill
gfbuild
docker rm gfbuild
docker build
--tag
"grafana/buildcontainer"
.
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