Support CircleCI for building

Bug #1693451 reported by Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„ on 2017-05-25
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snapcraft
Medium
Unassigned

Bug Description

CircleCI is an awesome alternative to travis for CI. https://circleci.com

Using a simple .circleci/config.yml (below) you can have circleci use an Ubuntu 16.04 image to build using snapcraft, however we don't currently have support for adding the store credentials in the same way we do for travis.

CircleCi supports using encrypted credentials. I documented how I got that working at https://forum.snapcraft.io/t/building-pushing-snaps-using-circleci

https://github.com/circleci/encrypted-files

version: 2
jobs:
  build:
    working_directory: ~/emoji
    machine: true
    steps:
     - checkout
     - run:
         command: |
           sudo apt update
           sudo apt install -y snapd
           sudo snap install snapcraft --edge --classic
           /snap/bin/snapcraft
     - deploy:
         name: Push Master to Snap Store
         command: |
           openssl aes-256-cbc -d -in .snapcraft/snapcraft.encrypted -out .snapcraft/snapcraft.cfg -k $KEY
           /snap/bin/snapcraft push *.snap

Leo Arias (elopio) on 2017-05-25
Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
Leo Arias (elopio) on 2017-05-25
tags: added: integrations
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers