Commit Graph

291 Commits

Author SHA1 Message Date
Shivaraj B H
7593351c71
Mysql: add initialScript option (#98)
—

Co-authored-by: rsrohitsingh682 <rsrohitsingh682@gmail.com>
2024-02-15 16:36:18 +05:30
Shivaraj B H
63ff90eed9
redis-cluster: run create cluster only if it is not already initalised (#97) 2024-02-13 19:24:08 +05:30
Sridhar Ratnakumar
3c3a6f03a2 example: update services-flake 2024-02-12 04:47:51 -05:00
Sridhar Ratnakumar
1b7f5e65bb
Revert "ci: Don't upgrade Nix behind the scenes" (#94) 2024-02-11 04:52:32 -05:00
Sridhar Ratnakumar
e926d2d1d3 test: Fix impure access of parent paths 2024-02-11 03:58:59 -05:00
Sridhar Ratnakumar
9411399310
doc: Flatten index note (#93) 2024-02-09 12:51:13 -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
9b806b53f3
postgres: always create socketDir during init if not already present (#88)
If the socketDir is in tmpfs, or if it is deleted by some other process, we would want the socketDir to be created, if not already present, on restarts.
2024-01-31 18:47:52 +05:30
Sridhar Ratnakumar
44b50d51ec
docs/clickhouse: Use heading anchors (#86) 2024-01-24 23:04:28 +05:30
Sridhar Ratnakumar
653a230f73
docs/clickhouse: add intro (#87) 2024-01-24 22:16:17 +05:30
Shivaraj B H
af4af40169
Add Clickhouse service (#85) 2024-01-24 20:54:26 +05:30
Shivaraj B H
8c396234dc
[Docs] Home page and getting started (#83) 2024-01-21 17:59:30 +05:30
John A. Lotoski
eb8361b9ab
postgres ensure socketDir mktemp init succeeds (#81)
* fix: ensure socketDir mktemp succeeds when path does not exist yet

* postgres: test socketDir with a multi-level non-existing path
2024-01-20 00:20:08 +05:30
John A. Lotoski
1a3f2d1936
postgres: add socketDir option (#77) 2024-01-18 23:10:16 +05:30
Shivaraj B H
bf3a582502
[Postgres]: Fix test process not starting (#78)
* needn't copy depends_on option, demonstrated in example/flake.nix

* postgres: test process must depend on both pg1 and pg2
2024-01-18 11:28:15 +05:30
Sridhar Ratnakumar
5365c6a4dd
ci: Don't upgrade Nix behind the scenes (#79) 2024-01-18 00:06:29 -05:00
Shivaraj B H
c7bed59b87
[apache-kafka] Fix the configuration to allow kafka to run on non-default port (#76)
Tests are inspired from: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/kafka.nix
The module is based on: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/apache-kafka.nix
2024-01-16 14:35:05 +05:30
Sridhar Ratnakumar
2e58b4a5b6 doc: Port to Emanote 2024-01-16 03:44:25 -05:00
Shivaraj B H
62e13715f8
[Postgres]: Use schemas in-place of initialDumps (#73)
* (postgres) rename schema to schemas; rm initialDumps, use schemas instead
2024-01-13 22:48:46 +05:30
Rohit Singh
2211042f3e
Postgres: Added option depends_on (#71)
* Added option depends_on which will be useful to append extra depends_on configuration to the <name>-init process.

* more meaningful `depends_on` option's description

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2023-12-28 20:44:32 +05:30
Rohit Singh
d6b73e401e
Adding option initialDumps to Postgres (#67)
---------

Co-authored-by: Shivaraj B H <sbh69840@gmail.com>
2023-12-26 15:15:32 +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
Sridhar Ratnakumar
e93e3ac14c
readme: Use new doc links 2023-12-19 09:03:09 -05:00
Sridhar Ratnakumar
48cd3d06c9 readme: Link to Zulip for discussion 2023-11-22 14:20:39 -05:00
Hraban Luyat
5118cd4095 docs: getting started using template 2023-11-21 15:49:09 -05:00
Sridhar Ratnakumar
f0d2860b18 docs: flakular rename 2023-11-17 15:08:15 -05:00
Shivaraj B H
94d80210d6
add github action workflow for https://github.com/flakestry/flakestry.dev 2023-10-27 15:38:50 +05:30
Sridhar Ratnakumar
9c6a37d9d3
nixci: Remove unused config 2023-10-19 14:19:07 -04:00
Sridhar Ratnakumar
6ec0a44a32
nixci: upgrade to 0.2 *and* update ./dev nixpkgs (#51) 2023-10-19 14:18:19 -04:00
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
b3f9b375b4
magic-nix-cache (#56)
---------

Co-authored-by: Sridhar Ratnakumar <3998+srid@users.noreply.github.com>
2023-09-14 14:50:29 +05:30
Sridhar Ratnakumar
eeb731db77
readme: we do have CI now 2023-09-11 12:39:37 -04:00
Shivaraj B H
0f31f24754
fmt; add kafka and zk service to readme (#54) 2023-09-07 20:57:07 +05:30
Shivaraj B H
072fb57419
Add MySQL service (#50) 2023-09-07 20:36:27 +05:30
Adrian Gierakowski
14904d0b7f feat: add lib to flake outputs exposing multiService func
closes #25
2023-09-06 11:57:08 -04:00
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-bh
f2e16df269 init 2023-08-30 10:24:38 -04:00
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
Sridhar Ratnakumar
3a8dcaffcc
Create flakehub-publish-tagged.yml 2023-08-22 18:19:05 -04:00
Sridhar Ratnakumar
4d3e39313d
readme: nixci is now on nixpkgs 2023-08-03 11:46:31 -04:00
Shivaraj B H
88a259d48e
Add Redis cluster service (#35) 2023-08-02 09:58:19 +05:30
Sridhar Ratnakumar
d30b8afd55
readme: contributing: docs 2023-07-26 15:05:06 -04:00
Adrian
1209368ec8
feat(postgres): add superuser option (#29) 2023-07-22 03:42:04 +05:30
Shivaraj B H
4da1956dd8
postgres: add defaultSettings internal option (#34) 2023-07-22 03:38:57 +05:30