Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
222b402
try a pixi-based container
pdimens Oct 17, 2025
6ecb9a1
use smaller tagged and versioned pixi containers
pdimens Oct 20, 2025
957f3b7
fix namne
pdimens Oct 20, 2025
796eb53
fix the tag
pdimens Oct 20, 2025
44c175f
images are much smaller
pdimens Oct 20, 2025
de99bf9
swap mamba for pixi
pdimens Oct 20, 2025
0878e1e
rm mamba
pdimens Oct 20, 2025
4e7006f
rm dep
pdimens Oct 20, 2025
a2efec8
rm auth
pdimens Oct 20, 2025
f3d3771
add pixi toml witout lock
pdimens Oct 20, 2025
426c7ac
rm cache
pdimens Oct 20, 2025
26a6ef6
parsimony
pdimens Oct 20, 2025
1223f4b
fix env
pdimens Oct 20, 2025
d90efca
fix envs
pdimens Oct 20, 2025
3191f91
fixes
pdimens Oct 21, 2025
0a9d63e
add it for posterity, possibly remove later
pdimens Oct 21, 2025
0bb4d1d
fix the pixi toml
pdimens Oct 21, 2025
99bed86
updates
pdimens Oct 21, 2025
27af736
avoid conda stuff if container is specified
pdimens Oct 21, 2025
3f77b83
specify the type, if only for linting
pdimens Oct 21, 2025
0c7b33b
fix the setup call
pdimens Oct 21, 2025
99df6b8
fix calls
pdimens Oct 21, 2025
eefecad
exit early if everything is fine
pdimens Oct 21, 2025
971f7bf
update the API
pdimens Oct 21, 2025
3381f7a
more obvious logic
pdimens Oct 21, 2025
8373ebb
adjust phasing logic
pdimens Oct 21, 2025
008fce5
simply package imports again
pdimens Oct 21, 2025
62da34c
add new diagnose features
pdimens Oct 22, 2025
e5a2a22
be clearer about limitations
pdimens Oct 22, 2025
6bb6335
fix indexing logic again
pdimens Oct 22, 2025
a651dbe
small formatting fixes [skip CI]
pdimens Oct 22, 2025
34afed8
simplify [skip CI]
pdimens Oct 22, 2025
d8e0dbf
expose more naibr params
pdimens Oct 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 18 additions & 20 deletions .github/workflows/createrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,31 @@ on:
- '*' # Push events of any tag created

jobs:
build_versioned_container:
build_versioned_containers:
name: Build and Push versioned container
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
strategy:
matrix:
env: [align, assembly, deconvolution, demultiplex, metassembly, phase, qc, report, simulations, stitch, variants]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup mamba
uses: mamba-org/setup-micromamba@v2
- name: Install Harpy
uses: prefix-dev/setup-pixi@v0.9.2
with:
init-shell: bash
generate-run-shell: true
environment-file: resources/harpy.yaml
cache-environment: false
post-cleanup: 'all'
- name: Install harpy
shell: micromamba-shell {0}
run: |
python3 -m pip install --upgrade build && python3 -m build
pip install dist/*.whl
pip install importlib-resources
pixi-version: v0.56.0
cache: false
activate-environment: true
- name: Clear space
run: rm -rf /opt/hostedtoolcache
- name: Recreate container
shell: micromamba-shell {0}
# - name: Clear Space
# uses: jlumbroso/free-disk-space@main
- name: Recreate containers
run: harpy containerize
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -46,10 +42,12 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./container
context: container/${{ matrix.env }}
push: true
tags: pdimens/harpy:${{ github.ref_name }}
tags: pdimens/harpy:$${{ matrix.env }}_{{ github.ref_name }}

build_tarball:
needs: build_versioned_containers
name: Upload Release Tarball
runs-on: ubuntu-latest
permissions:
Expand All @@ -60,10 +58,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Version the Container
# this removes the :latest tag and replaces with versioned container
# this removes the :*_latest tag and replaces with versioned container
run: |
for i in harpy/snakefiles/*.smk; do
sed -i "s/harpy\:latest/harpy\:${{ github.ref_name }}/g" $i
sed -i "s/_latest/_${{ github.ref_name }}/g" $i
done
- name: Bump Harpy Version
# this removes the :latest tag and replaces with versioned container
Expand Down
Loading