Commit a657025a authored by Finn Herzfeld's avatar Finn Herzfeld 🌵

updates.signald.org gets it's own bucket

parent 206e12f6
Pipeline #2638 passed with stages
in 8 minutes and 57 seconds
......@@ -72,13 +72,13 @@ deb:publish:
- export SUITE=$(get-suite)
- export VERSION=$(./version.sh)
- mkdir -p public/dists/${SUITE}/
- mc cp -r -q "minio/${S3_BUCKET}/updates.signald.org/dists/${SUITE}/" public/ || true
- mc cp -r -q "minio/${S3_BUCKET}/dists/${SUITE}/" public/ || true
script:
- gpg --detach-sign signald_${VERSION}*.deb
- cd public
- release-deb ../ "${SIGNING_KEY}"
- gpg --export --armor "${SIGNING_KEY}" > apt-signing-key.asc
- for f in apt-signing-key.asc dists/${SUITE}/main/binary-amd64/signald_${VERSION}* $(find dists/ -type f | grep -v -E "\.deb$"); do mc cp -q "$f" "minio/${S3_BUCKET}/updates.signald.org/$f"; done
- for f in apt-signing-key.asc dists/${SUITE}/main/binary-amd64/signald_${VERSION}* $(find dists/ -type f | grep -v -E "\.deb$"); do mc cp -q "$f" "minio/${S3_BUCKET}/$f"; done
except:
- schedules
artifacts:
......@@ -96,7 +96,7 @@ deb:cleanup:
before_script:
- mc config host add minio "${S3_URL}" "${AWS_ACCESS_KEY_ID}" "${AWS_SECRET_ACCESS_KEY}"
script:
- repo-cron "minio/${S3_BUCKET}/updates.signald.org"
- repo-cron "minio/${S3_BUCKET}"
checkupdates:gradle:
stage: check for updates
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment