commit 50c3a72f06c2db325b3c6e671fc2d10fcca94751 parent 57ba45f77e09ef0d5215a71f83e9d6a167c30a91 Author: Antoine A <> Date: Wed, 19 Nov 2025 13:24:27 +0100 common: improve ci Diffstat:
| D | contrib/ci/jobs/3-deb/job.sh | | | 20 | -------------------- |
| A | contrib/ci/jobs/3-docs/job.sh | | | 9 | +++++++++ |
| A | contrib/ci/jobs/4-deb/job.sh | | | 20 | ++++++++++++++++++++ |
| R | contrib/ci/jobs/3-deb/test.sh -> contrib/ci/jobs/4-deb/test.sh | | | 0 | |
| R | contrib/ci/jobs/4-deploy/config.ini -> contrib/ci/jobs/5-deploy/config.ini | | | 0 | |
| R | contrib/ci/jobs/4-deploy/job.sh -> contrib/ci/jobs/5-deploy/job.sh | | | 0 |
6 files changed, 29 insertions(+), 20 deletions(-)
diff --git a/contrib/ci/jobs/3-deb/job.sh b/contrib/ci/jobs/3-deb/job.sh @@ -1,19 +0,0 @@ -#!/bin/bash -set -exuo pipefail - -# Update system -apt-get update -yq -apt-get upgrade -yq - -# Build package -export VERSION="$(./contrib/ci/version.sh)" -echo "Building package version ${VERSION}" -make deb - -# Test package -./contrib/ci/jobs/3-deb/test.sh - -# Move to artifact -ls -alh ../*.deb -mkdir -p /artifacts/magnet-bank/${CI_COMMIT_REF} # Variable comes from CI environment -mv ../*.deb /artifacts/magnet-bank/${CI_COMMIT_REF} -\ No newline at end of file diff --git a/contrib/ci/jobs/3-docs/job.sh b/contrib/ci/jobs/3-docs/job.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -exuo pipefail + +# Update system +apt-get update -yq +apt-get upgrade -yq + +# Build documentation +make doc diff --git a/contrib/ci/jobs/4-deb/job.sh b/contrib/ci/jobs/4-deb/job.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -exuo pipefail + +# Update system +apt-get update -yq +apt-get upgrade -yq + +# Build package +export VERSION="$(./contrib/ci/version.sh)" +echo "Building package version ${VERSION}" +make deb + +# Test package +./contrib/ci/jobs/4-deb/test.sh + +# Move to artifact +ls -alh ../*.deb +mkdir -p /artifacts/magnet-bank/${CI_COMMIT_REF} # Variable comes from CI environment +mv ../*.deb /artifacts/magnet-bank/${CI_COMMIT_REF} +\ No newline at end of file diff --git a/contrib/ci/jobs/3-deb/test.sh b/contrib/ci/jobs/4-deb/test.sh diff --git a/contrib/ci/jobs/4-deploy/config.ini b/contrib/ci/jobs/5-deploy/config.ini diff --git a/contrib/ci/jobs/4-deploy/job.sh b/contrib/ci/jobs/5-deploy/job.sh