commit 6c237ff1460e7f136c128f544c97f7605f8e6f88 parent c6062c9d71c4e1d5c04e76a307727f74ef5ef995 Author: Devan Carpenter <devan@taler.net> Date: Sat, 20 Jan 2024 10:13:45 -0500 ci: rename job to reflect package name Diffstat:
| D | contrib/ci/jobs/3-deb-package/job.sh | | | 36 | ------------------------------------ |
| A | contrib/ci/jobs/3-wallet-cli-deb-package/job.sh | | | 36 | ++++++++++++++++++++++++++++++++++++ |
| R | contrib/ci/jobs/3-deb-package/version.sh -> contrib/ci/jobs/3-wallet-cli-deb-package/version.sh | | | 0 |
3 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/contrib/ci/jobs/3-deb-package/job.sh b/contrib/ci/jobs/3-deb-package/job.sh @@ -1,36 +0,0 @@ -#!/bin/bash -set -exuo pipefail -# This file is in the public domain. -# Helper script to build the latest DEB packages in the container. - - -unset LD_LIBRARY_PATH - -# Run the bootstrap script in case it hasn't been done already at this point -./bootstrap - -# gbp wants the debian directory in the root of the git repo -# so we symlink in the debian directory for the package we want to create -rm -f ./debian # in case we already have a symlink there -ln -s packages/taler-wallet-cli/debian . - -# Change to our package directory -cd packages/taler-wallet-cli - -# Install build-time dependencies. -# Update apt cache first -apt-get update -apt-get upgrade -y -mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control - -export VERSION="$(../../contrib/ci/jobs/3-deb-package/version.sh)" -echo "Building package version ${VERSION}" - -EMAIL=none gbp dch --ignore-branch --debian-tag="%(version)s" --git-author --new-version="${VERSION}" -echo "Current PWD is $PWD" -./configure --prefix=$HOME/local/ -dpkg-buildpackage -rfakeroot -b -uc -us - -ls -alh ../*.deb -mkdir -p /artifacts/wallet-core/${CI_COMMIT_REF} # Variable comes from CI environment -mv ../*.deb /artifacts/wallet-core/${CI_COMMIT_REF}/ diff --git a/contrib/ci/jobs/3-wallet-cli-deb-package/job.sh b/contrib/ci/jobs/3-wallet-cli-deb-package/job.sh @@ -0,0 +1,36 @@ +#!/bin/bash +set -exuo pipefail +# This file is in the public domain. +# Helper script to build the latest DEB packages in the container. + + +unset LD_LIBRARY_PATH + +# Run the bootstrap script in case it hasn't been done already at this point +./bootstrap + +# gbp wants the debian directory in the root of the git repo +# so we symlink in the debian directory for the package we want to create +rm -f ./debian # in case we already have a symlink there +ln -s packages/taler-wallet-cli/debian . + +# Change to our package directory +cd packages/taler-wallet-cli + +# Install build-time dependencies. +# Update apt cache first +apt-get update +apt-get upgrade -y +mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control + +export VERSION="$(../../contrib/ci/jobs/3-wallet-cli-deb-package/version.sh)" +echo "Building package version ${VERSION}" + +EMAIL=none gbp dch --ignore-branch --debian-tag="%(version)s" --git-author --new-version="${VERSION}" +echo "Current PWD is $PWD" +./configure --prefix=$HOME/local/ +dpkg-buildpackage -rfakeroot -b -uc -us + +ls -alh ../*.deb +mkdir -p /artifacts/wallet-core/${CI_COMMIT_REF} # Variable comes from CI environment +mv ../*.deb /artifacts/wallet-core/${CI_COMMIT_REF}/ diff --git a/contrib/ci/jobs/3-deb-package/version.sh b/contrib/ci/jobs/3-wallet-cli-deb-package/version.sh