Skip to content

Commit

Permalink
fixup! [CI] WIP: Add a VM-based Jenkins pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
  • Loading branch information
dimakuv committed Nov 18, 2022
1 parent e758176 commit ea70ab6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ci/linux-sgx-vm-gcc-release.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ node('whatnots') {
kvm_gid = sh(returnStdout: true, script: 'getent group kvm | cut -d: -f3').trim()
env.DOCKER_ARGS_COMMON += ' --group-add ' + kvm_gid

// only root and `sgx` group can access /dev/sgx_vepc, so add `sgx` GID to the in-Docker user
sgx_gid = sh(returnStdout: true, script: 'getent group sgx | cut -d: -f3').trim()
env.DOCKER_ARGS_COMMON += ' --group-add ' + sgx_gid

docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu22.04.dockerfile .'
Expand Down

0 comments on commit ea70ab6

Please sign in to comment.