mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-23 02:20:39 +00:00
32 lines
417 B
Plaintext
32 lines
417 B
Plaintext
|
---
|
||
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: amd64
|
||
|
|
||
|
steps:
|
||
|
- name: Build and test
|
||
|
image: node:8.5.0
|
||
|
commands:
|
||
|
- npm install
|
||
|
- npm test
|
||
|
- npm build
|
||
|
|
||
|
- name: Integration test
|
||
|
image: node:8.5.0
|
||
|
commands:
|
||
|
- npm run integration-test
|
||
|
|
||
|
- name: Deploy to beanstalk
|
||
|
image: python:3.5.1
|
||
|
commands:
|
||
|
- python deploy-to-beanstalk.py
|
||
|
|
||
|
services:
|
||
|
- name: postgres
|
||
|
image: postgres:9.6.4
|
||
|
|
||
|
...
|