mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Added .drone.yml file
This commit is contained in:
committed by
Dan Christian Bogos
parent
c6f41d7003
commit
983fb75a6a
40
.drone.yml
Normal file
40
.drone.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: unit tests
|
||||
|
||||
workspace:
|
||||
path: /cgrates
|
||||
|
||||
steps:
|
||||
- name: unit
|
||||
pull: never
|
||||
image: cgrates-integration
|
||||
commands:
|
||||
- docker-entrypoint.sh
|
||||
- ./test.sh
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
workspace:
|
||||
path: /cgrates
|
||||
|
||||
steps:
|
||||
- name: integration
|
||||
pull: never
|
||||
image: cgrates-integration
|
||||
commands:
|
||||
- docker-entrypoint.sh
|
||||
- ./integration_test.sh
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
from: cgrates.test01@gmail.com
|
||||
host: smtp.gmail.com
|
||||
username: cgrates.test01
|
||||
recipients:
|
||||
- alexandru.tripon@itsyscom.com
|
||||
when:
|
||||
status: [ changed, failure ]
|
||||
1
go.mod
1
go.mod
@@ -65,7 +65,6 @@ require (
|
||||
google.golang.org/api v0.36.0
|
||||
google.golang.org/genproto v0.0.0-20210111234610-22ae2b108f89 // indirect
|
||||
google.golang.org/grpc v1.34.1 // indirect
|
||||
google.golang.org/protobuf v1.25.0
|
||||
gorm.io/driver/mysql v1.0.3
|
||||
gorm.io/driver/postgres v1.0.6
|
||||
gorm.io/gorm v1.20.11
|
||||
|
||||
Reference in New Issue
Block a user