This repository provides reproducible install instructions for the icecube-combo framework.
The file install.sh contains instructions on how to install the icecube-combo framework on macOS and Ubuntu.
In order to have icecube-combo built during a github-actions workflow, you may include this script as workflow step like this:
# .github/workflows/build.yml
name: build
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: "Checkout and build icecube-combo framework"
run: curl https://raw.githubusercontent.com/fiedl/icecube-combo-install/master/install.sh | sudo bash -v -e
env:
RELEASE: V00-00-00-RC2
PLATFORM: ubuntu-18.04
SVN: ${{ secrets.SVN }}
SVN_ICECUBE_USERNAME: icecube
SVN_ICECUBE_PASSWORD: ${{ secrets.SVN_ICECUBE_PASSWORD }}
- name: "Checkout and build your sub-project against icecube-combo"
# ...
This will checkout icecube-combo into ~/icecube/software/icecube-combo-V00-00-00-RC2/src
and build it into ~/icecube/software/icecube-combo-V00-00-00-RC2/debug_build
.
Parameters:
RELEASE
: The release number of the icecube-combo framework you would like to install. May be a release like "V00-00-00-RC2", or "trunk", which will fetch the current svn trunk of the framework.PLATFORM
: The operating system, the script will run on. This is needed to install the dependencies with the appropriate package manager. Supported: "ubuntu-18.04", "macOS-10.14"SVN
: The url of our svn repository, ending with "/svn".SVN_ICECUBE_USERNAME
: The svn user to use to fetch the icecube-combo sourcecode.SVN_ICECUBE_PASSWORD
: The svn password to use to fetch the icecube-combo sourcecode.
For a working example, have a look at:
- TODO: monopole-generator
- TODO: clsim
In order to have the install script run in a docker container running ubuntu, this repository provides a docker-compose.yml file.
# Clone this repository
git clone git@github.com:fiedl/icecube-combo-install.git
For the automated code checkout to work, you need to provide svn credentials in a secrets file, which is not included in this repository. Please create the following file and provide credentials there:
# .secrets.sh
export SVN="our svn url"
export SVN_ICECUBE_USERNAME="our svn username"
export SVN_ICECUBE_PASSWORD="our svn password"
After that, run the docker container:
docker-compose up
In order to have the install scriot run on a virtual machine, this repository provides Vagrant instructions in the Vagrantfile.
# Clone this repository
git clone git@github.com:fiedl/icecube-combo-install.git
For the automated code checkout to work, you need to provide svn credentials in a secrets file, which is not included in this repository. Please create the following file and provide credentials there:
# .secrets.sh
export SVN="our svn url"
export SVN_ICECUBE_USERNAME="our svn username"
export SVN_ICECUBE_PASSWORD="our svn password"
After that, install and run vagrant:
# Install Vagrant
brew cask instal vagrant
# Set the release you would like to use
export RELEASE=V00-00-00-RC2
# Start the virtual machine and run the install instructions
vagrant up
After changing the install scripts, rerun via vagrant provision
or vagrant reload --provision
.
- Based on: Install instructions for monopole-generator: https://github.com/fiedl/monopole-generator-install
- Based on: Install instructions for hole-ice clsim: https://github.com/fiedl/hole-ice-install
- https://github.com/fiedl/icecube-simulation-install
- IceCube documentation on installing on OS X with Python 2
- Installing icecube-simulation V05-00-07 with Python 2 on macOS Sierra
- Installing icecube-simulation V05-00-07 with Python 2 in Zeuthen
- Install instructions by Kevin M.: https://code.icecube.wisc.edu/projects/icecube/ticket/2225#comment:2
- Install instructions for ubuntu: http://software.icecube.wisc.edu/documentation/projects/cmake/supported_platforms/debian_variants.html