atom / ci

Build your Atom packages

Home Page:https://atom.io/packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dev channel builds failing on Travis CI

jasonrudolph opened this issue · comments

Description

When a package's build runs on Travis CI, and the build matrix includes the dev channel, Travis CI fails while installing Atom.

For example, the atom/ci README refers to atom/wrap-guide as an example of how to atom/ci is intended to be used. But when Travis CI attempts to run CI for atom/wrap-guide, it fails while trying to install the Atom dev release:

dpkg-deb: error: archive 'atom-amd64.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up

We first observed this issue in the Teletype nightly build, but it appears to affect any Atom package that attempts to run CI against the Atom dev channel release. For example, we can see the same failure in atom/wrap-guide's build: https://travis-ci.org/atom/wrap-guide/jobs/551945689#L509

At the moment, my best guess is that this issue is somehow related to the recent changes in atom/atom#19597, in which the dev channel build of atom/atom is now served from Azure Pipelines instead of Travis CI. Teletype's nightly builds were fine prior to when atom/atom#19597 was merged, and they started failing after atom/atom#19597 was merged. This seems unlikely to be just a coincidence. 🤔

Screen Shot 2019-06-28 at 4 49 45 PM

My plan is to upgrade to Ubuntu 16 on all of our package builds.

Okay, I've audited all of our packages. Most of them don't build on Linux or are bundled. I upgraded the few that build on Linux to Xenial to avoid any issues on the next release, because that will cause artifacts from Azure Pipelines to be on the stable channel for the first time. We should be good to go.