Commit graph

37 commits

Author SHA1 Message Date
Joseph Schorr
4ec3a6c231 Make ACI generation consistent across calls
This will ensure that no matter which signature we write for the generated ACI, it is correct for that image.
2016-05-26 17:09:19 -04:00
Joseph Schorr
1afcd63a86 Better env handling
Fixes #1379
2016-04-20 14:53:10 -04:00
Jimmy Zelinskie
3e148556e6 aci: pylint 2016-03-22 15:03:48 -04:00
Jimmy Zelinskie
a531ce199d aci: santize AC Names properly 2016-03-22 15:03:48 -04:00
Joseph Schorr
e3807c39b3 Handle case where volumes in Docker->ACI are null
Fixes #1089
2015-12-22 15:51:30 -05:00
Joseph Schorr
a627494e05 Ensure the squashed estimated size is an int
Also adds a test to verify
2015-12-17 13:39:01 -05:00
Joseph Schorr
139321de80 Change squashed multiplier
Fixes #992
2015-12-14 15:39:45 -05:00
Joseph Schorr
a51fc4633f Fix ACI volumes
Fixes #891
2015-12-01 15:01:51 -05:00
Jake Moshenko
c2fcf8bead Merge remote-tracking branch 'upstream/phase4-11-07-2015' into python-registry-v2 2015-11-06 18:18:29 -05:00
Matt Jibson
86ca2d7f44 Allow listing of ACI rootfs by non-root
Also the image ID folder for docker squash.

This method is only called in 2 places: once for the ACI rootfs, and once
for squashing docker images. The previous (0644) permissions could
theoretically have been depended on by someone, but it is doubtful.

fixes #802
2015-11-06 13:22:04 -05:00
Jake Moshenko
e7a6176594 Merge remote-tracking branch 'upstream/v2-phase4' into python-registry-v2 2015-10-22 16:59:28 -04:00
Joseph Schorr
df4ab8565c Temp fix for squashed images 2015-08-25 14:18:20 -04:00
Joseph Schorr
1450b7e84c Fix verbs support in V2 2015-08-24 12:05:09 -04:00
Jake Moshenko
18100be481 Refactor the util directory to use subpackages. 2015-08-03 16:04:19 -04:00
Jimmy Zelinskie
2f14fdb2d9 formats/aci: AC Name & AC Identifier to lower 2015-07-28 16:46:57 -04:00
Jimmy Zelinskie
20157571b0 formats/aci: update to ACI spec 0.6.1
Fixes #278.
2015-07-28 12:09:49 -04:00
Jimmy Zelinskie
07efee1531 formats/aci: update isolators to ACI 0.4.1 2015-07-28 12:06:47 -04:00
Jimmy Zelinskie
b2d89f406b formats/aci: handle config['ENV'] is None 2015-03-03 16:53:28 -05:00
Jimmy Zelinskie
15e76d11f1 remove all pylint comments 2015-03-03 16:53:05 -05:00
Jimmy Zelinskie
925b269d1b formats/aci: add config['ENV'] default 2015-03-03 16:16:13 -05:00
Joseph Schorr
e1c5ccb7d6 Fixes 2015-02-05 17:37:58 -05:00
Joseph Schorr
e7f7a58bce Change to Rocket v0.3 env var format 2015-02-05 13:20:40 -05:00
Joseph Schorr
bfb0784abc Add signing to the ACI converter 2015-02-04 15:29:24 -05:00
Jimmy Zelinskie
81b5b8d1dc aci format: - allowed in AC Name spec 2015-02-03 12:15:08 -05:00
Jimmy Zelinskie
90a3782933 lint: pylint comments and unused imports 2015-02-02 16:54:23 -05:00
Jimmy Zelinskie
75fa007c54 squashed format: _build_layer_json now static 2015-02-02 16:53:39 -05:00
Jimmy Zelinskie
844a960608 linter: rm unused imports, shut the linter up 2015-02-02 16:38:58 -05:00
Jimmy Zelinskie
a3afedfbbd aci format: default workdir / due to ACI spec 2015-02-02 16:16:10 -05:00
Jimmy Zelinskie
d4ab4a2ea1 aci format: fix name values to follow AC Name spec
This means no underscores or dashes.
2015-02-02 16:15:11 -05:00
Jimmy Zelinskie
7f6b42f8f3 aci format: change methods to staticmethods 2015-02-02 16:13:37 -05:00
Jimmy Zelinskie
e95b4f43dd aci format: fix indentation 2015-02-02 16:12:23 -05:00
Joseph Schorr
8d6cda44b5 Switch to a name, value dict, rather than a tuple 2015-02-02 14:25:03 -05:00
Joseph Schorr
84e5c0644e Address comments 2015-02-02 14:07:32 -05:00
Joseph Schorr
fa55169c35 - Fix bug in tarlayerformat when dealing with larger headers
- Fix bug around entry points and config in the ACI converter
2015-01-16 18:23:40 -05:00
Joseph Schorr
e902cd62fd Handle capabilities strings with both spaces and commas (since Docker doesn't have this documented yet) 2015-01-16 17:29:59 -05:00
Joseph Schorr
d8817a2965 Fix ACI conversion handling of relative exec commands 2015-01-13 17:55:27 -05:00
Joseph Schorr
6ed28930b2 Work in progress: Docker -> ACI conversion 2015-01-13 17:46:11 -05:00