2026 Commits

Author SHA1 Message Date
ionutboangiu
67a0543dde update rabbitmq role repos 2026-01-13 11:25:32 +01:00
ionutboangiu
117fee4e29 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:24 +01:00
armirveliaj
319a4f9cf3 Update docs for non-indexed match type filters 2025-07-21 10:34:19 +02:00
ionutboangiu
45bfc5f6b7 Fix rsyslog config to capture logs across distros
Add three conditions to properly capture CGRateS logs:

- programname startswith 'cgr-engine': catches logs from external
  libraries that don't use our syslogger (e.g. diameter conn errors)
- programname startswith 'CGRateS': handles deb-based distros
  where our syslog tag becomes the program name
- msg contains 'CGRateS': handles rpm-based distros where systemd
  journal overrides programname but our tag remains in message content
2025-05-27 17:30:08 +02:00
ionutboangiu
427c6aef10 add entry for 1.0 dist in reprepro cfg 2025-05-08 16:16:07 +02:00
arberkatellari
bc182d577d Revise deb packages script 2025-03-30 13:54:09 +02:00
ionutboangiu
a79b23ce63 make use of gpg/reprepro roles in playbooks 2025-03-25 14:29:19 +01:00
ionutboangiu
806d4ea4af update gpg role
now equivalent to gpg task files from deb_packages
2025-03-25 14:29:19 +01:00
ionutboangiu
11e9d523d6 extract reprepro logic to dedicated role 2025-03-25 14:29:19 +01:00
ionutboangiu
7b60c0e150 add gpg_key_rotation ansible playbook
ensures reprepro files are signed with the current GPG key, without
having to build new packages.
2025-03-19 12:34:41 +01:00
ionutboangiu
cef9bd63ee update Go in chroots when version differs 2025-03-16 16:27:24 +01:00
ionutboangiu
0bca9f21e9 improve rescue handling with logs and chroot cleanup 2025-03-16 16:27:24 +01:00
ionutboangiu
f6976677b6 merge file find and remove tasks in always block 2025-03-16 16:27:24 +01:00
ionutboangiu
718ab2811d clarify task names related to .changes file checks 2025-03-16 16:27:24 +01:00
ionutboangiu
7972255a0b Enforce one changes file per dist + debug info 2025-03-16 16:27:24 +01:00
ionutboangiu
8e77e7e731 Improve task names in reprepro task file 2025-03-16 16:27:24 +01:00
ionutboangiu
9d3fcb84af Revise deb_packages ansible playbook
- incoming folder is always cleaned up
- cleanup generated package files prior to moving to incoming
- fix some lint errors
- import cgrates role
- remove go cache clean steps (done at role level now)
- improved formatting
2025-03-16 16:27:24 +01:00
ionutboangiu
298b3eeb71 Revise cgrates setup ansible role 2025-03-16 16:27:24 +01:00
ionutboangiu
1c672c33ec Revise go setup role and bump version
- clean go cache at the role level
- use go env GOMODCACHE for path resolution
- add become: true to prevent permission issues
- check stdout instead of stderr for go clean -x --cache
- cache cleaning is skipped by default
- fix lint errors
2025-03-16 16:27:24 +01:00
ionutboangiu
3545224ee6 Replace ansible include with include/import_tasks
Deprecated and not available in versions 2.16+
2025-03-16 16:27:24 +01:00
gezimbll
508d27e836 updated rsyslog conf to include logs with tag CGRateS 2025-02-26 16:16:44 +01:00
ionutboangiu
85f9bc410e Add missing host flag to pjsua_call script 2025-01-24 11:44:34 +01:00
ionutboangiu
178ae35d9b Bump mongodb version in ansible role 2025-01-21 20:02:17 +01:00
ionutboangiu
f9d3444cc7 Bump go version 2024-09-24 17:45:11 +02:00
DanB
408c84b482 Starting 0.10.5~dev 2024-09-24 16:23:00 +02:00
ionutboangiu
778f5293cd update kafka version in role (3.7.0->3.8.0) 2024-08-19 12:11:51 +02:00
gezimbll
6b530e94b7 revising integration tests 2024-06-06 14:33:25 +02:00
ionutboangiu
a765454180 Port relevant new/changed ansible roles from master 2024-06-06 11:13:32 +02:00
ionutboangiu
52e879b505 Bump go version 2024-06-06 11:13:32 +02:00
ionutboangiu
141c0efbd7 Bump kafka version inside ansible role 2024-04-11 13:23:23 +02:00
ionutboangiu
09f4ede812 Remove condition when moving package files to pkg host 2024-02-28 12:45:55 +01:00
ionutboangiu
4850a75499 Bump go version 2024-02-28 12:45:55 +01:00
Bas Couwenberg
f1c5aae7da Update deb_packages playbook to support multiple distributions. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
d8c5a61253 Fix script-not-executable Lintian issue. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
f9bfb8cba1 Fix executable-not-elf-or-script Lintian issues. 2024-02-27 16:25:57 +01:00
Bas Couwenberg
ef1696d5e1 Pass commit date and hash to -ldflags separately. 2024-02-27 16:25:57 +01:00
ionutboangiu
6d20afc8c5 Bump mongodb version in ansible role 2023-10-26 16:26:52 +02:00
ionutboangiu
4d05b1683b Delete coprgate ansible playbook 2023-10-19 17:20:25 +02:00
ionutboangiu
7dbef9443b Update kafka handler to run with sudo 2023-10-19 17:20:25 +02:00
ionutboangiu
0651f3cb8f Update kafka ansible role
- use kraft instead of zookeeper
- add handlers in case of cfg changes
- create a separate user for the kafka service
- bump kafka version
- make the role more configurable
2023-10-17 17:41:19 +02:00
ionutboangiu
32517c6d68 Update rabbitmq role for latest debian/ubuntu compatibility 2023-10-16 18:56:49 +03:00
ionutboangiu
dd82bb3c4b Add sanity check to prevent xml reader panic
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).

If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. This avoids a nil expr error coming from
the xmlquery library.

Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.

Added an integration tes for the special case where the
xml_root_path field is left empty. Before the change it
used to trim the root element from the path slice when
attempting to retrieve a the relative path slice.
2023-10-16 13:31:14 +03:00
ionutboangiu
f36ea1676f Bump go version and update checksum 2023-10-12 13:57:47 +02:00
arberkatellari
e59b340e51 Add test for radius with vendor 2023-10-09 21:07:20 +02:00
ionutboangiu
689a78f09c Update deb_packages ansible
Adjusted rng-tools binary path.
Removed redundant distribution, since we can just use the branch
directly.
Removed checks related to the master branch.
2023-10-09 20:53:46 +02:00
ionutboangiu
b0d8cd3856 Bump go version 2023-10-09 20:53:46 +02:00
arberkatellari
e957ae00f4 Improve functionality for Drone CI 2023-09-26 21:33:07 +02:00
arberkatellari
05ede32f0f Add Drone CI 2023-09-01 18:01:21 +02:00
ionutboangiu
51021f3cb2 Activate privilege escalation for removing go installation
To remove files from /usr/local/go, root privileges are required.
2023-08-29 17:10:30 +02:00
ionutboangiu
84caf3f0b4 Update github workflows
In the integration_tests one, go is now installed using actions, therefore
the ansible go installation will be skipped.
2023-08-28 12:24:59 +02:00