This commit is contained in:
commit
d3cb9a6750
23
.drone.yml
Normal file
23
.drone.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: node:14-alpine
|
||||||
|
commands:
|
||||||
|
- echo "Building the application..."
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
image: python:3.9
|
||||||
|
depends_on:
|
||||||
|
- build
|
||||||
|
commands:
|
||||||
|
- echo "Running tests..."
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: ubuntu:20.04
|
||||||
|
depends_on:
|
||||||
|
- test
|
||||||
|
commands:
|
||||||
|
- echo "Deploying the application..."
|
Loading…
Reference in New Issue
Block a user