taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 1d2775a2f8086764ab896c787363d1f9d02562bf
parent 2e265979fef85a4d23bf1a8d01a2b5328af54803
Author: Devan Carpenter <devan@taler.net>
Date:   Thu, 16 Jan 2025 17:21:21 +0000

aptly: add init script

Diffstat:
Aaptly/aptly-init.sh | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/aptly/aptly-init.sh b/aptly/aptly-init.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -exou pipefail + +REPOROOT="${HOME}"/.aptly/public +PUBLISHPATH="${HOME}"/public_nightly_repo +DATESTAMP=$(date -Iseconds) +SIGNING_KEY=79435E7226F4BD5332D657AC61BB851C184F44CF +mkdir -p "${HOME}"/incoming/bookworm-taler-ci +aptly repo create -distribution=bookworm -component=main taler-ci-snapshots +aptly repo add taler-ci-snapshots /home/aptbuilder/incoming/bookworm-taler-ci || true +aptly snapshot create "taler-${DATESTAMP}" from repo taler-ci-snapshots +aptly -gpg-provider="gpg2" publish -architectures="amd64,arm64" -gpg-key="${SIGNING_KEY}" snapshot "taler-${DATESTAMP}" +aptly -gpg-provider="gpg2" publish -architectures="amd64,arm64" switch bookworm "taler-${DATESTAMP}" + +# Publish a list of all packages in the repo +aptly repo show -with-packages taler-ci-snapshots > "${REPOROOT}"/packages.txt