The enable-ci travis message includes an example that makes it too long and ugly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Currently, before making the changes in the .travis.yml file we are showing a long message with all the details of what will happen to the file. It includes an example of how the file could look after the command runs:
See the example below::
sudo: required
services:
- docker
after_success:
- openssl aes-256-cbc -K <travis-key> -iv <travis-iv>
-in .snapcraft/
-out .snapcraft/
deploy:
Provider: script
script: docker run -v $(pwd):$(pwd) -t ubuntu:xenial sh -c
"apt update -qq && apt install snapcraft -y && cd $(pwd) &&
on:
branch: master
From Gustavo:
"The example here feels a bit dirty [...]. We should simply state that it will be modified and why. Not how or with which content. We know for sure that this file is under revision control, and may be reviewed if desired, and the developer will also need to commit acknowledging the change explicitly before it's put in use."
To reproduce:
$ snapcraft enable-ci travis
A longer explanation on how to set this up from scratch in https:/
tags: | added: bitesize |
description: | updated |
tags: |
added: integrations removed: ci |
Changed in snapcraft: | |
status: | Confirmed → Won't Fix |
The URL is not working yet, but this is the expected one for the tutorial: https:/ /tutorials. ubuntu. com/tutorial/ continuous- delivery- from-travis- ci