mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Merge branch 'core20' into travis-test-bmw-core20
This commit is contained in:
commit
4e9ab57efd
2 changed files with 5 additions and 19 deletions
|
|
@ -13,7 +13,8 @@ sudo usermod -aG lxd "$USER"
|
|||
sudo /snap/bin/lxd.migrate -yes
|
||||
sudo /snap/bin/lxd waitready
|
||||
sudo /snap/bin/lxd init --auto
|
||||
tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt > snap-constraints.txt
|
||||
tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt \
|
||||
| grep -v python-augeas > snap-constraints.txt
|
||||
# Run snapcraft with the lxd group since it has not been added to the current
|
||||
# shell.
|
||||
sg lxd -c 'snapcraft --use-lxd'
|
||||
|
|
|
|||
|
|
@ -37,26 +37,12 @@ apps:
|
|||
|
||||
|
||||
parts:
|
||||
python-augeas:
|
||||
plugin: python
|
||||
source: git://github.com/basak/python-augeas
|
||||
source-branch: snap
|
||||
build-packages: [libaugeas-dev]
|
||||
python-packages:
|
||||
- wheel
|
||||
stage:
|
||||
- -pyvenv.cfg
|
||||
- -**/__pycache__
|
||||
- -bin
|
||||
- -**/RECORD
|
||||
- -**/wheel
|
||||
- -lib64
|
||||
certbot:
|
||||
plugin: python
|
||||
source: .
|
||||
constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt]
|
||||
python-packages:
|
||||
- wheel
|
||||
- git+https://github.com/basak/python-augeas.git@snap
|
||||
- ./acme
|
||||
- ./certbot
|
||||
- ./certbot-apache
|
||||
|
|
@ -64,7 +50,7 @@ parts:
|
|||
stage:
|
||||
- -usr/lib/python3.8/sitecustomize.py # maybe unnecessary
|
||||
# Prefer cffi
|
||||
- -lib/python3.8/site-packages/augeas.py # maybe unnecessary
|
||||
- -lib/python3.8/site-packages/augeas.py
|
||||
stage-packages:
|
||||
- libaugeas0
|
||||
# added to stage python:
|
||||
|
|
@ -80,11 +66,10 @@ parts:
|
|||
- python3-pkg-resources
|
||||
- python3.8-minimal
|
||||
# To build cryptography and cffi if needed
|
||||
build-packages: [libffi-dev, libssl-dev, git]
|
||||
build-packages: [libffi-dev, libssl-dev, git, libaugeas-dev]
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC/certbot && git describe|sed s/^v//`
|
||||
after: [python-augeas]
|
||||
|
||||
wrappers:
|
||||
plugin: dump
|
||||
|
|
|
|||
Loading…
Reference in a new issue