Giter Site home page Giter Site logo

Comments (14)

Shotgunosine avatar Shotgunosine commented on July 18, 2024

Persisting the image is taking too long it looks like. Might need to see if we can streamline the docker file.

from freesurfer.

PeerHerholz avatar PeerHerholz commented on July 18, 2024

Looks like the image builds but the workspace for the tests runs out. CI suggests to use parallelism for tests. I have never done that, anyone has an idea how to implement this?

from freesurfer.

Remi-Gau avatar Remi-Gau commented on July 18, 2024

other option: we do not persist anything to the workspace and just only ever get stuff from the cache in the follow up steps?

from freesurfer.

Shotgunosine avatar Shotgunosine commented on July 18, 2024

Sorry, it's building the image that's taking 42 minutes. I'll try a large or x-large machine to see if that speeds things up. If that doesn't work. We could download freesurfer in a previous step and persist it, then copy it into the container instead of downloading it. That might speed up the bulid, but it'd require some editing of the dockerfiles.

from freesurfer.

Remi-Gau avatar Remi-Gau commented on July 18, 2024

we may want to check if switching to github action should be considered.

from freesurfer.

Shotgunosine avatar Shotgunosine commented on July 18, 2024

It's not clear to me why the Freesurfer 7 build is now taking half an hour. It was taking ~16 minutes on previous commits and I don't see any changes in the dockerfile in the mean time. @Remi-Gau switching over to github actions would be one option, but I don't have time to do an overhaul like that right now.

@PeerHerholz, I don't think the length of time it's taking to build is something that parallelism is likely to solve.

It looks like the large machine might just barely sneak through. If that fails I'll try an x-large machine and see if it goes any faster, but I think we might need to cache the freesurfer tar if we want to get a more reliable build time.

from freesurfer.

Remi-Gau avatar Remi-Gau commented on July 18, 2024

Something is indeed strange.

2 circle CI runs on the same commit:

from freesurfer.

Shotgunosine avatar Shotgunosine commented on July 18, 2024

from freesurfer.

Shotgunosine avatar Shotgunosine commented on July 18, 2024

I've fixed the build timeouts for now by skipping the cacheing step in #77.

The test timeouts are going to be a bit trickier and should be saved for a separate PR.

from freesurfer.

Remi-Gau avatar Remi-Gau commented on July 18, 2024

@Shotgunosine
If you are not going to work on it right now, I may PR something to make a push to main triggers a push of "unstable" tag version to docker hub.

See an example of another app here:
https://hub.docker.com/r/bids/antscorticalthickness/tags

This allows users to try the "bleeding" edge of the app.

from freesurfer.

Shotgunosine avatar Shotgunosine commented on July 18, 2024

Does this not already do that?

: "Pushing to DockerHub ${user_name}/${repo_name}:unstable"
docker tag "${user_name}/${repo_name}" "${user_name}/${repo_name}:${FS_VERSION}-unstable"
docker push "${user_name}/${repo_name}:${FS_VERSION}-unstable"

from freesurfer.

Remi-Gau avatar Remi-Gau commented on July 18, 2024

ah yes sorry I missed that

But it seems that there is no deploy planned on this push to master

https://app.circleci.com/pipelines/github/bids-apps/freesurfer/118/workflows/3bda51f6-b0c5-4a55-b054-0fa773c0d33e

from freesurfer.

Remi-Gau avatar Remi-Gau commented on July 18, 2024

I suspect it is because we are ignoring deploys on all branches:

ignore: /.*/

and we only do it on tags

from freesurfer.

Shotgunosine avatar Shotgunosine commented on July 18, 2024

from freesurfer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.