revert source patch
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-01-19 23:59:27 +01:00
parent 74028519df
commit 5196d24c99
3 changed files with 2 additions and 4 deletions

View File

@ -21,7 +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'", #"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',
], ],
}, },

View File

@ -14,7 +14,6 @@ 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
@ -135,6 +134,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 824a75171bdbd04a8fd94e0d3e5af270025f9be0b42e225db1c34cdbfe386ae8 hmac: 4b98515dcbf92917241f232a1d1ba369becbe53f8ad7b26c06dadc98c883a236
... ...

View File

@ -1,6 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
/usr/local/bin/gomplate -V -o /app/config.toml -f /etc/templates/config.toml.tmpl /usr/local/bin/gomplate -V -o /app/config.toml -f /etc/templates/config.toml.tmpl
/bin/cat /app/config.toml
exec env CONFIG_PATH=/app/config.toml /app/bitwarden_rs_ldap exec env CONFIG_PATH=/app/config.toml /app/bitwarden_rs_ldap