Commit Graph

5075 Commits

Author SHA1 Message Date
Stephen Demos
92b9434883
Merge pull request #824 from sdemos/update-percent
transfer.sh: changes to updateservicectl usage for roller rollout strategies
2018-06-21 13:39:46 -07:00
Stephen Demos
495d335ed4
transfer.sh: new ready/roll command series
the ready command prepares the specified groups for the rollout - it
sets the channel to the new version and updates the update percent to
0%. this allows machines to force update, but updates don't get rolled
out automatically.

the roll command configures the rollout strategy. right now it creates a
linear rollout, going from 0% to 100% in the given number of hours for
each group. it uses the default frame size of 60 seconds (it sets it to
be explicit).
2018-06-20 14:34:13 -07:00
Stephen Demos
32f3d4165b
transfer.sh: use new group percent subcommand
updateservicectl removed the update-percent flag from group update to
force users to use the new api. update percents are now modified using
the group percent command.
2018-06-19 13:45:47 -07:00
Andrew Jeddeloh
f89ed6f143
Merge pull request #820 from ajeddeloh/remove-dead-code
Remove dead code
2018-06-11 14:42:53 -07:00
Andrew Jeddeloh
96a79a7678 jenkins/*: switch enter to --bind-gpg-agent=false
--experimental is deprecated.
2018-06-11 13:19:47 -07:00
Andrew Jeddeloh
118b26d305 sdk_lib: drop obsolete enter/make_chroot 2018-06-08 10:58:29 -07:00
Andrew Jeddeloh
a27b02bcb6 *: use cros_workon not cros_list_modified_pkgs
This removes a dependency on chromite
2018-05-30 13:07:58 -07:00
Andrew Jeddeloh
935466b68d *: remove restart_in_chroot_if_needed
Replace calls to restart_in_chroot_if_needed with assert_inside_chroot.
This removes a dependency on chromite.
2018-05-30 13:07:58 -07:00
Andrew Jeddeloh
60d6b80053 common.sh: remove dead choose function 2018-05-30 13:07:58 -07:00
Benjamin Gilbert
1bd0c0cd94
Merge pull request #817 from bgilbert/vmware
build_library: update VMware virtual hardware version to 11
2018-05-29 14:42:13 -04:00
Benjamin Gilbert
25fffe839d build_library: update VMware virtual hardware version to 11
This will run on ESXi 6.0 and above, and all non-EOL versions of Fusion
and Workstation.

Also enable a few useful VMX features (HPET; CPU and memory hotplug) that
are added by VMware Workstation 14.1.1's Change Hardware Compatibility
wizard. Correspondingly, enable CPU/memory hotplug in the OVF; omit
HPET because there's no obvious way to enable it.
2018-05-18 16:23:32 -04:00
David Michael
491e144966
Merge pull request #816 from dm0-/docker
Upgrade Docker to 18.05
2018-05-17 19:52:10 -04:00
David Michael
5df8231d67 build_torcx_store: Bump the default Docker to 18.05 2018-05-17 18:21:42 -04:00
Benjamin Gilbert
e9d1fd1d10
Merge pull request #815 from bgilbert/unrestricted
build_library: add --unrestricted to default GRUB menuentry
2018-05-17 17:37:21 -04:00
Benjamin Gilbert
819c0803dd build_library: add --unrestricted to default GRUB menuentry
This allows booting the default entry even if GRUB authentication is
configured in /usr/share/oem/grub.cfg.
2018-05-17 16:57:22 -04:00
Benjamin Gilbert
68af9b0306
Merge pull request #813 from bgilbert/qemu
build_library: attach virtio-rng-pci; avoid obsolete QEMU syntax
2018-05-15 18:36:12 -04:00
Benjamin Gilbert
1717709dbf build_library: avoid obsolete QEMU -net syntax
It's been deprecated since QEMU 0.12. Fixes warning on QEMU startup:

    qemu-system-x86_64: -net nic,vlan=0,model=virtio: 'vlan' is deprecated. Please use 'netdev' instead.
2018-05-15 17:33:27 -04:00
Benjamin Gilbert
72bd0b175b build_library: attach virtio-rng-pci device to QEMU VMs
Pass /dev/urandom through to QEMU VMs. (Not /dev/random, to avoid
draining the host's entropy.) This speeds initialization of VM entropy.
2018-05-15 17:22:24 -04:00
Stephen Demos
72780d8347
Merge pull request #810 from sdemos/updateservicectl
transfer.sh: use update-percent in updateservicectl calls
2018-05-01 14:09:43 -07:00
Benjamin Gilbert
4ad12621ca
Merge pull request #811 from bgilbert/oci
build_library: drop oracle_oci_qcow image format
2018-04-25 23:32:05 -04:00
Benjamin Gilbert
e752c40b90 oem/oracle: drop utility scripts 2018-04-25 22:44:20 -04:00
Benjamin Gilbert
0e83301d8c build_library: drop oracle_oci_qcow image format
Images have been published to the release buckets, but never to OCI.
2018-04-25 22:40:29 -04:00
Andrew Jeddeloh
9fb032deaf
Merge pull request #769 from ajeddeloh/out-of-date
Check_out_of_date: add script
2018-04-24 11:48:06 -07:00
Stephen Demos
fd4fce0e7b
transfer.sh: use update-percent in updateservicectl calls 2018-04-23 15:27:15 -07:00
David Michael
bca1b0caa9
Merge pull request #807 from dm0-/glsa
build_library: Whitelist the new Go 1.10 GLSA
2018-04-16 14:09:08 -04:00
David Michael
a9f4311f86 build_library: Whitelist the new Go 1.10 GLSA
This is the same story as the others: our images will fail the GLSA
checks as long as we build old Go versions.  However, this one will
fail for any version less than 1.10.1 now.
2018-04-16 13:21:21 -04:00
Benjamin Gilbert
2ea6fc0e02
Merge pull request #806 from bgilbert/fat32
Revert "Revert "disk_util: use FAT32 on ESP""
2018-04-13 13:17:47 -04:00
Benjamin Gilbert
fdf8cc2cda Revert "Revert "disk_util: use FAT32 on ESP""
FAT32 seemed to aggravate https://github.com/coreos/bugs/issues/2284, but
now that that issue has been addressed, we can return to the correct
filesystem type.

This reverts commit 299f8fb3d1.
2018-04-12 17:00:28 -04:00
David Michael
7c3e545769
Merge pull request #805 from dm0-/docker
build_torcx_store: Bump the default to 18.04 and LTS to 18.03
2018-04-12 11:52:17 -04:00
David Michael
ea20b0d859 build_torcx_store: Bump the default to 18.04 and LTS to 18.03 2018-04-11 08:17:51 -04:00
David Michael
31e5eb34b8
Merge pull request #789 from dm0-/glibc
enter_chroot: Drop special locale-gen handling
2018-04-11 00:06:37 -04:00
David Michael
d2f2e11225 update_chroot: Allow upgrading glibc 2018-04-06 18:30:38 -04:00
David Michael
45ef8cea91 enter_chroot: Drop special locale-gen handling
The glibc ebuild runs locale-gen itself while installing.
2018-04-04 12:53:20 -04:00
David Michael
24b8644bc1
Merge pull request #801 from dm0-/docker
build_torcx_store: Bump the default Docker version to 18.03
2018-03-23 17:33:00 -04:00
David Michael
352b6cc54d build_torcx_store: Bump the default Docker version to 18.03 2018-03-23 08:10:59 -04:00
Benjamin Gilbert
9665a5e6fb
Merge pull request #799 from dongsupark/dongsu/fix-qemu-template
Fix a bug when setting VM_CDROM in qemu template
2018-03-12 17:01:05 -04:00
Dongsu Park
52214f533b build_library: fix a bug when setting a CDROM image
Setting `$VM_CDROM` in the qemu script does not work as expected when
installing Container Linux from the given bootable CDROM image. That's
probably because qemu-system-x86_64 expects another boot option `-boot
order=d` to be able to boot from the given CDROM drive. Let's specify
specify a `-boot` as well as `-drive` option for the given CDROM drive.
2018-03-12 21:38:42 +01:00
David Michael
3d121608d2
Merge pull request #798 from dm0-/glsa
build_library: Whitelist the new Go 1.9 GLSA
2018-03-07 19:43:01 -05:00
David Michael
3383790d28 build_library: Whitelist the new Go 1.9 GLSA
This is the same case as the previous one.  Our Go 1.8 package has
the fix, but none of the older unsupported versions do.  Since we
have multiple installed versions and this says anything less than
Go 1.9 is vulnerable, we have to whitelist it until all older
versions of Go are removed from the OS.
2018-03-07 18:54:15 -05:00
Andrew Jeddeloh
28e81cab37 *: add script to check for duplicate pkgs
Add a script to check for packages defined in both coreos-overlay and
portage-stable.
2018-03-07 14:25:45 -08:00
Andrew Jeddeloh
8cd71da123 check_out_of_date: add script
Add a script to check where portage-stable or an image package list is
out of date with regards to gentoo upstream.
2018-03-07 14:23:30 -08:00
David Michael
51dc749038
Merge pull request #795 from dm0-/ccache
catalyst: Disable ccache
2018-03-06 13:20:01 -05:00
David Michael
09e3c49811 catalyst: Disable ccache
It provides no value when it works, and it's randomly causing
failures to build toolchains due to permissions problems after
certain releases.  This also requires taking it out of FEATURES in
the portage profile (which is the SDK profile by default).

Test Jenkins runs of SDK and toolchains jobs both ran in the same
time as with ccache enabled.
2018-03-05 17:58:25 -05:00
David Michael
575f7cdf63
Merge pull request #791 from dm0-/gcc
update_chroot: Drop obsolete GCC versions, older than 7.3.0
2018-02-11 10:44:05 -05:00
David Michael
2880de9a89 update_chroot: Drop obsolete GCC versions, older than 7.3.0 2018-02-08 20:45:57 -05:00
David Michael
72bef6c986
Merge pull request #790 from dm0-/docker
build_torcx_store: Upgrade the default Docker to 18.02
2018-02-08 17:44:10 -05:00
David Michael
025b776017 build_torcx_store: Upgrade the default Docker to 18.02 2018-02-08 13:00:39 -05:00
Benjamin Gilbert
e0b2e7e043
Merge pull request #788 from bgilbert/patch-1
tag_release: fix version validation when bumping patch on branch
2018-02-03 10:34:08 -08:00
Benjamin Gilbert
7751296fda tag_release: fix version validation when bumping patch on branch
1632.2.0 -> 1632.2.1 was being rejected.
2018-02-03 01:56:14 -08:00
Benjamin Gilbert
9c6af18cfb
Merge pull request #786 from bgilbert/codename
set_lsb_release: update codename
2018-01-31 13:45:43 -08:00