Comment out snapcraft stuff

It's failing the release pipeline and we do not use it currently.
This commit is contained in:
Dawid Dziurla 2019-11-11 12:36:04 +01:00
parent 221f2b2490
commit 945ad95bae
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B
2 changed files with 72 additions and 72 deletions

View file

@ -60,20 +60,20 @@ jobs:
- image: circleci/golang:1.12 - image: circleci/golang:1.12
steps: steps:
- checkout - checkout
- run: #- run:
name: Install snapcraft # name: Install snapcraft
command: | # command: |
./.circleci/install_snapcraft.sh # ./.circleci/install_snapcraft.sh
- run: #- run:
name: Login to snapcraft # name: Login to snapcraft
# if you ever lose this, you can recreate it via # # if you ever lose this, you can recreate it via
# `snapcraft export-login snapcraft.login && base64 snapcraft.login` and then chuck that # # `snapcraft export-login snapcraft.login && base64 snapcraft.login` and then chuck that
# in circle ci as the SNAPCRAFT_LOGIN_FILE env variable # # in circle ci as the SNAPCRAFT_LOGIN_FILE env variable
# You'll need your ubuntu one password # # You'll need your ubuntu one password
command: | # command: |
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login # echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
snapcraft login --with snapcraft.login # snapcraft login --with snapcraft.login
rm snapcraft.login # rm snapcraft.login
- run: - run:
name: Run gorelease name: Run gorelease
command: | command: |

View file

@ -73,61 +73,61 @@ brews:
# Default is empty. # Default is empty.
description: 'A simple terminal UI for docker, written in Go' description: 'A simple terminal UI for docker, written in Go'
snapcrafts: #snapcrafts:
- builds: # - builds:
- snap # - snap
#
replacements: # replacements:
linux: Linux # linux: Linux
386: x86 # 386: x86
amd64: x86_64 # amd64: x86_64
#
# Wether to publish the snap to the snapcraft store. # # Wether to publish the snap to the snapcraft store.
# Remember you need to `snapcraft login` first. # # Remember you need to `snapcraft login` first.
# Defaults to false. # # Defaults to false.
publish: false # publish: false
#
# Single-line elevator pitch for your amazing snap. # # Single-line elevator pitch for your amazing snap.
# 79 char long at most. # # 79 char long at most.
summary: The lazier way to manage everything docker # summary: The lazier way to manage everything docker
#
# This the description of your snap. You have a paragraph or two to tell the # # This the description of your snap. You have a paragraph or two to tell the
# most important story about your snap. Keep it under 100 words though, # # most important story about your snap. Keep it under 100 words though,
# we live in tweetspace and your description wants to look good in the snap # # we live in tweetspace and your description wants to look good in the snap
# store. # # store.
description: 'A simple terminal UI for docker, written in Go' # description: 'A simple terminal UI for docker, written in Go'
#
# A guardrail to prevent you from releasing a snap to all your users before # # A guardrail to prevent you from releasing a snap to all your users before
# it is ready. # # it is ready.
# `devel` will let you release only to the `edge` and `beta` channels in the # # `devel` will let you release only to the `edge` and `beta` channels in the
# store. `stable` will let you release also to the `candidate` and `stable` # # store. `stable` will let you release also to the `candidate` and `stable`
# channels. More info about channels here: # # channels. More info about channels here:
# https://snapcraft.io/docs/reference/channels # # https://snapcraft.io/docs/reference/channels
# TODO: reset to `stable` when we've been manually reviewed: https://forum.snapcraft.io/t/request-for-classic-confinement-for-lazydocker/12155 # # TODO: reset to `stable` when we've been manually reviewed: https://forum.snapcraft.io/t/request-for-classic-confinement-for-lazydocker/12155
grade: devel # grade: devel
#
# Snaps can be setup to follow three different confinement policies: # # Snaps can be setup to follow three different confinement policies:
# `strict`, `devmode` and `classic`. A strict confinement where the snap # # `strict`, `devmode` and `classic`. A strict confinement where the snap
# can only read and write in its own namespace is recommended. Extra # # can only read and write in its own namespace is recommended. Extra
# permissions for strict snaps can be declared as `plugs` for the app, which # # permissions for strict snaps can be declared as `plugs` for the app, which
# are explained later. More info about confinement here: # # are explained later. More info about confinement here:
# https://snapcraft.io/docs/reference/confinement # # https://snapcraft.io/docs/reference/confinement
confinement: classic # confinement: classic
#
# Your app's license, based on SPDX license expressions: https://spdx.org/licenses # # Your app's license, based on SPDX license expressions: https://spdx.org/licenses
# Default is empty. # # Default is empty.
license: MIT # license: MIT
#
# # Each binary built by GoReleaser is an app inside the snap. In this section # # # Each binary built by GoReleaser is an app inside the snap. In this section
# # you can declare extra details for those binaries. It is optional. # # # you can declare extra details for those binaries. It is optional.
# apps: # # apps:
#
# # The name of the app must be the same name as the binary built or the snapcraft name. # # # The name of the app must be the same name as the binary built or the snapcraft name.
# lazydocker: # # lazydocker:
#
# # If your app requires extra permissions to work outside of its default # # # If your app requires extra permissions to work outside of its default
# # confined space, declare them here. # # # confined space, declare them here.
# # You can read the documentation about the available plugs and the # # # You can read the documentation about the available plugs and the
# # things they allow: # # # things they allow:
# # https://snapcraft.io/docs/reference/interfaces. # # # https://snapcraft.io/docs/reference/interfaces.
# plugs: [] # # plugs: []