Skip to content

Commit

Permalink
container tar fix (#45)
Browse files Browse the repository at this point in the history
* remove old dockerfile and add in apptainer def file

* remove old data modules

* remove docker ignore

* add se config, targets, and parameters

* update targets comments

* add conda environment

* install conda-lock as dev dep

* add conda lock

* get container build working

* add container build workflow

* fix up imports and add fetch and segments modules

* add authenticate to mldatafind modules

* add dev mode

* clean up base sandbox tasks

* update segment min duration to optional

* fix condor imports

* debug

* get fetch working

* clean readme

* remove testing workflow

* fix up container build workflow]

* build sandbox outside of mldatafind dir

* build sandbox outside of mldatafind dir

* add dummy test

* some debug statements

* some debug statements

* fix path

* add law overhal branch for container build

* fix tarring
  • Loading branch information
EthanMarx committed Jun 19, 2024
1 parent f812ec1 commit 3b2506a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/container-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ jobs:
--privileged \
--entrypoint /bin/bash \
quay.io/singularity/singularity:v3.8.1 \
-c 'singularity exec --env PATH=${{ env.PATH }} /opt/sandbox pytest && if [ "${{ github.event_name == 'push'}}" == "true" ]; then tar -czf /opt/mldatafind -C /opt/mldatafind .; fi'
-c 'singularity exec --env PATH=${{ env.PATH }} /opt/sandbox pytest && if [ "${{ github.event_name == 'push'}}" == "true" ]; then tar -czf /opt/app.tar.gz -C /opt/sandbox .; fi'
# now copy the fs contents into an empty
# container and push it to the registry,
Expand Down

0 comments on commit 3b2506a

Please sign in to comment.