This commit is contained in:
parent
eb0ccbcc3c
commit
753e8baf06
@ -21,6 +21,7 @@ local PipelineBuild(arch='amd64') = {
|
|||||||
'mkdir -p source/',
|
'mkdir -p source/',
|
||||||
'rustup set profile minimal',
|
'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',
|
'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',
|
'cd source/ && cargo build -j 8 --release',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -14,6 +14,7 @@ steps:
|
|||||||
- mkdir -p source/
|
- mkdir -p source/
|
||||||
- rustup set profile minimal
|
- 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
|
- 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
|
- cd source/ && cargo build -j 8 --release
|
||||||
environment:
|
environment:
|
||||||
DB: postgresql
|
DB: postgresql
|
||||||
@ -130,6 +131,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 7da99dc8ade2501f8b66e1643bf31cf9c74400a9f02f743b8ecfb74521fb02d9
|
hmac: 3c6e41044e4eb72de9b2f0dc5773074e5fc64ed979c06fc13b2287d1f1b7cb15
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -15,6 +15,7 @@ RUN addgroup -g 101 -S app && \
|
|||||||
apk del .build-deps && \
|
apk del .build-deps && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
rm -rf /tmp/* && \
|
rm -rf /tmp/* && \
|
||||||
|
mkdir -p /app && \
|
||||||
chown -R app:app /app
|
chown -R app:app /app
|
||||||
|
|
||||||
ADD overlay/ /
|
ADD overlay/ /
|
||||||
|
Reference in New Issue
Block a user