Add testing ci pipeline
This commit is contained in:
parent
eb72aaa01f
commit
6901de2374
26
.drone.yml
Normal file
26
.drone.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deployment
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- echo "Build the container image"
|
||||||
|
- docker-compose build
|
||||||
|
- echo "Restart the container"
|
||||||
|
- docker-compose restart
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- ci-testing
|
||||||
|
|
||||||
|
node:
|
||||||
|
host: socrates
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
Loading…
Reference in New Issue
Block a user