Shivaraj B H
1ae2579853
docs: add motivation for creating services-flake ( #125 )
...
resolves #124 and #123
---------
Co-authored-by: Sridhar Ratnakumar <3998+srid@users.noreply.github.com>
2024-03-07 22:10:16 +05:30
Sridhar Ratnakumar
708ae40e62
ci: Use cachix
2024-03-07 11:33:22 -05:00
Sridhar Ratnakumar
679abde41d
docs: Fix nix shell command
2024-03-06 23:25:26 +05:30
shivaraj-bh
788ef28769
feat: add pre-commit-hooks.nix, enforcing conventional commits
...
enable treefmt and commitizen in pre-commit-hooks.nix
Along with this, we also:
* bump: update nixpkgs of dev flake for pre-commit-hooks.nix to work
the older version didn't have cljfmt
2024-03-06 22:29:38 +05:30
Abhishek Singh
e0a1074f8a
bump: update flake lock ( #117 )
...
* fix: pgadmin-init
in pgadmin-8.2, the command to setup configuration db is `setup-db`
* fix: add grafana overlay
grafana 10.3.3 from upstream nixpkgs doesn’t work in darwin
* chore: free up space in ubuntu-latest
---------
Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2024-03-06 16:55:00 +05:30
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
Sridhar Ratnakumar
b4275fc8bf
ci: get rid of registries
2024-03-05 20:18:53 -05:00
Shivaraj B H
d9f8bf0211
add CHANGELOG.md
( #119 )
2024-03-06 06:38:00 +05:30
Shivaraj B H
d8b6d22c5c
use small-case x to mark a task as complete
...
With X, the final render is not a checkbox, but it is rendered as is.
2024-03-04 00:13:19 +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
8d877fb488
ci: Add m1 runner to matrix ( #89 )
...
Co-authored-by: Shivaraj B H <sbh69840@gmail.com>
2024-02-27 09:30:41 -05:00
Shivaraj B H
65ebef12e5
clickhouse: fix test regression ( #109 )
2024-02-27 19:35:08 +05:30
shivaraj-bh
87ad31ec21
add contribuiting to index; set order of contributing to -9
...
contributing will appear after Getting started in the sidebar
2024-02-27 06:26:10 -05:00
Shivaraj B H
c0a1021f54
Development and contribution guidelines ( #112 )
...
---------
Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
Co-authored-by: Sridhar Ratnakumar <3998+srid@users.noreply.github.com>
2024-02-24 17:54:57 +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
ef2f930e1a
clickhouse: use lib.recursiveUpdate
to deep merge extraConfig ( #110 )
2024-02-22 22:32:52 +05:30
Abhishek Singh
625f207034
add grafana service ( #108 )
2024-02-22 22:25:51 +05:30
Sridhar Ratnakumar
15d573f319
readme: add zulip badge
2024-02-22 08:19:37 -05:00
Adrian
f8cd3fbcb5
postgres init: use -U ${config.superuser} with psql if superuser != null ( #106 )
2024-02-21 23:36:56 +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
Shivaraj B H
29781d10d0
just: test specific service ( #101 )
2024-02-19 11:12:43 +05:30
Abhishek Singh
76beca31cc
change clickhouse extraConfig
type to yaml ( #99 )
...
* change clickhouse `extraConfig` type to yaml
* update clickhouse doc
2024-02-19 11:08:14 +05:30
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