Prepare deploy

This commit is contained in:
Adrien Ferrand 2020-04-26 21:52:06 +02:00
parent 0b3a27049b
commit 168fb7a6ea
4 changed files with 29 additions and 1 deletions

View file

@ -19,4 +19,7 @@ stages:
- template: templates/standard-tests-jobs.yml
- template: templates/extended-tests-jobs.yml
- template: templates/packaging-jobs.yml
- stage: Deploy
jobs:
- template: templates/deploy-jobs.yml
- template: templates/notify-failure-steps.yml

View file

@ -14,4 +14,7 @@ stage:
- template: templates/extended-tests-jobs.yml
- template: templates/packaging-jobs.yml
- template: templates/changelog-jobs.yml
- stage: Deploy
jobs:
- template: templates/deploy-jobs.yml
- template: templates/notify-failure-steps.yml

View file

@ -0,0 +1,22 @@
jobs:
- job: publish_snap
pool:
vmImage: ubuntu-18.04
steps:
- bash: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends snap
sudo snap install --classic snapcraft
displayName: Install dependencies
- bash: |
mkdir .snapcraft
echo $(SNAPCRAFT_LOGIN_FILE) | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
displayName: Prepare login to Snap store
- task: DownloadPipelineArtifact@2
inputs:
artifact: snap
path: $(Build.SourcesDirectory)/snap
displayName: Retrieve Certbot snap
- bash: |
snapcraft push --release=edge snap/*.snap
displayName: Publish to Snap store

View file

@ -1,4 +1,4 @@
name: certbot
name: adferrand-certbot
summary: Automatically configure HTTPS using Let's Encrypt
description: |
The objective of Certbot, Let's Encrypt, and the ACME (Automated