Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cricket-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACS
Public
Virtualization
cricket-ci
Commits
3adadf0f
Commit
3adadf0f
authored
1 year ago
by
Niklas Eiling
Browse files
Options
Downloads
Patches
Plain Diff
CI: fix issue with remote gpu testing
Signed-off-by:
Niklas Eiling
<
niklas.eiling@eonerc.rwth-aachen.de
>
parent
ef365372
No related branches found
No related tags found
No related merge requests found
Pipeline
#1198744
passed
1 year ago
Stage: prepare
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-20
9 additions, 20 deletions
.gitlab-ci.yml
with
9 additions
and
20 deletions
.gitlab-ci.yml
+
9
−
20
View file @
3adadf0f
...
...
@@ -41,20 +41,6 @@ prepare:centos8:cuda11:
tags
:
-
docker
# check if styleguide is fulfilled
#style_check:
# stage: build
# image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG}
# allow_failure: true
# tags:
# - docker
# script:
# - ls
# - utils/test_style.sh
# Stage: build
##############################################################################
build
:
stage
:
build
needs
:
[
"
prepare:rocky9:docker-dev"
]
...
...
@@ -173,12 +159,15 @@ build:debug:
PARAMETER
:
'
'
CHDIR
:
'
tests'
script
:
-
mkdir ~/.ssh &&
echo "-----BEGIN OPENSSH PRIVATE KEY-----" > ~/.ssh/id_rsa &&
echo $SSH_PRIVATE | sed "s/\S\{64\}/&\n/g" >> ~/.ssh/id_rsa &&
echo "-----END OPENSSH PRIVATE KEY-----" >> ~/.ssh/id_rsa &&
echo $SSH_PUBLIC > ~/.ssh/id_rsa.pub &&
echo $KNOWN_HOSTS > ~/.ssh/known_hosts && chmod 600 ~/.ssh/id_rsa
-
mkdir ~/.ssh
-
echo "-----BEGIN OPENSSH PRIVATE KEY-----" > ~/.ssh/id_rsa
-
echo $SSH_PRIVATE | sed "s/\S\{64\}/&\n/g" >> ~/.ssh/id_rsa
-
echo "-----END OPENSSH PRIVATE KEY-----" >> ~/.ssh/id_rsa
-
echo $SSH_PUBLIC > ~/.ssh/id_rsa.pub
-
echo $KNOWN_HOSTS > ~/.ssh/known_hosts
-
chmod 600 ~/.ssh/id_rsa
-
chmod 600 ~/.ssh/known_hosts
-
chmod 600 ~/.ssh/id_rsa.pub
-
ssh $GPU_TARGET mkdir -p $RDIR
-
scp -r $LDIR/* $GPU_TARGET:$RDIR/
-
ssh $GPU_TARGET "LD_PRELOAD=$RDIR/libtirpc.so.3 $RDIR/cricket-rpc-server 255" &
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment