Jonathan Boulle
dc8d4a7061
*: numerous updates to match spec
...
Changes to schema:
- removing FilesetManifest
- update example manifest to match that in spec
- splitting out App into a dedicated type embedded in AppImageManifest
Changes to tools:
- update aci writer (no more filesets)
- update actool build (no more filesets)
- update actool validate (no more filesets)
- update ace validator to use new types
- update rocket stage0/stage1 to new schema
- update ace app manifests to new spec
- fix a bug in build_aci (double compressing aci)
2014-12-08 15:52:15 -08:00
Jonathan Boulle
537cb8bfcb
appc/spec: minor cleanup
2014-12-08 15:00:04 -08:00
Jonathan Boulle
b4138838b8
appc/spec: "app" -> "manifest"
2014-12-08 13:13:47 -08:00
Jonathan Boulle
d0eb57eb7e
appc/spec: path_whitelist -> pathWhitelist
2014-12-08 12:53:09 -08:00
Jonathan Boulle
898af06edf
appc/spec: Collapse app and fileset manifests
...
This reworks the app image and fileset concepts to collapse them into a
single manifest, the App Image Manifest. The execution details are now
optional. It also describes a dependency retrieval/matching process
based on labels.
2014-12-08 12:50:23 -08:00
Jonathan Boulle
315ef170ca
stage1: fix bad path reference :-(
2014-12-08 10:22:40 -08:00
Jonathan Boulle
92079605ff
Merge pull request #232 from jonboulle/spec-labels
...
appc/spec: various updates
2014-12-08 08:30:59 -08:00
Jonathan Boulle
eeef35369a
appc/spec: various updates
...
- Add version/name/arch to metadata service explanation
- Remote obsolete metadata rationale
- Remove versions (e.g. "-1.0.0") from names
- Fix a few formatting issues (prefer line-per-sentence)
2014-12-07 21:00:46 -08:00
Jonathan Boulle
0c28dd7580
Merge pull request #166 from jonboulle/build_osx
...
rkt: build a limited version on non-Linux systems
2014-12-07 17:55:15 -08:00
Jonathan Boulle
d14ab9f345
Merge pull request #222 from jonboulle/hardlinks
...
actool: properly deal with hardlinks when building images
2014-12-07 17:49:37 -08:00
Shaun Jackman
96243318b7
build: Fix non-POSIX commands realpath and mktemp
...
realpath is not POSIX and not available on all systems.
POSIX mktemp requires a mandatory template argument.
2014-12-07 17:46:33 -08:00
Maciej Pasternacki
69e3f6a4fb
pkg/tarheader: cast inode up to uint64
...
Some systems (FreeBSD included) have uint32 as syscall.Stat_t.Ino
2014-12-06 18:44:26 -08:00
Jonathan Boulle
52c79a819e
pkg/tarheader: support hard links when building tar headers
...
This introduces an inode "cache" that can be used when populating a tar
header (pkg/tarheader.Populate), so that any inodes already seen can be
linked to instead of inserting an entire copy of the file into the tar.
2014-12-06 18:44:26 -08:00
Jonathan Boulle
8333a22351
Merge pull request #229 from filippog/fix/etcd-sha256
...
fix etcd sha256 in README.md
2014-12-06 15:47:51 -08:00
Filippo Giunchedi
e68b663260
fix etcd sha256 in README.md
...
following the instructions I get a different hash:
$ wget -q https://github.com/coreos/etcd/releases/download/v0.5.0-alpha.4/etcd-v0.5.0-alpha.4-linux-amd64.aci
$ gzip -dc etcd-v0.5.0-alpha.4-linux-amd64.aci > etcd-v0.5.0-alpha.4-linux-amd64.tar
$ sha256sum etcd-v0.5.0-alpha.4-linux-amd64.tar
f9215c18b86f406c7cec4c7b45fd8752b5bfd1a492507d647821c2ce593fbf31 etcd-v0.5.0-alpha.4-linux-amd64.tar
2014-12-06 15:24:59 +00:00
Vito Caputo
a3a84a543f
Merge pull request #226 from vcaputo/mirrorlocalzoneinfo
...
stage1/init: mirror host's /etc/localtime symlink target in rootfs
2014-12-05 16:55:01 -08:00
Vito Caputo
0b5f787c47
stage1/init: mirror host's /etc/localtime symlink target in rootfs
...
This suppresses the warning when systemd-nspawn tries recreating the host's
/etc/localtime symlink in the container filesystem.
2014-12-05 16:33:16 -08:00
Jonathan Boulle
9e2c107d0f
build: only build ACE validator if go linux/amd64 is available
2014-12-05 16:25:15 -08:00
Jonathan Boulle
8b02e49bc5
rkt: have commands register themselves
2014-12-05 14:39:08 -08:00
Jonathan Boulle
cb78269134
*: build a limited version of rkt on non-Linux
...
This introduces build tags to allow the actual rkt binary to be built on
platforms other than Linux. This does not change our current focus of rocket
being targeted at the Linux/amd64 platform, but means that users on e.g.
OS X and other operating systems can at least use `rkt fetch` to
retrieve ACI images and so forth.
2014-12-05 12:26:29 -08:00
Vito Caputo
1fa673cf48
Merge pull request #214 from vcaputo/socketactivation
...
stage1: generate socket unit for socket-activated ports
2014-12-05 11:27:12 -08:00
Vito Caputo
b245f86e67
stage1: generate a socket unit for socket-activated ports
...
* Generate a systemd socket unit for socket-activated ports
* Add socket-related path generators and cleanup rest
* Remove unnecessary systemd unit path mkdirs, just trust the
stage1 rootfs provides them.
2014-12-05 10:53:20 -08:00
Hector Fernandez
572647a6c8
Documentation: Adding version to hello world example
...
The actool is failing when validating the manifest.json, as version is missing.
2014-12-05 10:02:54 -08:00
Jonathan Boulle
27b783e8e8
Merge pull request #216 from jzelinskie/ignore-cache
...
stage1: gitignore stage1/cache
2014-12-05 09:41:11 -08:00
Brandon Philips
737a578985
Merge pull request #220 from penberg/docs/build-gpg
...
Documentation: Add 'gpg' to build pre-requisites
2014-12-05 09:10:30 -08:00
Jimmy Zelinskie
8723c10299
stage1: add / to stage1/cache gitignore entry
2014-12-05 08:56:53 -08:00
Pekka Enberg
ebde82f3f8
Documentation: Add 'gpg' to build pre-requisites
...
Commit 00294ed ("stage1: gpg verify and cache retrieved coreos image")
added a dependency to 'gpg'. Add that to list of build pre-requisites.
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2014-12-05 17:49:17 +02:00
Jimmy Zelinskie
06d4188d5d
stage1: gitignore stage1/cache
2014-12-04 23:35:21 -08:00
Vito Caputo
cc5edac9f9
Merge pull request #213 from vcaputo/urwgor
...
appc/actool: remove execute bits from build-created aci file mode
2014-12-04 17:14:50 -08:00
Vito Caputo
d52fbcfe48
appc/actool: remove unnecessary execute bits actool build output
...
Group and other execute bits are inappropriate for the produced .aci and
embedded app manifest files
2014-12-04 16:03:32 -08:00
Jonathan Boulle
4c18b3b40f
Merge pull request #205 from jonboulle/spec_mounts
...
appc/spec: minor tweak to mountpoints
2014-12-04 11:24:05 -08:00
Jonathan Boulle
0526bd54f7
appc/spec: minor tweak to mountpoints
2014-12-04 11:22:51 -08:00
Jonathan Boulle
b06fd6d41f
Merge pull request #211 from jonboulle/fix_quotes
...
appc: remove remaining smartquotes in spec
2014-12-04 11:06:58 -08:00
Jonathan Boulle
6e070b178d
Merge pull request #207 from jonboulle/cas_test_tmp
...
cas: use tmpdir for tests
2014-12-04 11:00:19 -08:00
Jonathan Boulle
57c7c501fd
cas: use tmpdir for tests
2014-12-04 11:00:05 -08:00
Jonathan Boulle
308ea1bc73
appc: remove remaining smartquotes in spec
2014-12-04 10:42:28 -08:00
Kelsey Hightower
396dbe88b4
Merge pull request #192 from virtualswede/master
...
readme: added information on how to generate the escape character
2014-12-04 00:45:39 -08:00
virtualswede
4a3aaefd78
readme: small changes to make the escape character generation look better
...
Changed it to proper code spans
2014-12-03 20:39:27 -05:00
Jonathan Boulle
7d79dc72ce
Merge pull request #206 from vsekhar/patch-1
...
appc/spec: fix table formatting
2014-12-03 17:09:28 -08:00
Vivek Sekhar
ece58036a2
Fix table formatting
2014-12-03 17:05:56 -08:00
Brandon Philips
3056514742
Merge pull request #204 from philips/remove-smart-quotes
...
app-container: remove smart quotes
2014-12-03 16:55:37 -08:00
Brandon Philips
9f4d3877ef
app-container: remove smart quotes
...
Thanks to Eric who reported this to me over email.
2014-12-03 16:51:10 -08:00
Jonathan Boulle
4239f05c3c
Merge pull request #203 from jonboulle/travis
...
readme: add travis badge
2014-12-03 16:27:50 -08:00
Jonathan Boulle
d0851219c5
readme: add travis badge
2014-12-03 16:27:25 -08:00
Jonathan Boulle
60aaa81cdd
Merge pull request #178 from mboersma/travis-ci
...
tests: add travis-ci config and test script
2014-12-03 16:25:06 -08:00
Jonathan Boulle
1e5c18da59
Merge pull request #189 from sgotti/fixtar
...
pkg/tar: fix creation of HardLinks.
2014-12-03 16:18:06 -08:00
Matt Boersma
b8e507e25d
tests: add travis-ci config and test script
2014-12-04 00:13:02 +00:00
Jonathan Boulle
4507f59380
Merge pull request #197 from jonboulle/err
...
stage0: clear up rootfs unpacking error propagation
2014-12-03 12:58:49 -08:00
Jonathan Boulle
daad22aeac
stage0: support uncompressed (tar) rootfs images
2014-12-03 12:58:06 -08:00
Jonathan Boulle
217141d503
stage0: clear up rootfs unpacking error propagation
2014-12-03 12:57:50 -08:00