Commit Graph

29 Commits

Author SHA1 Message Date
Shivaraj B H
9cdee29122
refactor: overlays for packages in test flake (#120)
Avoid test flake clutter; separate overlay for each package.
2024-03-06 08:06:25 +05:30
Abhishek Singh
6aeb0eafe6
cassandra: init service (#116)
* cassandra: init service

* cassandra: add cassandra/conf files

* cassandra_test: change package to cassandra_4

* update readiness_probe

* update cassandra_test

* cassandra: add doc

* cassandra_4 doesn't require python-2

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2024-03-03 16:07:36 +05:30
Abhishek Singh
5e48c5a965
add pgAdmin service (#115) 2024-02-29 18:10:22 +05:30
Abhishek Singh
bdd6dde41a
add prometheus service (#114)
* prometheus: init service

* prometheus: add doc

* prometheus: update doc
2024-02-28 11:00:52 +05:30
Sridhar Ratnakumar
0787c48b02
Update process-compose-flake (#111)
To try the new JSON config, avoiding IFD.
2024-02-24 06:59:35 -05:00
Abhishek Singh
625f207034
add grafana service (#108) 2024-02-22 22:25:51 +05:30
Abhishek Singh
dafaeb048d
explicitly define project root in treefmt (#103)
* explicitly define project root in treefmt

* define `projectRootFile` in `treefmt`

* make `treefmt.projectRoot` as `inputs.services-flake`

* use github flake url

* flake.nix as projectRootFile

* add comment

* force override-input in test flake

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2024-02-20 11:06:02 +05:30
Sridhar Ratnakumar
e926d2d1d3 test: Fix impure access of parent paths 2024-02-11 03:58:59 -05:00
roman-bodavskiy
a0bde519ed
clickhouse init script (#91)
* clickhouse init script

* clickhouse schema test

* clickhouse folder

* docs: add initialDatabases to tips & tricks

* docs: use heading anchor

* add TODO to find an alternative to start clickhouse-server during init

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2024-02-07 22:03:06 +05:30
Shivaraj B H
af4af40169
Add Clickhouse service (#85) 2024-01-24 20:54:26 +05:30
Rohit Singh
22e121b246
Using psql command instead of postgres in initialScript (#66)
* Use psql instead of postgres, as a result, use `pg_ctl` to temporarily start the postgres server in `${name}-init` process.
* Avoid creating a custom `postgresPkg` with extensions by using `apply` attribute provided by `mkOption`
* Refactor setup script, use `writeShellApplication` and resolve shell-check errors

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2023-12-25 00:35:03 +05:30
Shivaraj B H
8cd80d7a16
nginx: service init (#69) 2023-12-22 16:42:51 +05:30
Shivaraj B H
c56d39116c
process-compose: 0.60.0 -> 0.65.1 (#58) 2023-10-07 23:56:28 +05:30
Shivaraj B H
b9ab7fb711
Namespaces (#57) 2023-10-04 22:50:59 +05:30
Shivaraj B H
072fb57419
Add MySQL service (#50) 2023-09-07 20:36:27 +05:30
Shivaraj B H
2c1bbc1258
[Update flake.lock; fix bugs] Test process overwrites other processes (#52) 2023-09-06 19:54:51 +05:30
Shivaraj B H
5fdd56f090
mkPackageFor in test flake (#44) 2023-08-31 13:00:06 +05:30
Shivaraj B H
b93a612aa7
Kafka and Zookeeper services (#42) 2023-08-29 17:04:04 +05:30
Shivaraj B H
6e7c208761
Add elasticsearch service (#37) 2023-08-23 23:07:18 +05:30
Shivaraj B H
76bad81d94
default port 0 set by the upstream (#43) 2023-08-23 23:06:11 +05:30
Shivaraj B H
72a3eaacc8
Process as test (VM -> Native test) (#38)
Co-authored-by: Sridhar Ratnakumar <3998+srid@users.noreply.github.com>
2023-08-23 22:47:20 +05:30
Shivaraj B H
88a259d48e
Add Redis cluster service (#35) 2023-08-02 09:58:19 +05:30
Shivaraj B H
8b8eea9230
Multiple services (#13) 2023-07-18 02:15:33 +05:30
Sridhar Ratnakumar
85a89560b6 Revert "dev flake: check example and tests"
This reverts commit 05345eaab7.
2023-07-10 19:36:14 -04:00
Sridhar Ratnakumar
05345eaab7 dev flake: check example and tests
It makes sense to consolidate all of this to in one place, the "dev flake".
2023-07-10 13:01:08 -04:00
Shivaraj B H
beaaca9f55
Add redis service (#8) 2023-07-10 20:44:26 +05:30
Sridhar Ratnakumar
b7c1a05eff test: Update process-compose-flake
Also wrap in startScript because 'command' no longer does that.
2023-06-21 10:01:14 -04:00
Sridhar Ratnakumar
599970cd8f Advance process-compose-flake 2023-06-19 18:01:04 -04:00
Sridhar Ratnakumar
f171932d13 Initial implementation: hello and postgres 2023-06-19 17:56:18 -04:00