Michael Marineau
b4252985f2
feat(build_image): Add upload support for official builds
2013-07-05 23:55:50 -04:00
Michael Marineau
34bbdc1996
fix(build_packages): Move gsutil code from build_packages to a library.
...
To avoid making the same gsutil changes in more scripts move the code to
a library file where some of the basic parts can be shared.
2013-07-05 23:54:23 -04:00
Michael Marineau
8af55de72c
fix(common.sh): Correctly report script name in tracebacks
...
Pretty simple typo.
2013-07-05 21:34:11 -04:00
polvi
1c0586ad10
Merge pull request #53 from philips/add-reboot-manager
...
feat(update_engine): add reboot manager experiment
2013-07-05 16:13:25 -07:00
Brandon Philips
4301a804c7
feat(update_engine): add reboot manager experiment
...
Eventually this will talk to the API and coordinate with the rest of the
host group but for now lets right a bash script and reboot in 60
seconds.
2013-07-05 16:08:54 -07:00
Michael Marineau
9deade7470
Merge pull request #22 from marineam/boto
...
fix(build_packages): Fix check for .boto, argument name was wrong.
2013-07-05 14:56:21 -07:00
Michael Marineau
4bcee421ad
fix(build_packages): Fix check for .boto, argument name was wrong.
2013-07-05 17:49:38 -04:00
Brandon Philips
2ca214d738
Merge pull request #21 from philips/building-of-production-coreos-images
...
Building of production coreos images
2013-07-05 14:13:52 -07:00
Brandon Philips
bf144a7eed
fix(coreos-au-key): copy the public key explicitly
...
The public key wasn't getting put in the right spot. Copy it explicitly
to fix.
2013-07-05 14:11:49 -07:00
Brandon Philips
05d70da37c
fix(image_to_vm.sh): forward fewer ports
...
we disabled systemd-rest for now so don't tell people to forward all of
those ports.
2013-07-05 14:08:14 -07:00
Michael Marineau
1193f7d12e
Merge pull request #52 from marineam/packages
...
fix(config): Use official release packages for targets.
2013-07-05 12:43:24 -07:00
Michael Marineau
0557445d0c
Merge pull request #51 from marineam/bindist
...
fix(profiles): Apply the bindist flag to both the SDK and targets
2013-07-05 12:43:00 -07:00
Brandon Philips
59bdc40710
Merge pull request #50 from philips/add-coreos-au-key-ebuild
...
feat(coreos-au-key): add an ebuild to put dev keys on image
2013-07-05 12:39:56 -07:00
Michael Marineau
c64903dda1
fix(config): Use official release packages for targets.
...
We now build target packages!
2013-07-05 15:32:11 -04:00
Michael Marineau
7af661170d
fix(profiles): Apply the bindist flag to both the SDK and targets
...
Previously only targets were being built with bindist but we should
build the SDK with it as well. This avoids the re-compile of openssl,
openssh, and freetype when creating a new chroot since the SDK tarballs
are already built with the bindist flag. Also turn the bindist flag back
on for freetype in the target profile, we don't need ClearType sub-pixel
rendering on our systems. :)
2013-07-05 15:17:32 -04:00
Brandon Philips
bfbfd9f4eb
chore(build_container): delete
...
This tool was a bit of a hack and isn't really used. Delete it.
2013-07-05 12:06:41 -07:00
Brandon Philips
a45c529549
feat(build*): add CoreOS production image building
...
This will create a CoreOS production image and support it with the tools
like image_to_vm.sh and build_image.
2013-07-05 12:06:40 -07:00
Brandon Philips
bf8ce573cd
feat(coreos-au-key): add an ebuild to put dev keys on image
...
This places a dev signing key on disk for testing purposes. As noted in
the ebuild a production key will replace this key when building official
images.
2013-07-05 11:52:38 -07:00
Brandon Philips
195d052495
fix(*): drop FACTORY images
...
we don't need factory image functionality. Drop it to simplify our
scripts and prepare for our "production" feature and flags.
2013-07-05 09:37:38 -07:00
Michael Marineau
b9b02855ca
Merge pull request #20 from marineam/target
...
Add ability to upload amd64-generic packages
2013-07-04 11:37:40 -07:00
Michael Marineau
d619e4f326
fix(bootstrap_sdk): Remove seedcache and snapcache features.
...
We aren't taking full advantage of seedcache and untarring things isn't
a big burden on us anyway so don't bother and hopefully avoid leaving
oodles of files behind.
2013-07-03 20:19:41 -04:00
Michael Marineau
6aaaf3b846
feat(build_packages): Add --upload option to build_packages
...
Defaults to upload for official builds and not otherwise.
2013-07-03 20:10:16 -04:00
Brandon Philips
c80fc74c9b
Merge pull request #49 from philips/restart-update-engine-on-failure
...
Restart update engine on failure
2013-07-03 15:15:57 -07:00
Brandon Philips
ce476ecc6c
feat(update_engine): restart a second after death
...
It is possible that update_engine will crash. Try to recover by
restarting the update_engine but wait some seconds first.
2013-07-03 15:12:30 -07:00
Brandon Philips
3efa5def15
chore(coreos-init): mv update-engine.service into update_engine ebuild
...
move the service file to the ebuild where it belongs.
2013-07-03 15:12:30 -07:00
Michael Marineau
01ca116975
Merge pull request #48 from marineam/updates
...
Updates and cleanups, use new release for binary packges
2013-07-03 13:56:15 -07:00
Brandon Philips
098b91013d
Merge pull request #19 from marineam/updates
...
fix(update_ebuilds): Switch default source to rsync mirrors.
2013-07-03 13:52:57 -07:00
Brandon Philips
03dacde642
Merge pull request #13 from marineam/updates
...
bump(app-portage/gentoolkit): sync with upstream
2013-07-03 13:52:35 -07:00
Michael Marineau
d344cf783d
fix(cros_sdk): Update default SDK tarball version.
...
Update to latest release. cros_sdk is still using this file instead of
version.txt in the manifest because it needs a tarball that already
exists when building a new version for the first time. At some point
that will work differently but for now we'll have to keep this file.
2013-07-03 16:11:01 -04:00
Michael Marineau
2c46f36489
fix(config): Update the SDK make.conf to refer to the current version.
...
This means that we will always get the correct set of binary packages
for our current manifest version.
2013-07-03 15:52:55 -04:00
Michael Marineau
a09f4ee92f
fix(config): Move USE_PYTHON into profiles.
...
Unlikely this is actually needed right now but it isn't hurting either.
Will remove it once we move to Python 2.7.
2013-07-03 15:37:15 -04:00
Michael Marineau
7018c2d527
fix(config): Remove make.conf options that duplicate profile defaults.
...
We were already using the default for CFLAGS, etc. LDFLAGS had
--as-needed but that has gone into the default Gentoo profile so we
ought to move it there as well. Also, ld's -O1 and -O2 are equivalent so
use the profile default -O1.
2013-07-03 15:20:16 -04:00
Brandon Philips
61b3560bec
Merge pull request #18 from philips/core_upload_update-signing
...
Core upload update signing
2013-07-03 12:20:15 -07:00
Brandon Philips
d85bf2432a
feat(core_upload_update): insert the public key
...
shove the public key into the image so it can be found by update_engine
2013-07-03 12:18:45 -07:00
Michael Marineau
3942402c91
bump(app-portage/gentoolkit): sync with upstream
2013-07-03 14:40:17 -04:00
Michael Marineau
734d446aae
fix(update_ebuilds): Switch default source to rsync mirrors.
...
Anonymous CVS is too unreliable (or I keep getting blocked, who knows)
so switch the default remote source to the Gentoo rsync mirrors which is
probably what I should have done in the first place. :)
2013-07-03 14:38:11 -04:00
Brandon Philips
61b3246614
Merge pull request #17 from marineam/version
...
fix(bootstrap_sdk): Default to uploading official builds.
2013-07-03 09:55:21 -07:00
Michael Marineau
e9ca88bc69
fix(bootstrap_sdk): Default to uploading official builds.
2013-07-03 12:24:09 -04:00
Michael Marineau
794f472faf
Merge pull request #16 from marineam/version
...
add(master_release): Add script for updating master's version.txt
2013-07-03 09:15:33 -07:00
Michael Marineau
5790b3e182
fix(*_release): Calculate TODAYS_VERSION in common.sh
2013-07-03 12:11:49 -04:00
Michael Marineau
1099dbe319
add(master_release): Add script for updating master's version.txt
...
This is intended to be called after branch_release and all official
builds from that new branch are complete. Then updating master's
version.txt will switch things to start using that new release as the
source for binary packages.
Complete documentation for this whole process coming soon. :)
2013-07-03 11:40:36 -04:00
Brandon Philips
3b9ff1ea62
fix(core_upload_update): use the base image
...
- Use variable for the image name
- add COREOS prefixed variables so we can start weaning ourself off of the
others.
2013-07-02 16:14:07 -07:00
Brandon Philips
ff7b7b064d
chore(core_upload_update): remove TODO
2013-07-02 14:12:32 -07:00
Brandon Philips
736d7aa3c0
Merge pull request #14 from philips/core_upload_update-use-script-framework
...
feat(core_upload_update): use flag parsing library
2013-07-02 13:52:31 -07:00
Brandon Philips
379ff9e053
feat(core_upload_update): use flag parsing library
...
convert to use the flag parsing library instead of lots of positional
args.
2013-07-02 13:43:40 -07:00
polvi
4353dd3793
Merge pull request #12 from philips/bump-iproute2
...
bump(sys-apps/iproute2): sync with upstream
2013-07-02 13:43:04 -07:00
Michael Marineau
3428565cf1
Merge pull request #47 from marineam/version
...
fix(coreos): Get version from manifest, export COREOS_ names
2013-07-02 13:41:51 -07:00
Brandon Philips
0062f008c2
bump(sys-apps/iproute2): sync with upstream
2013-07-02 13:39:22 -07:00
Michael Marineau
065eedf142
Merge pull request #15 from marineam/version
...
Version handling cleanup
2013-07-02 13:35:47 -07:00
Michael Marineau
2482291e7d
fix(scripts): Cleanup build version handling.
...
A few things here:
- Source manifests/version.txt directly instead of coreos-version.sh
- Remove Chrome branch from target image directory names.
- Use proper version instead of timestap for catalyst builds.
- Move lsb_release script from coreos-overlay to build_library.
2013-07-02 16:12:02 -04:00