Commit Graph

10310 Commits

Author SHA1 Message Date
NikolasPetriti
4d246d7697 Add coverage tests for config 2023-08-31 18:25:15 +02:00
NikolasPetriti
85dce9123d Add gofmt to last commit 2023-08-31 18:25:15 +02:00
NikolasPetriti
d613ab926f Add coverage tests for config 2023-08-31 18:25:15 +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
NikolasPetriti
239aaa0a7f Add coverage tests for config 2023-08-29 17:09:48 +02:00
arberkatellari
c03b2ae656 Add fatal logs on engine 2023-08-29 16:54:20 +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
ionutboangiu
47198a994b Make sure kafka topic exists during test
Also made sure it is deleted at the end.
2023-08-28 12:24:59 +02:00
ionutboangiu
f3fc6d050f Revise kafka ers test
The Serve call was moved before the export attempt.

Revised deprecated kafka writer creation and made sure to handle errors.
2023-08-28 12:24:59 +02:00
ionutboangiu
60929112fa Make sure reply is sorted before comparison for cdre tests 2023-08-28 12:24:59 +02:00
ionutboangiu
a285a3d497 Rename ansible roles to be consistent 2023-08-28 12:24:59 +02:00
ionutboangiu
620476f6c4 Reference the right cgrates role in ansible playbooks 2023-08-28 12:24:59 +02:00
ionutboangiu
9e0a5c0a7c Reference the right go role in ansible playbooks 2023-08-28 12:24:59 +02:00
ionutboangiu
44963afab4 Revise integration_tests playbook
Instead of using tasks to include the roles, use them directly.

The go role executes by default, unless the install_go variable
is set to false.
2023-08-28 12:24:59 +02:00
ionutboangiu
2e6fbf9434 Revise cgrates ansible role
Removed clone_repository variable from defaults. Now if it's not found
we will assume it's true.

In the cgrates building task we are not forcibly sourcing the /etc/profile
script anymore since it's redundant (we are using bash -lc to execute the
script, where -l will do that automatically).

Make sure we create symbolic links for all binaries we build (not just cgr-engine).
This meant the migrator task environment field could be removed as well.
2023-08-28 12:24:59 +02:00
ionutboangiu
b97a669fd0 Revise go ansible role 2023-08-28 12:24:59 +02:00
NikolasPetriti
8399e5c5c9 Add coverage tests for config 2023-08-28 12:18:54 +02:00
NikolasPetriti
16c0360ff4 Add coverage tests for utils 2023-08-28 12:18:54 +02:00
NikolasPetriti
7050622bc3 Add coverage tests for utils 2023-08-28 12:18:54 +02:00
NikolasPetriti
f7807d26af Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
3e7394de75 Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
bcf26daf5a Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
b590767fc2 Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
97b65f9718 Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
b2ce0ce167 Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
5ef01e6f0b Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
af3d585d72 Add coverage tests for engine 2023-08-28 12:18:54 +02:00
NikolasPetriti
81b774f1d5 Revise invalid struct tags for tp models 2023-08-28 12:18:54 +02:00
DanB
528f36d048 Starting 0.10.4~dev 2023-08-10 10:08:31 +02:00
DanB
2797288111 Release v0.10.3 v0.10.3 2023-08-09 17:38:10 +02:00
ionutboangiu
06aee1d8c7 Update changelog 2023-08-09 17:30:32 +02:00
DanB
14e3c92cc9 Adding hosts sample ansible inventory for deb_packages 2023-08-09 16:03:29 +02:00
ionutboangiu
06cebec008 Update libraries 2023-08-09 15:30:27 +02:00
ionutboangiu
0447e481ff Update it workflow to run tests for PR version of the repo
Before it was running the tests for the latest commit on the main repo instead
of running them for the PR version of it.
2023-08-09 15:30:27 +02:00
ionutboangiu
fad94ebe5c Add variable to cgrates role to decide whether to clone the repo
Sometimes we want to use the already existing repo without overwriting. Defaults to true (will
clone).
2023-08-09 15:30:27 +02:00
ionutboangiu
e887ad7479 Bump go version 2023-08-09 15:30:27 +02:00
ionutboangiu
d1dac1bef6 Replace deprecated ioutil package 2023-08-09 15:30:27 +02:00
NikolasPetriti
6779cdf533 Add coverage tests for engine 2023-08-09 13:42:30 +02:00
NikolasPetriti
e90ef030d1 Add coverage tests for engine 2023-08-09 13:42:30 +02:00
gezimbll
8db9d6ca4d Added multiple filters for exportcdrs apis tests 2023-08-08 17:14:36 +02:00
gezimbll
457ab9a3c6 Renaming to filterids field on exportcdrs 2023-08-08 17:14:36 +02:00
gezimbll
bb9d32c5b6 Updated installation docs 2023-08-08 17:14:36 +02:00
gezimbll
f18c118cb0 Adding FiltersID field for ExportCdrs api 2023-08-08 17:14:36 +02:00
NikolasPetriti
16340546c9 Add coverage tests for engine 2023-08-07 17:19:54 +02:00
NikolasPetriti
7b016eef3b Add coverage tests for engine 2023-08-07 11:42:27 +02:00
NikolasPetriti
4c544f427c Add coverage tests for models.go and model_helpers.go 2023-08-07 11:42:27 +02:00
NikolasPetriti
9079248d4e Add coverage tests for model_helpers.go 2023-08-07 11:42:27 +02:00
NikolasPetriti
d284828496 Add coverage tests for model_helpers.go 2023-08-02 16:50:10 +02:00
NikolasPetriti
708302e753 Format all tests 2023-08-02 16:50:10 +02:00
NikolasPetriti
bb4a944135 Add coverage tests for engine 2023-08-02 16:50:10 +02:00