Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
server
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
server
Merge requests
!38
XX-4183/rootless CI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
XX-4183/rootless CI
Jakub/rootless-CI
into
release
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
XX-4183/rootless CI
Jakub Pelka
requested to merge
Jakub/rootless-CI
into
release
Sep 21, 2022
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
release
release (HEAD)
and
latest version
latest version
fcd725da
1 commit,
Sep 21, 2022
1 file
+
7
−
4
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
7
−
4
View file @ 9b9bdae4
Edit in single-file editor
Open in Web IDE
Show full file
@@ -34,8 +34,9 @@ build_gpumaths:
@@ -34,8 +34,9 @@ build_gpumaths:
-
git clean -ffdx
-
git clean -ffdx
# Clone a specific gpumaths branch if the pipeline has variable set
# Clone a specific gpumaths branch if the pipeline has variable set
# Otherwise clone release gpumathsnative
# Otherwise clone release gpumathsnative
-
mkdir -p /opt/xxnetwork/lib
-
sudo mkdir -p /opt/xxnetwork/lib
-
mkdir -p /opt/xxnetwork/include
-
sudo mkdir -p /opt/xxnetwork/include
-
sudo chown -R npuser /opt/xxnetwork
-
GPUMATHS_CLONE_VERSION=${GPUMATHS_VERSION-release}
-
GPUMATHS_CLONE_VERSION=${GPUMATHS_VERSION-release}
# If server pipeline branch is master, get master branch of gpumathsnative
# If server pipeline branch is master, get master branch of gpumathsnative
-
if [ "$CI_COMMIT_BRANCH" == "master" ]; then
-
if [ "$CI_COMMIT_BRANCH" == "master" ]; then
@@ -76,7 +77,8 @@ build:
@@ -76,7 +77,8 @@ build:
tags
:
tags
:
-
gpu
-
gpu
script
:
script
:
-
mkdir -p /opt/xxnetwork
-
sudo mkdir -p /opt/xxnetwork
-
sudo chown -R npuser /opt/xxnetwork
-
cp -ra libraries/* /opt/xxnetwork/
-
cp -ra libraries/* /opt/xxnetwork/
-
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' ./...
-
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' ./...
-
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/server.linux64 main.go
-
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/server.linux64 main.go
@@ -105,7 +107,8 @@ test:
@@ -105,7 +107,8 @@ test:
tags
:
tags
:
-
gpu
-
gpu
script
:
script
:
-
mkdir -p /opt/xxnetwork
-
sudo mkdir -p /opt/xxnetwork
-
sudo chown -R npuser /opt/xxnetwork
-
cp -ra libraries/* /opt/xxnetwork/
-
cp -ra libraries/* /opt/xxnetwork/
-
mkdir -p testdata
-
mkdir -p testdata
Loading