Commit graph

368 commits

Author SHA1 Message Date
Robert Hensing
76ca66f59c Pin and make the project structure conform more to todomvc-nix
This makes the Nix files work like todomvc-nix but a little simplified.
Also it pins nixpkgs because for development (tests), you need -unstable
instead of release-18.09 so that's automatic now.
2019-01-20 17:11:18 +01:00
Robert Hensing
313a65c914 Make import from derivation work again
Broken by f503e556ea
Fixes #12

Cause of the problem:
nix-instantiate uses the store in read-only mode by default, unlike
nix-build.
Import from derivation requires a read-write store, causing the
command to fail with a (bad) error message. This only happened when
the derivation wasn't already built. This did not occur often
because commands like arion up use nix-build and therefore typically
mask the problem on subsequent invocations.

To reproduce the problem, garbage collect, then arion ps.
2019-01-20 15:18:29 +01:00
Robert Hensing
93346145cd
Merge pull request #11 from srghma/master
feat: docker-config -> add missing fields
2019-01-13 21:31:00 +01:00
Sergei Khoma
380ae56e4f feat: docker-config -> add missing fields 2019-01-13 16:24:56 +02:00
Robert Hensing
da7091c37b
Merge pull request #4 from hercules-ci/itest
Add integration test
2019-01-02 16:45:38 +01:00
Robert Hensing
0af009c38d Make docker-compose an included dependency 2019-01-02 10:10:28 +01:00
Robert Hensing
c39d7db5cd Add integration test
Tests the minimal example, up command, network connectivity.
Introduces overlay.
2019-01-02 09:54:46 +01:00
Robert Hensing
ebb714c69d Merge branch 'master' of github.com:hercules-ci/arion 2018-12-23 13:07:10 +01:00
Robert Hensing
f503e556ea Do not build for commands that do not need images 2018-12-23 13:00:04 +01:00
Domen Kožar
31808b1315
README: styling 2018-12-18 14:09:43 +00:00
Robert Hensing
0f6a1bd41f Doc improvements 2018-12-18 14:53:37 +01:00
Robert Hensing
9297411d40 README.md: Add examples and answers 2018-12-18 13:27:57 +01:00
Robert Hensing
bcc0f6e948
Merge pull request #2 from zimbatm/shellcheck
fixes shellcheck issues
2018-12-18 10:49:50 +01:00
zimbatm
980faa4ea0
fixes shellcheck issues
mainly escaping
2018-12-18 10:47:42 +01:00
Robert Hensing
acb626aada
Update README.md 2018-12-18 10:30:42 +01:00
Robert Hensing
11f1f521ea Add Apache 2.0 LICENSE 2018-12-17 19:11:27 +01:00
Robert Hensing
c90a975d9f .gitignore: Ignore Nix result, result-* 2018-12-17 19:10:26 +01:00
Robert Hensing
dc294b034e Code taken from Hercules CI repo
- renamed to Arion
 - minor changes
 - readme WIP
2018-12-17 19:08:38 +01:00