Skip to content

Commit

Permalink
updates quick install
Browse files Browse the repository at this point in the history
  • Loading branch information
Geert van Geest committed Dec 14, 2024
1 parent 8ffb9c3 commit 960c3d1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 288 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Run tutorials

on:
push:
branches: master
branches: gsod-rtd
pull_request:
branches: master

Expand All @@ -11,22 +11,11 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
installer:
run-tutorials:
runs-on: ubuntu-latest

defaults:
run:
shell: bash -l {0}

steps:
- name: Free space
# HACK fixes 'No space left on device'
# see: https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
# NOTE we don't use those, we use conda for everything anyway
run: rm -rf /opt/hostedtoolcache

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
sparse-checkout: |
docs
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The present tutorial will show you how to install V-pipe and the dependencies re
Download the install script and run it with the following parameters:

```bash
curl -O 'https://raw.githubusercontent.com/cbg-ethz/V-pipe/master/utils/quick_install.sh'
curl -O 'https://raw.githubusercontent.com/GeertvanGeest/V-pipe/gsod-rtd/utils/quick_install.sh'
bash quick_install.sh -p vp-analysis -w work

```
Expand Down
271 changes: 0 additions & 271 deletions docs/quick_install.sh

This file was deleted.

5 changes: 3 additions & 2 deletions utils/quick_install.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# defaults
PREFIX=$(pwd)
FORCE=
BRANCH=master
REPO=https://github.com/GeertvanGeest/V-pipe.git
BRANCH=gsod-rtd
RELEASE=
WORKDIR=
MINIMAL=
Expand Down Expand Up @@ -206,7 +207,7 @@ if [[ -z "${RELEASE}" ]]; then
message 'Using branch:' "${BRANCH}"

check_directory 'V-pipe' 'V-pipe installation directory'
git clone --depth 1 --branch "${BRANCH}" https://github.com/cbg-ethz/V-pipe.git || fail "I cannot install branch ${BRANCH}."
git clone --depth 1 --branch "${BRANCH}" "${REPO}" || fail "I cannot install branch ${BRANCH}."
else
message 'Using release:' "${RELEASE}"
check_directory "V-pipe-${RELEASE}" 'V-pipe installation directory'
Expand Down

0 comments on commit 960c3d1

Please sign in to comment.