2024-09-08 14:20:42 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2024-09-08 14:24:46 +00:00
|
|
|
image: node:14-alpine
|
2024-09-08 14:20:42 +00:00
|
|
|
commands:
|
|
|
|
- echo "Building the application..."
|
|
|
|
|
|
|
|
- name: test
|
2024-09-08 14:24:46 +00:00
|
|
|
image: python:3.9
|
2024-09-08 14:20:42 +00:00
|
|
|
depends_on:
|
|
|
|
- build
|
|
|
|
commands:
|
|
|
|
- echo "Running tests..."
|
|
|
|
|
|
|
|
- name: deploy
|
2024-09-08 14:24:46 +00:00
|
|
|
image: ubuntu:20.04
|
2024-09-08 14:20:42 +00:00
|
|
|
depends_on:
|
|
|
|
- test
|
|
|
|
commands:
|
|
|
|
- echo "Deploying the application..."
|
2024-09-08 14:26:50 +00:00
|
|
|
|
2024-09-08 14:36:41 +00:00
|
|
|
node:
|
2024-09-08 14:37:35 +00:00
|
|
|
system: linux
|
2024-09-08 14:36:41 +00:00
|
|
|
task: unreviewed_code
|
|
|
|
environment: node_js
|