libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

job.sh (434B)


      1 #!/bin/bash
      2 set -exuo pipefail
      3 # Update system
      4 apt-get update -yq
      5 apt-get upgrade -yq
      6 
      7 # Build package
      8 export VERSION="$(./contrib/ci/jobs/4-deb-package/version.sh)"
      9 echo "Building package version ${VERSION}"
     10 make deb
     11 
     12 # Test package
     13 sudo ./contrib/ci/deb-test.sh
     14 
     15 # Move to artifact
     16 ls -alh ../*.deb
     17 mkdir -p /artifacts/libeufin/${CI_COMMIT_REF} # Variable comes from CI environment
     18 mv ../*.deb /artifacts/libeufin/${CI_COMMIT_REF}/