Skip to content

Commit

Permalink
added new workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Repronim neurodocker bot committed Nov 15, 2024
1 parent 17e09f9 commit 9587c13
Show file tree
Hide file tree
Showing 15 changed files with 969 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/afni.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This is file is automatically generated. Do not edit.
name: 'afni'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: ["test_docker_build"]

jobs:

afni:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
base_image: ['ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim', 'fedora:36', 'centos:7']
version: ['latest']
method: ['binaries', 'source']
afni_python: ['true', 'false']

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install neurodocker
run: python -m pip install --editable .[dev]

- name: Generate Dockerfile
run: |
apt_based=('ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim')
if [[ " ${apt_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="apt"
fi
yum_based=('fedora:36', 'centos:7')
if [[ " ${yum_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="yum"
fi
neurodocker \
generate docker \
--base-image=${{ matrix.base_image }} \
--pkg-manager=${pkg_manager} \
--yes \
--afni \
version=${{ matrix.version }} \
method=${{ matrix.method }} \
install_python3=${{ matrix.afni_python }} \
> Dockerfile_tmp
cat Dockerfile_tmp
- name: Build the Docker image
run: docker build -f Dockerfile_tmp .
62 changes: 62 additions & 0 deletions .github/workflows/ants.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# This is file is automatically generated. Do not edit.
name: 'ants'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: ["test_docker_build"]

jobs:

ants:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
base_image: ['ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim', 'fedora:36', 'centos:7']
version: ['2.4.3', '2.4.2', '2.4.1', '2.3.4', '2.3.2', '2.3.1', '2.3.0', '2.2.0', '2.1.0', '2.0.3', '2.0.0']
method: ['binaries', 'source']

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install neurodocker
run: python -m pip install --editable .[dev]

- name: Generate Dockerfile
run: |
apt_based=('ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim')
if [[ " ${apt_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="apt"
fi
yum_based=('fedora:36', 'centos:7')
if [[ " ${yum_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="yum"
fi
neurodocker \
generate docker \
--base-image=${{ matrix.base_image }} \
--pkg-manager=${pkg_manager} \
--yes \
--ants \
version=${{ matrix.version }} \
method=${{ matrix.method }} \
> Dockerfile_tmp
cat Dockerfile_tmp
- name: Build the Docker image
run: docker build -f Dockerfile_tmp .
62 changes: 62 additions & 0 deletions .github/workflows/bids_validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# This is file is automatically generated. Do not edit.
name: 'bids_validator'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: ["test_docker_build"]

jobs:

bids_validator:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
base_image: ['ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim', 'fedora:36', 'centos:7']
version: ['1.13.0', '1.12.0', '1.11.0', '1.10.0', '1.9.0']
method: ['binaries']

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install neurodocker
run: python -m pip install --editable .[dev]

- name: Generate Dockerfile
run: |
apt_based=('ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim')
if [[ " ${apt_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="apt"
fi
yum_based=('fedora:36', 'centos:7')
if [[ " ${yum_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="yum"
fi
neurodocker \
generate docker \
--base-image=${{ matrix.base_image }} \
--pkg-manager=${pkg_manager} \
--yes \
--bids_validator \
version=${{ matrix.version }} \
method=${{ matrix.method }} \
> Dockerfile_tmp
cat Dockerfile_tmp
- name: Build the Docker image
run: docker build -f Dockerfile_tmp .
63 changes: 63 additions & 0 deletions .github/workflows/cat12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This is file is automatically generated. Do not edit.
name: 'cat12'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: ["test_docker_build"]

jobs:

cat12:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
base_image: ['ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim', 'fedora:36', 'centos:7']
version: ['r1933_R2017b', 'r2166_R2017b']
method: ['binaries']

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install neurodocker
run: python -m pip install --editable .[dev]

- name: Generate Dockerfile
run: |
apt_based=('ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim')
if [[ " ${apt_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="apt"
fi
yum_based=('fedora:36', 'centos:7')
if [[ " ${yum_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="yum"
fi
neurodocker \
generate docker \
--base-image=${{ matrix.base_image }} \
--pkg-manager=${pkg_manager} \
--yes \
--matlabmcr method='binaries' version='2017b' \
--cat12 \
version=${{ matrix.version }} \
method=${{ matrix.method }} \
> Dockerfile_tmp
cat Dockerfile_tmp
- name: Build the Docker image
run: docker build -f Dockerfile_tmp .
62 changes: 62 additions & 0 deletions .github/workflows/convert3d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# This is file is automatically generated. Do not edit.
name: 'convert3d'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: ["test_docker_build"]

jobs:

convert3d:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
base_image: ['ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim', 'fedora:36', 'centos:7']
version: ['nightly', '1.0.0']
method: ['binaries']

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install neurodocker
run: python -m pip install --editable .[dev]

- name: Generate Dockerfile
run: |
apt_based=('ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim')
if [[ " ${apt_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="apt"
fi
yum_based=('fedora:36', 'centos:7')
if [[ " ${yum_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="yum"
fi
neurodocker \
generate docker \
--base-image=${{ matrix.base_image }} \
--pkg-manager=${pkg_manager} \
--yes \
--convert3d \
version=${{ matrix.version }} \
method=${{ matrix.method }} \
> Dockerfile_tmp
cat Dockerfile_tmp
- name: Build the Docker image
run: docker build -f Dockerfile_tmp .
62 changes: 62 additions & 0 deletions .github/workflows/dcm2niix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# This is file is automatically generated. Do not edit.
name: 'dcm2niix'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: ["test_docker_build"]

jobs:

dcm2niix:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
base_image: ['ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim', 'fedora:36', 'centos:7']
version: ['latest', 'v1.0.20201102', 'v1.0.20200331', 'v1.0.20190902']
method: ['binaries', 'source']

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install neurodocker
run: python -m pip install --editable .[dev]

- name: Generate Dockerfile
run: |
apt_based=('ubuntu:22.04', 'ubuntu:18.04', 'debian:bullseye-slim', 'debian:buster-slim')
if [[ " ${apt_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="apt"
fi
yum_based=('fedora:36', 'centos:7')
if [[ " ${yum_based[*]} " =~ ${{ matrix.base_image }} ]]; then
pkg_manager="yum"
fi
neurodocker \
generate docker \
--base-image=${{ matrix.base_image }} \
--pkg-manager=${pkg_manager} \
--yes \
--dcm2niix \
version=${{ matrix.version }} \
method=${{ matrix.method }} \
> Dockerfile_tmp
cat Dockerfile_tmp
- name: Build the Docker image
run: docker build -f Dockerfile_tmp .
Loading

0 comments on commit 9587c13

Please sign in to comment.