Skip to content

Semrel Imga 3.10.0

Describe the bug

After the semrel image upgrade from 3.9.1 to 3.10.0 the error apperas while running the job:

$ configure_commit_signing
[INFO] Setting commit signing up.
[INFO] creating GPG base configuration
/scripts-347266-137774005/step_script: line 872: gpg: command not found
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: command terminated with exit code 1

Expected behavior

The expected behaviour is to pass the job and should be like on 3.9.1:

$ configure_commit_signing
[INFO] Setting commit signing up.
[INFO] creating GPG base configuration
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: Total number processed: 1
gpg:       secret keys read: 1
[INFO] Commit signing setup complete.
$ if [[ "$SEMREL_DRY_RUN" == "true" ]]; then dry_run_opt="--dry-run"; fi

Actual behavior

Error:

$ configure_commit_signing
[INFO] Setting commit signing up.
[INFO] creating GPG base configuration
/scripts-347266-137774005/step_script: line 872: gpg: command not found
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: command terminated with exit code 1

Logs and/or screenshots

Capture_d_écran_2024-05-27_à_09.12.19

Context & Configuration

The issue was reproduced using:

  • Version of the template: 3.10.0
  • GitLab server(s):gitlab.com
Edited by Guilhem Bonnefille