Skip to content

Commit

Permalink
Merge pull request #33 from Sydney-Informatics-Hub/gitpod
Browse files Browse the repository at this point in the history
Change gitpod to hello-nextflow workspace
  • Loading branch information
georgiesamaha authored Oct 9, 2024
2 parents 2e35d21 + bf11b4a commit 7393c70
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom workspace and checkout locations
workspaceLocation: gitpod/gitpod.code-workspace # Refers to your .code-workspace file
checkoutLocation: gitpod
workspaceLocation: /workspace/hello-nextflow/gitpod.code-workspace # Refers to your .code-workspace file
checkoutLocation: /workspace/hello-nextflow # Ensure Git clones into the correct location

# GitHub prebuild configuration
github:
Expand All @@ -27,17 +27,11 @@ image:
tasks:
- before: printf 'unset JAVA_TOOL_OPTIONS\n' >> $HOME/.bashrc && exit

# FOR TESTING: check out workspace in the `gitpod` branch
- name: Checkout gitpod branch
init: |
git fetch origin gitpod # Fetch the latest changes for the gitpod branch
git checkout gitpod || git checkout -b gitpod origin/gitpod # Switch to the gitpod branch
# Create directory structure
- name: Create Directories
init: |
mkdir -p ~/hello-nextflow/part1
mkdir -p ~/hello-nextflow/part2
mkdir -p /workspace/hello-nextflow/part1
mkdir -p /workspace/hello-nextflow/part2
# Download containers to be used in part 2
- name: Download containers
Expand All @@ -48,7 +42,7 @@ tasks:
command: docker run hello-world

# Open docs in a web browser
- name: Start web server
- name: Open Documentation Page
command: gp ports await 23000 && gp preview https://sydney-informatics-hub.github.io/hello-nextflow/

# Start the tutorial
Expand Down

0 comments on commit 7393c70

Please sign in to comment.