patch compiler warnings
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2020-01-19 00:34:37 +01:00
parent eb0ccbcc3c
commit 753e8baf06
3 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,7 @@ local PipelineBuild(arch='amd64') = {
'mkdir -p source/',
'rustup set profile minimal',
'curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1',
"grep -rlI 'Box<Error>' source/src/ | xargs sed -i 's/Box<Error>/Box<dyn Error>/g'",
'cd source/ && cargo build -j 8 --release',
],
},

View File

@ -14,6 +14,7 @@ steps:
- mkdir -p source/
- rustup set profile minimal
- curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1
- grep -rlI 'Box<Error>' source/src/ | xargs sed -i 's/Box<Error>/Box<dyn Error>/g'
- cd source/ && cargo build -j 8 --release
environment:
DB: postgresql
@ -130,6 +131,6 @@ depends_on:
---
kind: signature
hmac: 7da99dc8ade2501f8b66e1643bf31cf9c74400a9f02f743b8ecfb74521fb02d9
hmac: 3c6e41044e4eb72de9b2f0dc5773074e5fc64ed979c06fc13b2287d1f1b7cb15
...

View File

@ -15,6 +15,7 @@ RUN addgroup -g 101 -S app && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
mkdir -p /app && \
chown -R app:app /app
ADD overlay/ /