You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
911 B
YAML

---
1 year ago
kind: pipeline
type: docker
name: CI Test Pipeline
steps:
- name: Unit Tests
image: python:3.11-bullseye
# Todo add command for lint checks
1 year ago
commands:
- bash -c './scripts/run_unit_tests.sh'
group: test-lint
- name: Lint Chart
image: pelotech/drone-helm3
settings:
mode: lint
chart: ./charts/speech-collect
group: test-lint
1 year ago
trigger:
event:
- pull_request
- push
# Secrets used to pull private images
image_pull_secrets:
- dockerconfigjson
---
kind: pipeline
type: docker
name: Build Production Image
steps:
- name: Build Speech Collect Container Image
image: plugins/docker
settings:
username: automate
password:
from_secret: automate_password
dockerfile: Dockerfile
registry: registry.runcible.io
repo: registry.runcible.io/speech-collect
tags:
- ${DRONE_COMMIT_SHA}
when:
branch:
- master
event:
- push