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
2906d643
Commit
2906d643
authored
Mar 03, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing s3sync from wercker build
parent
bec9504c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
24 deletions
+37
-24
wercker.yml
+37
-24
No files found.
wercker.yml
View file @
2906d643
...
...
@@ -3,38 +3,51 @@ box: wercker/golang
steps
:
-
wercker/npm-install@0.9.3
-
wercker/step-grunt
-
wercker/s3sync
build
:
steps
:
# Workspace
-
setup-go-workspace
-
script
:
name
:
build setup
code
:
|
go run build.go setup
# Build the project
-
script
:
name
:
build
code
:
|
go run build.go clean test build
# frontend
-
npm-install
-
grunt
:
tasks
:
release
# create packages
# - setup-go-workspace
# - script:
# name: build setup
# code: |
# go run build.go setup
# # Build the project
# - script:
# name: build
# code: |
# go run build.go clean test build
# # frontend
# - npm-install
# - grunt:
# tasks: release
# # create packages
# - script:
# name: create packages
# code: |
# sudo gem install fpm
# sudo apt-get update
# sudo apt-get install -y rpm
# go run build.go package
# # save packages
# - script:
# name: copy output
# code: |-
# rsync -rv "$WERCKER_SOURCE_DIR/dist/" "$WERCKER_OUTPUT_DIR"
#
-
script
:
name
:
create packages
code
:
|
sudo gem install fpm
sudo apt-get update
sudo apt-get install -y rpm
go run build.go package
# save packages
-
script
:
name
:
copy output
code
:
|-
rsync -rv "$WERCKER_SOURCE_DIR/dist/" "$WERCKER_OUTPUT_DIR"
mkdir dist
touch dist/my_file.txt
-
s3sync
:
key-id
:
$AWS_S3_KEY
key-secret
:
$AWS_S3_SECRET
bucket-url
:
$AWS_S3_BUCKET
source-dir
:
$WERCKER_SOURCE_DIR/dist/
delete-removed
:
false
deploy
:
steps
:
-
add-to-known_hosts
:
...
...
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