Renew Drone CI

This commit is contained in:
arberkatellari
2023-09-01 11:30:20 -04:00
committed by Dan Christian Bogos
parent 61a781675c
commit 1445fa3b49
21 changed files with 1522 additions and 88 deletions

View File

@@ -0,0 +1,9 @@
db = db.getSiblingDB('cgrates')
db.createUser(
{
user: "cgrates",
pwd: "CGRateS.org",
roles: [ { role: "dbAdmin", db: "cgrates" } ]
}
)

View File

@@ -0,0 +1,14 @@
#! /usr/bin/env sh
mongo --quiet create_user.js
cu=$?
if [ $cu = 0 ]; then
echo ""
echo "\t+++ CGR-DB successfully set-up! +++"
echo ""
exit 0
fi