Skip to content

Commit 9573328

Browse files
dependabot[bot]pedrobaeza
authored andcommitted
build(deps): bump duplicity from 1.2.3 to 2.1.1
Bumps [duplicity](https://github.com/librsync/librsync) from 1.2.3 to 2.1.1. - [Release notes](https://github.com/librsync/librsync/releases) - [Changelog](https://github.com/librsync/librsync/blob/master/NEWS.md) - [Commits](https://github.com/librsync/librsync/commits) --- updated-dependencies: - dependency-name: duplicity dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent cd0063d commit 9573328

File tree

4 files changed

+53
-25
lines changed

4 files changed

+53
-25
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ env:
2727

2828
jobs:
2929
build-test:
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-22.04
3131
strategy:
3232
matrix:
3333
python:
34-
- 3.9
34+
- "3.10"
3535
steps:
3636
# Prepare environment
3737
- uses: actions/checkout@v4
@@ -63,7 +63,7 @@ jobs:
6363
# Run tests
6464
- run: poetry run pytest --prebuild
6565
build-push:
66-
runs-on: ubuntu-20.04
66+
runs-on: ubuntu-22.04
6767
services:
6868
registry:
6969
image: registry:2

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim AS builder
1+
FROM python:3.10-slim AS builder
22

33
WORKDIR /app
44
ADD pyproject.toml poetry.lock ./
@@ -8,7 +8,7 @@ RUN pip install --no-cache-dir poetry
88
# Test comment
99
RUN poetry export --extras duplicity --output /app/requirements.txt
1010

11-
FROM python:3.11-alpine AS base
11+
FROM python:3.10-alpine AS base
1212

1313
ENV CRONTAB_15MIN='*/15 * * * *' \
1414
CRONTAB_HOURLY='0 * * * *' \
@@ -86,7 +86,7 @@ RUN chmod a+rx /usr/local/bin/* && sync
8686
FROM base AS s3
8787
ENV JOB_500_WHAT='dup full $SRC $DST' \
8888
JOB_500_WHEN='weekly' \
89-
OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-european-buckets --s3-multipart-chunk-size 10 --s3-use-new-style'
89+
OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-multipart-chunk-size 10'
9090

9191

9292
FROM base AS docker
@@ -96,7 +96,7 @@ RUN apk add --no-cache docker-cli
9696
FROM docker AS docker-s3
9797
ENV JOB_500_WHAT='dup full $SRC $DST' \
9898
JOB_500_WHEN='weekly' \
99-
OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-european-buckets --s3-multipart-chunk-size 10 --s3-use-new-style'
99+
OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-multipart-chunk-size 10'
100100

101101

102102
FROM base AS postgres
@@ -139,10 +139,10 @@ ENV JOB_200_WHEN='daily weekly' \
139139
FROM postgres AS postgres-s3
140140
ENV JOB_500_WHAT='dup full $SRC $DST' \
141141
JOB_500_WHEN='weekly' \
142-
OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-european-buckets --s3-multipart-chunk-size 10 --s3-use-new-style'
142+
OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-multipart-chunk-size 10'
143143

144144

145145
FROM postgres-s3 AS postgres-multi
146146
ENV DST='multi' \
147147
OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)-' \
148-
OPTIONS_EXTRA_S3='--s3-european-buckets --s3-multipart-chunk-size 10 --s3-use-new-style'
148+
OPTIONS_EXTRA_S3='--s3-multipart-chunk-size 10'

poetry.lock

Lines changed: 43 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PyDrive = {version = "^1.3.1", optional = true}
1818
PyDrive2 = {version = "^1.17.0", optional = true}
1919
python-swiftclient = {version = "^4.3.0", optional = true}
2020
requests-oauthlib = {version = "^1.3.1", optional = true}
21-
duplicity = {version = "^1.2.3", optional = true}
21+
duplicity = {version = "^2.1.1", optional = true}
2222
dropbox = {version = "^11.36.2", optional = true}
2323
python-keystoneclient = {version = "^5.2.0", optional = true}
2424
idna = {version = "3.4", optional = true}

0 commit comments

Comments
 (0)