Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hcana
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jlab
hallc
analyzer_software
hcana
Commits
e76e4733
Commit
e76e4733
authored
5 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
modified: .gitlabci/setup.sh
parent
1b6e0458
No related branches found
No related tags found
No related merge requests found
Pipeline
#1785
failed with stages
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlabci/setup.sh
+18
-10
18 additions, 10 deletions
.gitlabci/setup.sh
with
18 additions
and
10 deletions
.gitlabci/setup.sh
+
18
−
10
View file @
e76e4733
...
...
@@ -14,20 +14,28 @@ apt-get update && apt-get install -y wget git \
sed
-i
-e
's/^Defaults\tsecure_path.*$//'
/etc/sudoers
# Check Python
# Install go
export
VERSION
=
1.12
OS
=
linux
ARCH
=
amd64
&&
\
# Replace the values as needed
wget https://dl.google.com/go/go
$VERSION
.
$OS
-
$ARCH
.tar.gz
&&
\
# Downloads the required Go package
sudo tar
-C
/usr/local
-xzvf
go
$VERSION
.
$OS
-
$ARCH
.tar.gz
&&
\
# Extracts the archive
rm
go
$VERSION
.
$OS
-
$ARCH
.tar.gz
# Deletes the ``tar`` file
echo
'export PATH=/usr/local/go/bin:$PATH'
>>
/etc/profile.d/go.sh
&&
source
/etc/profile.d/go.sh
# Install Singularity
export
VERSION
=
3.3.0
&&
# adjust this as necessary \
wget https://github.com/sylabs/singularity/releases/download/v
${
VERSION
}
/singularity-
${
VERSION
}
.tar.gz
&&
\
tar
-xzf
singularity-
${
VERSION
}
.tar.gz
&&
\
cd
singularity
./mconfig
&&
\
make
-C
builddir
&&
\
sudo
make
-C
builddir
install
# Check Python
echo
"Python Version:"
python
--version
pip
install
sregistry[all]
sregistry version
echo
"sregistry Version:"
# Install Singularity
cd
/tmp
&&
\
git clone
-b
vault/release-2.5 https://www.github.com/sylabs/singularity.git
cd
singularity
&&
\
./autogen.sh
&&
\
./configure
--prefix
=
/usr/local
&&
\
make
-j8
&&
make
install
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