sonata-project / dev-kit

Development kit of the Sonata-Project
https://master-7rqtwti-ptm4dx6rjpjko.eu-5.platformsh.site/
42 stars 42 forks source link

Run a daily build via travis cronjob #401

Closed OskarStark closed 2 years ago

OskarStark commented 6 years ago

Refs: https://github.com/sonata-project/dev-kit/pull/383#issuecomment-359782618

and we should run a cron build on sandbox (and maybe every project) every day 😄 35276957-72b74f5c-0045-11e8-849e-9003d8c2e6a1

kunicmarko20 commented 6 years ago

cc @sonata-project/contributors we need this, @jordisala1991 saw that media bundle failed because of the new update to AdminBundle and we could have seen this yesterday.

I think anyone can set this up, we just need all to agree?

OskarStark commented 6 years ago

I think you can set it up, why should be somebody against this?

kunicmarko20 commented 6 years ago

Well, I do not know, was there a reason why you made an issue instead of adding it? 😄

kunicmarko20 commented 6 years ago

~I just saw that we already have cron jobs setup but they are monthly, we can just switch it to daily.~ Nop, my bad

OskarStark commented 6 years ago

No reason but no time to setup all repos

We should add a todo checkbox list

kunicmarko20 commented 6 years ago

~Should I just switch monthly to daily or add new entry?~ nvm 😅

jordisala1991 commented 6 years ago

I like the idea, but keep in mind to put a time after 2:00 because otherwise we will collapse travis with builds

kunicmarko20 commented 6 years ago

I added daily cron jobs to all travis repos we have for stable branches and they are starting now, so I guess they will run every morning

kunicmarko20 commented 6 years ago

Do we get some kind of notification if travis fails or can we integrate that into slack or something?

kunicmarko20 commented 6 years ago

So, cron jobs are still running and this can block potential PRs, maybe enable it late in the evening or do not enable all repos?

OskarStark commented 6 years ago

Maybe 5 oclock in the morning would be great

Otherwise we could ask for a sponsor on twitter for private Travis 😊 should be faster, because it could run more in parallel

Marko Kunic notifications@github.com schrieb am Mi. 11. Apr. 2018 um 10:07:

So, cron jobs are still running and this can block potential PRs, maybe enable it late in the evening or do not enable all repos?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sonata-project/dev-kit/issues/401#issuecomment-380365371, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8xeylVBoTOxuyMqFO8MUY76HmOo4s4ks5tnbm5gaJpZM4S6ts4 .

kunicmarko20 commented 6 years ago

After 4 hours, they are still running... 😞

jordisala1991 commented 6 years ago

Maybe we should not have crons then :P

Or we should configure to run if there are no build that day.

kunicmarko20 commented 6 years ago

We can do that and maybe change for active repos to be daily and for others weekly?

soullivaneuh commented 6 years ago

:-1: for one reason: We already use a lot of resources and time to run the CI builds.

Run them everyday would be overkill and will make PR jobs stuck for a while.

soullivaneuh commented 6 years ago

At least, weekly build would be debatable IMHO, even if I personally don't see the interest.

OskarStark commented 4 years ago

Now with GitHub actions we can schedule a daily build, WDYT jordisala1991 ?

jordisala1991 commented 4 years ago

Yes, it can be done, it should be easy (but I dont know if they will trigger for every maintained branch or only the default one)

OskarStark commented 4 years ago

Open for a PR @jordisala1991 ?