File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test container build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches_ignore : []
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@master
15+ - run : docker build .
Original file line number Diff line number Diff line change 1+ name : Publish release to Docker Hub
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ update :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@master
13+ - name : Get release version
14+ run : echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
15+ - name : Publish to Registry
16+ uses : elgohr/Publish-Docker-Github-Action@3.01
17+ with :
18+ name : snakemake/snakemake
19+ username : ${{ secrets.DOCKER_USERNAME }}
20+ password : ${{ secrets.DOCKER_TOKEN }}
21+ tags : " ${{ env.RELEASE_VERSION }},stable"
Original file line number Diff line number Diff line change 1+ image : snakemake/snakemake:v6.0.0
2+ tasts :
3+ - init : Cleanup tutorial environment
4+ command : rm Snakefile .gitpod.yml upload_google_storage.py Dockerfile
5+ - activate-env : Activate environment
6+ command : conda activate snakemake-tutorial
Original file line number Diff line number Diff line change 1+ FROM condaforge/mambaforge
2+ ENV SHELL /bin/bash
3+ ADD environment.yaml .
4+ RUN mamba env create -n snakemake-tutorial -f environment.yaml
Original file line number Diff line number Diff line change 1+ [ ![ Gitpod Ready-to-Code] ( https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod )] ( https://gitpod.io/#https://github.com/snakemake/snakemake-tutorial-data )
2+
13# Example data for the Snakemake tutorial
24
35This repository hosts the data needed for the [ Snakemake tutorial] ( https://snakemake.readthedocs.io/en/stable/tutorial/tutorial.html ) .
46
7+
8+ <details >
9+ <summary >Click for cloud upload instructions.</summary >
10+
511## Uploaders
612
713### Google Cloud Storage
@@ -15,7 +21,7 @@ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
1521
1622And install the google-cloud-storage client:
1723
18- ``` bsah
24+ ``` bash
1925pip install google-cloud-storage
2026```
2127
@@ -76,3 +82,4 @@ You should then be able to see your files in Storage! Good job!
7682
7783![ .aux/upload-google-storage.png] ( .aux/upload-google-storage.png )
7884
85+ </details >
You can’t perform that action at this time.
0 commit comments