24 lines
392 B
YAML
24 lines
392 B
YAML
|
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..."
|