From 60fd083ea0c228af6125aa08c2110316adaeb65a Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 3 Sep 2021 21:31:12 +0200 Subject: [PATCH 1/2] Correct sha256 extension --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1b2da85b58..eb854abf2a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -385,10 +385,10 @@ steps: -cvjf ./build/$ARTIFACT - # calculate SHA256 checksum - cd ./build - - sha256sum "$ARTIFACT" > "$ARTIFACT.sha256" + - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256" - ls -lh - # output the sha256 sum for checking - - cat "$ARTIFACT.sha256" + - cat "$ARTIFACT.sum256" - sha256sum "$ARTIFACT" - name: Upload artifacts image: alpine @@ -484,10 +484,10 @@ steps: -cvjf ./build/$ARTIFACT - # calculate SHA256 checksum - cd ./build - - sha256sum "$ARTIFACT" > "$ARTIFACT.sha256" + - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256" - ls -lh - # output the sha256 sum for checking - - cat "$ARTIFACT.sha256" + - cat "$ARTIFACT.sum256" - sha256sum "$ARTIFACT" - name: Upload artifacts image: alpine From 8f0e951c1d0d5a597516cdb9767ff035db1c34fb Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 3 Sep 2021 21:31:47 +0200 Subject: [PATCH 2/2] Remove unnecessary addon checkout for deployment process --- .drone.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index eb854abf2a..43df677aa8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -343,12 +343,6 @@ node: node: releaser # This prevents executing this pipeline at other servers than drone.friendi.ca steps: - - name: Clone addon - image: alpine/git - commands: - - git clone https://github.com/friendica/friendica-addons ./addon - - cd ./addon - - git checkout $DRONE_REPO_BRANCH - name: Restore cache image: meltwater/drone-cache:dev settings: @@ -440,12 +434,6 @@ node: node: releaser # This prevents executing this pipeline at other servers than drone.friendi.ca steps: - - name: Clone addon - image: alpine/git - commands: - - git clone https://github.com/friendica/friendica-addons ./addon - - cd ./addon - - git checkout $DRONE_REPO_BRANCH - name: Restore cache image: meltwater/drone-cache:dev settings: