ci: Add CI/CD template
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-01-15 20:41:51 +01:00
parent 8ae2d4735a
commit 628a88f1fe

35
.drone.yml Normal file
View file

@ -0,0 +1,35 @@
---
kind: pipeline
name: test
steps:
- name: test
image: osshelp/drone-molecule
environment:
LXD_REMOTE_PASSWORD:
from_secret: lxd_remote_password
settings:
action: test
---
kind: pipeline
name: publish
depends_on: [test]
trigger:
status: [success]
event: [push, tag]
ref:
- refs/heads/*
- refs/tags/*
steps:
- name: publish
image: osshelp/drone-molecule
environment:
MINIO_USER:
from_secret: minio_user
MINIO_SECRET:
from_secret: minio_secret
settings:
action: upload