This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Description": "Drone Continuous Integration (drone.io)", | |
| "Parameters": { | |
| "VPC": { | |
| "Type": "AWS::EC2::VPC::Id", | |
| "Description": "The VPC that needs provisioning" | |
| }, | |
| "Subnets": { | |
| "Type": "List<AWS::EC2::Subnet::Id>", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| workspace: | |
| base: /build | |
| pipeline: | |
| dbnode1: | |
| detach: true | |
| image: mysql/mysql-cluster:7.5 | |
| commands: | |
| - sleep 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| image: ruby2.0.0 | |
| script: | |
| - cp config/database.example.yml config/database.yml | |
| - bundle install | |
| - psql -c 'create extension hstore;' -U postgres -h 127.0.0.1 | |
| - psql -c 'create role exmu with superuser login;' -U postgres -h 127.0.0.1 | |
| - psql -c 'create database exmu_test;' -U postgres -h 127.0.0.1 | |
| - bundle exec rake db:test:prepare | |
| - bundle exec rspec spec | |
| services: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "time" | |
| "github.com/jinzhu/gorm" | |
| _ "github.com/jinzhu/gorm/dialects/sqlite" | |
| "github.com/satori/go.uuid" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=myservice | |
| [Service] | |
| Type=simple | |
| User=user | |
| Group=user | |
| Environment=SOMEVAR=myvalue | |
| WorkingDirectory=/home/user | |
| ExecStart=/home/user/scripts/script.sh |
OlderNewer