Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMPASS-542: Build installers for Ubuntu and Redhat #682

Merged
merged 2 commits into from Dec 13, 2016

Conversation

imlucas
Copy link
Contributor

@imlucas imlucas commented Dec 13, 2016

The hadron-build@3 release includes support for Linux, targeting Ubuntu 14.04+ and RHEL 6+. The release command now produces four assets for the Linux platform:

  • .rpm: Installer for Redhat
  • .deb: Installer for Ubuntu
  • .tar.gz: Convenience for easy automation in bash scripts
  • -linux-${arch}.zip: Convenience for easy automation

Get the code

cd ~/compass;
git checkout -t origin/COMPASS-542_build-ubuntu-and-redhat-installers;
npm install;

Build release assets for Linux

npm run release -- --platform=linux;

Most likely you're on a MacBook and you noticed the Your environment is not configured correctly warnings. Instead of dying hard because you haven't installed these requirements, we just skip over trying to execute against what's not there.

screenshot 2016-12-13 12 36 58

What's left to do?

For Compass Linux to launch, there are still a few integration and quality tasks to complete which are detailed below. I will convert these into backlog items. They have been added to the backlog.

COMPASS-543 App icons for Linux

COMPASS-544 Codesign all Linux release assets

The notary-service already has support for .zip, .tar.gz, .deb and .rpm. Write a js api client (see python reference implementation) so that the release command will produce codesigned artifacts as we do for all other platforms.

COMPASS-545 Evergreen integration for Linux installers

Already a ticket for ubuntu test failure, but some additional risk in missing packages, distro availability, etc.

COMPASS-547 User experience check for Redhat (@sam)

As a redhat user, I want to feel like the .rpm's are native to my experience so that I can trust the app I'm installing.

Download and install Compass on RHEL 7 and 6 x64 workstations:

  • Does it work?
  • Is the metadata included in the rpm correct? (e.g. correct homepage URL, copyright, etc.)
  • After installation, does it feel like an RHEL application? (e.g. has the right icon style, shows up in menus/desktop as one would expect?)

COMPASS-546 User experience check for Ubuntu (@pzrq)

As an Ubuntu user, I want to feel like the .deb's are native to my experience so that I can trust the app I'm installing.

synopsis generated from description (as our description is also <80 characters, though generally in the same style as a git commit, i.e. read until the \r\n\r\n or 79 characters, whichever comes first) would be nice here: https://www.debian.org/doc/debian-policy/ch-binary.html#s-synopsis. Have not looked at any other options though, hopefully lintian helps there.

-- @pzrq

Download and install Compass on Ubuntu 14.04 and 16.04 x64 workstations:

  • Does it work?
  • Is the metadata included in the deb correct? (e.g. correct homepage URL, copyright, etc.)
  • After installation, does it feel like an Ubuntu application? (e.g. has the right icon style, shows up in menus/desktop as one would expect?)

@durran
Copy link
Member

durran commented Dec 13, 2016

:shipit:

@imlucas imlucas merged commit 5b6b28e into master Dec 13, 2016
@imlucas imlucas deleted the COMPASS-542_build-ubuntu-and-redhat-installers branch December 13, 2016 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants