Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have these to files required to implement signature verification on the runner side in config.toml file. stages: - build verify _ signature: stage: build
I have these to files required to implement signature verification on the runner side in config.toml file. stages:
build
verifysignature:
stage: build
script:
gpg verify $CICOMMITREFNAME.sig $CICOMMITREFNAME
tags:
myrunnertag
only:
main # Adjust this to the branch you want to verify"
and
runners
name "yourrunnername"
url my url"
token my token"
executor "shell"
runnerscustombuilddir
runnerscache
runnerscache.s
runnerscache.gcs
runnerscustom
runexec "give me this script" # This is a placeholder, replace it with your actual custom script path
verifysignature true # Enable GPG signature verification
verifysignaturekey "ABEDABDEDEBDCDF # Replace with your GPG key ID I am beginner in gitlab. can you help me check the correctness of these two configuration files to impelement signature verification GPG on runner side config.toml file. I need from you to give me the correct script to put it in runexec to implement the verification. help me with all steps to successfully impelemnt and see the result in my pipeline log like this in this picture. Running with gitlabrunner f
on stingvirtualmachine WDcyvN system ID: sfeafa
Preparing the "shell" executor
Using Shell bash executor...
Preparing environment
Running on stingvirtualmachine...
Getting source from Git repository
Fetching changes with git depth set to dots
Reinitialized existing Git repository inhomegitlabrunnerbuildswDcyvNorootmyprojectgit
Checking out ffecdfa as detached HEAD ref is main
Skipping Git submodules setup
Executing "stepscript" stage of the job script
$c
gpg: Signature made BC :: MSK
gpg: using RSA key ABEDABDEDEBDCDF
gpg: Good signature from "sting
admin@example.com" unknown
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: ABEDAB DE D EB DCDF
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started