Commit graph

107 commits

Author SHA1 Message Date
Robert Hensing
8dfb1c01ce
Merge pull request #13 from hercules-ci/fix-import-from-derivation
Make import from derivation work again
2019-01-20 17:13:41 +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
Sergei Khoma
380ae56e4f feat: docker-config -> add missing fields 2019-01-13 16:24:56 +02:00
Robert Hensing
f503e556ea Do not build for commands that do not need images 2018-12-23 13:00:04 +01:00
Robert Hensing
0f6a1bd41f Doc improvements 2018-12-18 14:53:37 +01:00
zimbatm
980faa4ea0
fixes shellcheck issues
mainly escaping
2018-12-18 10:47:42 +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