Code Monkey home page Code Monkey logo

Comments (8)

kelson42 avatar kelson42 commented on August 25, 2024

No clue about that, I think @mgautierfr should be able to help you for that question.

from kiwix-build.

mgautierfr avatar mgautierfr commented on August 25, 2024

We can schedule recurrent build at only three different frequencies (daily, weekly or monthly).
And we cannot define at which moment the build is launched (the hour for daily builds or the day of the weekly builds).

Monthly is definitely a too small frequency.
We could move to a weekly build. On a technical point of view, it will not be a problem. Dependencies change very few now (and we could temporary move to a daily build if needed) and build on PR will still be triggered. The main problem is that we would have no more daily build but weekly build.
@kelson42, is it acceptable for you ?

On better solution on middle/long therm would be to reduce the build time by reusing the dependencies archives generated by previous build.
It's a viable solution but I will not do it soon : recurrent builds are building recurrent (daily or weekly) artefacts but also generate dependencies archives for other sub-projects. We need to be sure that archives generated are always up-to-date with last version of dependencies.
To be sure of that, the recurrent builds in travis are building everything from scratch. It's time consuming but it's the easiest to implement.
Using old archives to generate new ones is somehow the opposite of the present solution. If we go in this direction kiwix-build need a system to invalidate the cache of previous builds. It is possible but I think we have higher priorities for now.

from kiwix-build.

mossroy avatar mossroy commented on August 25, 2024

If you decide to change the frequency, please keep me informed, so that I also modify the kiwix-html5 travis nightly builds accordingly

from kiwix-build.

mhutti1 avatar mhutti1 commented on August 25, 2024

I'm not entirely sure but could it be that travis schedules the job to run at the time you initialy set it. So if we reset up the job at another time it would run then?

from kiwix-build.

kelson42 avatar kelson42 commented on August 25, 2024

I prefer to keep nightlies and wait 2 hours for merge request builds.

from kiwix-build.

mossroy avatar mossroy commented on August 25, 2024

Maybe an option would be to trigger the nightly builds ourselves.
If we have an API to do that, and Travis does not let us choose the time when a nightly build is started, we might setup a cron on a kiwix server, that starts the nightly build at a time when it might not annoy anybody.
I did not test, but there seems to be such API : https://docs.travis-ci.com/user/triggering-builds/
I agree with @mhutti1 that it was annoying during the hackathon.

from kiwix-build.

kelson42 avatar kelson42 commented on August 25, 2024

The nightlies build now during the night (European Time), is that a good enough workaround?

from kiwix-build.

kelson42 avatar kelson42 commented on August 25, 2024

good enough for @mhutti1

from kiwix-build.

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.