apt repo broken on Xenial

Description

Xenial by default rejects our repo due to non-UTC timestamp on our repo. (similar to https://groups.google.com/forum/#!topic/foreman-users/F2Fvy6YPNkw)

Issue is fixed in a forked version of freight: https://github.com/freight-team/freight/releases

Release Notes

None

Activity

Show:

Chris GianelloniFebruary 2, 2017 at 10:17 PM

The mentioned fix has been pushed to all of our build agents and I have verified the changes on bamboo-agent09's disk.

Chris GianelloniJanuary 30, 2017 at 9:21 PM

Here's what I'm applying:

@@ -28,6 +28,13 @@ node.default['bamboo']['agent_capabilities'][pkg] = true end +# Hack freight +execute 'sed freight timezone' do + # There's only one instance of the exact phrase JST + command 'sed -i -e "s/JST/UTC/" /usr/share/freight/apt.sh' + only_if 'grep JST /usr/share/freight/apt.sh' +end + # Setup JDKs arch = node['java']['arch'] %w(7 8).each do |version|

Chris GianelloniJanuary 27, 2017 at 10:56 PM

I downloaded each repo from 2.8 -> 4.0 and recreated them using UTC as the Valid-Until and sync'd them back. I'll update Chef to update the "apt.sh" shipped with freight to set the correct timezone.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Created January 27, 2017 at 1:07 AM
Updated February 2, 2017 at 10:17 PM
Resolved February 2, 2017 at 10:17 PM

Flag notifications