31 lines
663 B
YAML
31 lines
663 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: node:14-alpine
|
|
commands:
|
|
- echo "Building the application..."
|
|
- echo "Pipeline is running on runner ${DRONE_RUNNER_NAME}"
|
|
|
|
- name: test
|
|
image: python:3.9
|
|
depends_on:
|
|
- build
|
|
commands:
|
|
- echo "Running tests..."
|
|
- echo "Pipeline is running on runner ${DRONE_RUNNER_NAME}"
|
|
|
|
- name: deploy
|
|
image: ubuntu:20.04
|
|
depends_on:
|
|
- test
|
|
commands:
|
|
- echo "Deploying the application..."
|
|
- echo "Pipeline is running on runner ${DRONE_RUNNER_NAME}"
|
|
|
|
node:
|
|
system: linux_bla
|
|
task: unreviewed_code
|
|
environment: node_js |