Skip to content

Do not exit error to CI Pipline

Because it marks the job as failed otherwise.

Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com

Results for the scripts in effect are available here: https://gitlab.apertis.org/pkg/target/u-boot-menu/-/jobs/278352

Running with gitlab-runner 12.2.0 (a987417a)
  on graviera 3a1c5a38
Using Docker executor with image docker-registry.apertis.org/apertis/apertis-v2021dev1-package-source-builder ...
Pulling docker image docker-registry.apertis.org/apertis/apertis-v2021dev1-package-source-builder ...
Using docker image sha256:4d9ec3d64d0b68fdd062bf067b43082baa92e4bb82227b22171401ff5844d94d for docker-registry.apertis.org/apertis/apertis-v2021dev1-package-source-builder ...
Running on runner-3a1c5a38-project-2873-concurrent-0 via graviera...
Fetching changes...
Initialized empty Git repository in /builds/pkg/target/u-boot-menu/.git/
Created fresh repository.
From https://gitlab.apertis.org/pkg/target/u-boot-menu
 * [new ref]         refs/pipelines/121459 -> refs/pipelines/121459
 * [new branch]      apertis/v2019         -> origin/apertis/v2019
 * [new branch]      apertis/v2019pre      -> origin/apertis/v2019pre
 * [new branch]      apertis/v2020         -> origin/apertis/v2020
 * [new branch]      apertis/v2020dev0     -> origin/apertis/v2020dev0
 * [new branch]      apertis/v2020pre      -> origin/apertis/v2020pre
 * [new branch]      apertis/v2021dev0     -> origin/apertis/v2021dev0
 * [new branch]      apertis/v2021dev1     -> origin/apertis/v2021dev1
 * [new branch]      debian/buster         -> origin/debian/buster
 * [new branch]      debian/buster-gitlab-update-job -> origin/debian/buster-gitlab-update-job
 * [new branch]      pristine-lfs-source   -> origin/pristine-lfs-source
 * [new tag]         apertis/2co1          -> apertis/2co1
 * [new tag]         apertis/3co1          -> apertis/3co1
 * [new tag]         apertis/3co2          -> apertis/3co2
 * [new tag]         apertis/3co3          -> apertis/3co3
 * [new tag]         apertis/3co4          -> apertis/3co4
 * [new tag]         debian/2              -> debian/2
 * [new tag]         debian/3              -> debian/3
Checking out 86c1bda8 as apertis/v2021dev1...

Skipping Git submodules setup
$ mkdir -p .git/info
$ echo '* -text -eol -crlf -ident -filter -working-tree-encoding' > .git/info/attributes
$ tally-revision && ci-buildpackage -S
+ git rev-parse -q --verify HEAD
+ HEAD=86c1bda8cfe71eb959899dd6643b9cbb5c07f0a5
+ git describe --tags --match apertis/* --abbrev=0
+ TAGS=apertis/3co4
+ [ -z apertis/3co4 ]
+ git rev-parse -q --verify apertis/3co4^{commit}
+ check_tag=86c1bda8cfe71eb959899dd6643b9cbb5c07f0a5
+ [ 86c1bda8cfe71eb959899dd6643b9cbb5c07f0a5 != 86c1bda8cfe71eb959899dd6643b9cbb5c07f0a5 ]
+ echo No new commits, nothing to do.
No new commits, nothing to do.
+ exit 1
ERROR: Job failed: exit code 1

Merge request reports

Loading