sisjar ee39e6ee2a | il y a 6 ans | |
---|---|---|
app | il y a 7 ans | |
bootstrap | il y a 7 ans | |
config | il y a 7 ans | |
database | il y a 7 ans | |
public | il y a 7 ans | |
resources | il y a 7 ans | |
routes | il y a 7 ans | |
storage | il y a 7 ans | |
tests | il y a 7 ans | |
.drone.yml | il y a 7 ans | |
.env.example | il y a 7 ans | |
.gitattributes | il y a 7 ans | |
.gitignore | il y a 7 ans | |
LICENSE | il y a 7 ans | |
Makefile | il y a 7 ans | |
README.md | il y a 6 ans | |
artisan | il y a 7 ans | |
composer.json | il y a 7 ans | |
composer.lock | il y a 7 ans | |
package.json | il y a 7 ans | |
phpunit.xml | il y a 7 ans | |
server.php | il y a 7 ans | |
webpack.mix.js | il y a 7 ans | |
yarn.lock | il y a 7 ans |
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