Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
sisjar ee39e6ee2a Update 'README.md' 6 år sedan
app initial laravel 5.4 7 år sedan
bootstrap initial laravel 5.4 7 år sedan
config initial laravel 5.4 7 år sedan
database initial laravel 5.4 7 år sedan
public updae frontend process 7 år sedan
resources update readme. 7 år sedan
routes initial laravel 5.4 7 år sedan
storage initial laravel 5.4 7 år sedan
tests add redis testing. 7 år sedan
.drone.yml add secret for fb 7 år sedan
.env.example update 7 år sedan
.gitattributes initial laravel 5.4 7 år sedan
.gitignore add yarn 7 år sedan
LICENSE Initial commit 7 år sedan
Makefile add prefer dist 7 år sedan
README.md Update 'README.md' 6 år sedan
artisan initial laravel 5.4 7 år sedan
composer.json add redis testing. 7 år sedan
composer.lock add redis testing. 7 år sedan
package.json updae frontend process 7 år sedan
phpunit.xml add redis testing. 7 år sedan
server.php initial laravel 5.4 7 år sedan
webpack.mix.js initial laravel 5.4 7 år sedan
yarn.lock add yarn 7 år sedan

README.md

Laravel + Drone

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.

Screenshots

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

Testing your Drone config

Please try the following command to test drone config in local machine.

$ drone exec