sisjar ee39e6ee2a | 6 лет назад | |
---|---|---|
app | 7 лет назад | |
bootstrap | 7 лет назад | |
config | 7 лет назад | |
database | 7 лет назад | |
public | 7 лет назад | |
resources | 7 лет назад | |
routes | 7 лет назад | |
storage | 7 лет назад | |
tests | 7 лет назад | |
.drone.yml | 7 лет назад | |
.env.example | 7 лет назад | |
.gitattributes | 7 лет назад | |
.gitignore | 7 лет назад | |
LICENSE | 7 лет назад | |
Makefile | 7 лет назад | |
README.md | 6 лет назад | |
artisan | 7 лет назад | |
composer.json | 7 лет назад | |
composer.lock | 7 лет назад | |
package.json | 7 лет назад | |
phpunit.xml | 7 лет назад | |
server.php | 7 лет назад | |
webpack.mix.js | 7 лет назад | |
yarn.lock | 7 лет назад |
Drone is a Continuous Delivery system built on container technology. Drone uses a simple yaml configuration file, a superset of docker-compose, to define and execute Pipelines inside Docker containers.
clone:
git:
image: plugins/git
depth: 50
tags: true
pipeline:
frontend:
image: node:8.1.2
group: laravel
commands:
- node -v
- npm -v
- yarn --version
- yarn config set cache-folder .yarn-cache
- yarn install
- yarn run production
backend:
image: laradock/workspace:1.8-71
group: laravel
commands:
- php -v
- composer -V
- cp .env.example .env
- composer install --prefer-dist
- php artisan key:generate
- php artisan migrate
- ./vendor/bin/phpunit
fb:
image: appleboy/drone-facebook
pull: true
secrets: [ fb_page_token, fb_verify_token ]
to: 1234973386524610
when:
event: [ push, pull_request ]
status: [ success, failure ]
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.3.0
redis:
image: redis:latest
postgres:
image: postgres:9.5.5
environment:
- POSTGRES_DB=homestead
- POSTGRES_USER=homestead
- POSTGRES_PASSWORD=secret
Please try the following command to test drone config in local machine.
$ drone exec