Code Monkey home page Code Monkey logo

Comments (8)

pbellec avatar pbellec commented on September 6, 2024

Leads to simplify:

  • includes somehow the dependency of niak on the brain connectivity toolbox and psom as part of the git release. Not sure whether that is possible but worth investigating. This would avoid pushing the niak release to nitrc altogether.
  • Link the niak repo on docker with the niak repo on github. This will automatically build and release the xxxx and latest images.
  • Which, btw, would be more efficient if the templates of niak where split into a separate repo, that would get updated less often. That way new niak images would typically change only by a very thin layer of pure .m code.
  • Implement a version for targets separate from the niak version. The targets will be generated independently from niak, and much much more infrequently.

If all of that works, creating a new niak release would basically just include changing the niak version in niak_gb_vars.m, creating a new tag and pushing to github. The docker images would be created automatically. And if we use docker to run niak on servers, all we would need to do is invoke the latest niak image.

from niak.

pbellec avatar pbellec commented on September 6, 2024

Alright, so another fun fact. When making a new release of the target for the tests, it is necessary to change a new variable gb_niak_target_test. It contains the version of the target (formatted like YYYY-MM-DD). BUT once the target is released on NITRC, it is assigned a random URL. This URL has to be manually added line 68 in niak_wget. We need to move to a different place to release the targets, otherwise we will have to add this manual step for every new release of target data for tests.

from niak.

pbellec avatar pbellec commented on September 6, 2024

I have created a new repo for niak testing
https://github.com/SIMEXP/niak_test

I have also applied to early access to github large file support. I have installed the associated software and it's super easy to use. We'll use that repo to release new test data, which will appear on a predictable URL.

from niak.

poquirion avatar poquirion commented on September 6, 2024

Started testing automatic release on https://github.com/poquirion/docker_build.

from niak.

poquirion avatar poquirion commented on September 6, 2024

Since it is not that big, I will put the the target in niak_test. I will use tags make package and pull these package to run tests.

from niak.

pbellec avatar pbellec commented on September 6, 2024

Great! As soon as simexp get approved for lfs we will simply transfer them over.

from niak.

poquirion avatar poquirion commented on September 6, 2024

The release tool has now its own git repo.

To do the release, we still need to:
Add a valid psom_gb_vars_local.m where the package is installed.
Manually trigger the a (not so) automatic docker image build here.

from niak.

poquirion avatar poquirion commented on September 6, 2024

Release issue should be posted on the release_tools site.

from niak.

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.