7 Commits

Author SHA1 Message Date
Oleksandr Mazur
af4dfb4272 Build: use multi-cgw deployment target as a default one
Replace script-based approach for CGW/services creation,
in favor of multi-cgw templated generated compose file.

Also, add a new run-tests target, that executes / starts
test run, for the sake of convinience.

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-12-11 16:58:46 +02:00
Sviatoslav Boichuk
1356565f58 Added Docker Compose tempalte to start multi-cgw instances 2024-12-05 14:22:21 +02:00
Oleksandr Mazur
abb99f544c Add proper all-in-one make job
This change makes it possibly to fire make all / make run
without any additional prerequisites required.
It instructs Makefile to launch docker compose for thirdparty
services, as well as instructs CGW container to communicate
with newly created containers.
Also generates self-signed certs, in case if these are missing.

- Tweak docker-compose files for thirdparty services to resign
  in a cgw-dedicated network, and use hostnames where needed;
- Change CGW app default network to cgw-dedicated network;
- Tweak PGSQL scripts to create tables in CGW DB, as well
  as change ownership to them.

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-10-02 14:37:13 +03:00
Oleksandr Mazur
f6205c26d2 Build: Print version (hash) tag whenever app starts
NOTE: CI changes will be made in other PRs.
This one only covers the buildsystem / application part;

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-07-01 21:00:47 +03:00
Sviatoslav Boichuk
0594b64879 Use cache to build CGW inside Docker 2024-06-04 14:55:21 +03:00
Oleksandr Mazur
c3172eed34 Implement dockerized building and running of CGW
- Use special build-env docker image that uses local project
  directory (volume mount) to speedup build.
- Implement cgw-img (docker image) generation.
- Track cgw-img tag based on commit.

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-04-04 11:24:34 +03:00
Oleksandr Mazur
eda553ccdb Update readme, add make to ease-out building
- Update readme;
- Add run script that helps running cgw;
  (utilizes enviroment variables for starting app);
- Add makefile that will be used for building app
  (build, deploy, run, run tests etc)

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
Change-Id: I5b72e35a121afa95f3102efad8f1748995910a76
2024-03-28 18:28:11 +02:00