debug
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2020-02-07 23:18:52 +01:00
parent 5cc595e2cd
commit c0f34c140b
2 changed files with 7 additions and 5 deletions

View File

@ -17,11 +17,12 @@ local PipelineBuild(arch='amd64') = {
'TZ': 'UTC',
},
commands: [
'[ -z "${DRONE_TAG}" ] && BITWARDEN_VERSION=1.13.1 || BITWARDEN_VERSION=${DRONE_TAG##v}',
'[ -z "${DRONE_TAG}" ] && BITWARDEN_VERSION=1.13.1 || BITWARDEN_VERSION="${DRONE_TAG##v}"',
'mkdir -p source/',
'apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev ',
'rustup set profile minimal',
'curl -sSL "https://github.com/dani-garcia/bitwarden_rs/archive/${BITWARDEN_VERSION%-*}.tar.gz" | tar xz -C source/ --strip-components=1',
'echo "${BITWARDEN_VERSION%-*}".tar.gz',
'curl -sSL https://github.com/dani-garcia/bitwarden_rs/archive/"${BITWARDEN_VERSION%-*}".tar.gz | tar xz -C source/ --strip-components=1',
'cd source/ && cargo build -j 8 --features $DB --release',
],
},

View File

@ -10,11 +10,12 @@ steps:
- name: binary
image: clux/muslrust:nightly-2019-12-19
commands:
- "[ -z \"${DRONE_TAG}\" ] && BITWARDEN_VERSION=1.13.1 || BITWARDEN_VERSION=${DRONE_TAG##v}"
- "[ -z \"${DRONE_TAG}\" ] && BITWARDEN_VERSION=1.13.1 || BITWARDEN_VERSION=\"${DRONE_TAG##v}\""
- mkdir -p source/
- "apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev "
- rustup set profile minimal
- curl -sSL "https://github.com/dani-garcia/bitwarden_rs/archive/${BITWARDEN_VERSION%-*}.tar.gz" | tar xz -C source/ --strip-components=1
- echo "${BITWARDEN_VERSION%-*}".tar.gz
- curl -sSL https://github.com/dani-garcia/bitwarden_rs/archive/"${BITWARDEN_VERSION%-*}".tar.gz | tar xz -C source/ --strip-components=1
- cd source/ && cargo build -j 8 --features $DB --release
environment:
DB: postgresql
@ -129,6 +130,6 @@ depends_on:
---
kind: signature
hmac: 925963dd226c05ec738e93cacc279c36dc46f497b23fa97c5968552d96702b35
hmac: fd327703fea3606dffd72ca8dd7cc0639ea43f04773db41489f6b256331cae5f
...