Commit Graph

79 Commits

Author SHA1 Message Date
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
Sridhar Ratnakumar
c34121a311 doc: edit; add wip status 2023-07-21 14:08:44 -04:00
Sridhar Ratnakumar
f3a7ea9ec9 example: Use just for deterministic dataDir location 2023-07-20 07:59:17 -04:00
Sridhar Ratnakumar
c1277465d7 example: Add .envrc 2023-07-20 07:59:17 -04:00
Sridhar Ratnakumar
838cc5682a dev: Switch from mission-control to just 2023-07-20 07:59:17 -04:00
Sridhar Ratnakumar
f95d5dacaa example: update services-flake (so 'nix run' will work) 2023-07-19 10:22:40 -04:00
Sridhar Ratnakumar
321ef32a28 doc: title 2023-07-18 16:56:59 -04:00
Sridhar Ratnakumar
4256405076 doc: sidebar pos 2023-07-18 16:44:14 -04:00
Sridhar Ratnakumar
e22e395667 Remove gh actions 2023-07-18 11:32:37 -04:00
Sridhar Ratnakumar
eefec1426c gh: Fix branch name 2023-07-18 11:30:44 -04:00
Sridhar Ratnakumar
3114cb6791 Switch completely to using nixci 2023-07-18 11:30:20 -04:00
Sridhar Ratnakumar
bccf50495d Add github actions config 2023-07-18 11:26:28 -04:00
Sridhar Ratnakumar
978bbbc408 docs: Initialize (for zero-to-flakes) 2023-07-18 10:49:16 -04:00