Commit Graph

341 Commits

Author SHA1 Message Date
Robert Hensing
ba6fa62c4a Add docker compose example for parsing unit test 2019-06-14 18:10:37 +02:00
Robert Hensing
9443fe8410 Add Haskell package 2019-06-14 16:10:37 +02:00
Robert Hensing
221bccd7f1
README: Typo 2019-05-09 23:52:18 +02:00
Domen Kožar
aee39bbb15
Merge pull request #47 from hercules-ci/unset-pythonpath
Unset PYTHONPATH
2019-05-09 15:25:05 +07:00
Robert Hensing
47081ccd41 Unset PYTHONPATH
Accepting directories from the environment into the search path
tends to break things. Docker Compose does not have a plugin
system as far as I can tell, so I don't expect this to break a
feature, but rather to make the program more robustly self-
contained.
2019-05-08 23:45:21 +02:00
Domen Kožar
a95066a844
Merge pull request #46 from hercules-ci/host-store-daemon
set NIX_REMOTE when using the daemon
2019-05-07 17:14:19 +07:00
Domen Kožar
207de9cef0
set NIX_REMOTE when using the daemon 2019-05-07 17:11:28 +07:00
Robert Hensing
f3bf1ba181
Merge pull request #45 from hercules-ci/compose-service-sysctls
compose service: add 'sysctls' option
2019-05-07 12:05:51 +02:00
Domen Kožar
6c7170c365
compose service: add 'sysctls' option 2019-05-07 16:06:13 +07:00
Robert Hensing
c94542bf78
Merge pull request #44 from hercules-ci/compose-service-user
docker-compose: support 'user' entry
2019-05-07 09:18:14 +02:00
Domen Kožar
e800372155
docker-compose: support 'user' entry 2019-05-07 14:14:49 +07:00
Robert Hensing
871db29671
Merge pull request #38 from hercules-ci/README-asciidoc
README: rearrange sections to go: pitch, install, usage
2019-05-02 13:08:49 +02:00
Domen Kožar
9f896017ee
manual: don't use removed files 2019-05-02 13:33:37 +07:00
Domen Kožar
3964ac2f1e
nixos: set correct $PATH
Not tested.
2019-05-02 06:29:14 +00:00
Robert Hensing
14d6fb5d96
Update README.asciidoc
Co-Authored-By: domenkozar <domen@enlambda.com>
2019-05-01 23:19:56 +07:00
Robert Hensing
47ca9c485d
Update README.asciidoc
Co-Authored-By: domenkozar <domen@enlambda.com>
2019-05-01 23:19:29 +07:00
Domen Kožar
f4948f2fde
README: rearrange sections to go: pitch, install, usage
Inline examples as we can't use imports due to
https://github.com/github/markup/issues/1095
2019-04-30 12:45:34 +07:00
Robert Hensing
fbf57b4489
Merge pull request #31 from hercules-ci/fix-image-nixBuild-default
Fix image nix build default
2019-03-29 09:04:53 +01:00
Domen Kožar
b279f3a666
Merge pull request #32 from hercules-ci/fix-eval-service-self-ref
Fix eval-service.nix module _file, key
2019-03-29 09:33:34 +07:00
Domen Kožar
3f36a085e9
Merge pull request #33 from hercules-ci/fix-exec-hardcoded-serviceName
Fix arion exec
2019-03-29 09:32:32 +07:00
Robert Hensing
c1e2e726c6 Fix arion exec
The service name was still hardcoded.
2019-03-28 13:09:12 +01:00
Robert Hensing
aa52a4e198 Fix eval-service.nix module _file, key 2019-03-28 11:00:18 +01:00
Robert Hensing
f789d163cc Add error context to image building functions 2019-03-27 22:04:31 +01:00
Robert Hensing
cca1f68a4f By default only build an image if service.image is set 2019-03-27 22:04:08 +01:00
Robert Hensing
1726ef45f1
Merge pull request #30 from hercules-ci/passthru-functions
Add arion.build, arion.eval passthru functions
2019-03-27 11:28:16 +01:00
Robert Hensing
b94174f4d3 Add arion.build, arion.eval passthru functions 2019-03-26 14:06:50 +01:00
Robert Hensing
000b938893
Merge pull request #28 from hercules-ci/exec-shell
Exec shell
2019-03-22 06:43:28 +01:00
Domen Kožar
e721145f38
Merge pull request #29 from hercules-ci/tmp-tmpfs
Support boot.tmpOnTmpfs without privileges
2019-03-22 09:22:25 +07:00
Robert Hensing
a171b3d080 Support boot.tmpOnTmpfs without privileges 2019-03-21 15:34:51 +01:00
Robert Hensing
2232038631 Execute a shell on arion exec <service>; 2019-03-21 15:15:28 +01:00
Robert Hensing
7cf74389ad Add build.extendedInfo to service
To let services write to the x-arion section.
2019-03-21 15:15:28 +01:00
Robert Hensing
15386e5145
Merge pull request #26 from hercules-ci/images-with-dockertools
Images with dockertools
2019-03-12 09:41:16 +01:00
Robert Hensing
4ce69bbfba build.image: Add nix store db, maxLayers = 100 2019-03-11 15:04:34 +01:00
Robert Hensing
c6374e0931 nixos-init.nix: Remove /tmp -o noexec 2019-03-11 15:04:34 +01:00
Robert Hensing
ac49df440f Add service.devices option 2019-03-11 15:04:34 +01:00
Robert Hensing
2f11979597 Add service.capabilities option 2019-03-11 15:04:34 +01:00
Robert Hensing
ac012a1ad1 formatting 2019-03-11 15:04:34 +01:00
Robert Hensing
fb62d75d0b container-systemd.nix: Disable Nix daemon by default 2019-03-11 15:04:34 +01:00
Robert Hensing
772456e3f1 doc/manual: Add --show-trace 2019-03-11 15:04:34 +01:00
Robert Hensing
9922cb6b82 Add image building and loading 2019-03-11 15:03:27 +01:00
Robert Hensing
ed2d58c8bd Add read-only option docker-compose.evaluatedServices 2019-03-11 14:55:55 +01:00
Robert Hensing
00f7b3e711 Make the service name available to the service config 2019-03-11 14:44:18 +01:00
Robert Hensing
6fd435c38e
Merge pull request #25 from hercules-ci/nixos-in-container
NixOS in container
2019-03-06 14:55:45 +01:00
Robert Hensing
97d58f7bd3 Rename nixos.useInit -> nixos.useSystemd 2019-03-06 12:49:39 +01:00
Robert Hensing
a5e08b23a3 Add service.useHostNixDaemon 2019-03-05 19:42:32 +01:00
Robert Hensing
c5e6fe6e5f Remove redundant buildInput 2019-03-05 19:42:10 +01:00
Robert Hensing
35a309097a Add support for NixOS inside containers 2019-03-05 19:41:54 +01:00
Domen Kožar
d63026ce42
Merge pull request #23 from hercules-ci/documentation
Add doc/manual, tweak README
2019-03-04 10:36:41 +07:00
Robert Hensing
6b5d0b988d doc/manual: Hide internals by default 2019-03-04 00:37:49 +01:00
Serhii Khoma
0637a1ace9 Add and fix some service fields
I had to do a manual rebase.
The hard work was done by srghma. Thanks!
2019-03-04 00:33:53 +01:00