-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from r2dt-bio/develop
Release 2.0
- Loading branch information
Showing
8,734 changed files
with
885,754 additions
and
485,607 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM mcr.microsoft.com/devcontainers/universal:2-linux | ||
|
||
RUN wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null && \ | ||
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list && \ | ||
sudo apt-get -qq update && \ | ||
sudo apt-get install --no-install-recommends -qq -y \ | ||
imagemagick \ | ||
libmagickwand-dev \ | ||
chafa \ | ||
just |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "R2DT", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-vscode-remote.remote-containers", | ||
"ms-azuretools.vscode-docker" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ docs/_* | |
.vscode | ||
.git | ||
1.4/ | ||
.venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Mark PostScript files as vendored | ||
*.ps linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
name: Build and Push Base Docker image (parallel) | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'base_image/**' | ||
- '.github/workflows/parallel-base-image.yml' | ||
|
||
jobs: | ||
build-stages: | ||
runs-on: ${{ matrix.runner }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
stage: [rscape, tRNAscan-SE, Bio-Easel, traveler, scripts, ribovore-infernal-easel] | ||
platform: [linux/amd64, linux/arm64] | ||
include: | ||
- platform: 'linux/amd64' | ||
runner: 'ubuntu-latest' | ||
shorthand: 'amd64' | ||
- platform: 'linux/arm64' | ||
runner: 'buildjet-2vcpu-ubuntu-2204-arm' | ||
shorthand: 'arm64' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Log in to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build ${{ matrix.stage }} stage | ||
uses: docker/build-push-action@v6 | ||
with: | ||
platforms: ${{ matrix.platform }} | ||
target: ${{ matrix.stage }} | ||
cache-from: type=registry,ref=rnacentral/r2dt-base:cache-${{ matrix.stage }}-${{ matrix.shorthand }} | ||
cache-to: type=registry,ref=rnacentral/r2dt-base:cache-${{ matrix.stage }}-${{ matrix.shorthand }},mode=max | ||
file: base_image/Dockerfile | ||
context: base_image/ | ||
|
||
final-build: | ||
needs: build-stages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Docker Meta | ||
id: docker_meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: rnacentral/r2dt-base | ||
flavor: latest=false | ||
tags: | | ||
type=ref,event=pr | ||
- name: Log in to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build and push final Docker image | ||
uses: docker/build-push-action@v6 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
labels: ${{ steps.docker_meta.outputs.labels }} | ||
tags: ${{ steps.docker_meta.outputs.tags }} | ||
cache-from: | | ||
type=registry,ref=rnacentral/r2dt-base:cache-rscape-amd64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-tRNAscan-SE-amd64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-Bio-Easel-amd64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-traveler-amd64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-scripts-amd64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-ribovore-infernal-easel-amd64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-rscape-arm64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-tRNAscan-SE-arm64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-Bio-Easel-arm64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-traveler-arm64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-scripts-arm64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-ribovore-infernal-easel-arm64 | ||
type=registry,ref=rnacentral/r2dt-base:cache-final | ||
cache-to: type=registry,ref=rnacentral/r2dt-base:cache-final,mode=max | ||
file: base_image/Dockerfile | ||
context: base_image/ | ||
target: final-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.