Skip to content
Snippets Groups Projects
Commit e76e4733 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

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
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment