The International Simutrans Forum

 

Author Topic: Nightly build site discussion  (Read 105504 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4445
  • Languages: EN, DE, AT
Re: Nightly build site discussion
« Reply #175 on: September 07, 2015, 06:52:55 AM »
It seems to work again, the newest build is available.
Parsley, sage, rosemary, and maggikraut.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #176 on: September 07, 2015, 02:39:20 PM »
Me and Isaac will take a look on setting a job on our server to check for updates if their script call fails.

Online IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4057
  • Trying to be thankhelpfull.
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: Nightly build site discussion
« Reply #177 on: September 26, 2015, 01:29:35 AM »
Yololo!


Oh it seems you've got a very nice Nightly Builds page.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4445
  • Languages: EN, DE, AT
Re: Nightly build site discussion
« Reply #178 on: November 14, 2015, 10:14:26 AM »
I noticed that there are versions compiled for MACs. Who does the compilation? I must have completely missed any discussion on this.
Parsley, sage, rosemary, and maggikraut.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5169
  • Languages: EN, NO
Re: Nightly build site discussion
« Reply #179 on: November 14, 2015, 10:40:17 AM »
I noticed that there are versions compiled for MACs.

Where?

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3550
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Nightly build site discussion
« Reply #180 on: November 15, 2015, 05:15:55 AM »
Maybe he missed the "Not available"? :)

I did, I think, the first time I saw it.

Even now, the blue and orange and grey are pretty, so I hope it's not just a "disabled" colour if we get Mac nightlies. ;-)

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #181 on: November 15, 2015, 04:29:28 PM »
Don't worry Isaac, those are the definite colours. :D

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3550
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Nightly build site discussion
« Reply #182 on: November 15, 2015, 08:07:13 PM »
:small satisfied sigh of pleasure: :)

Offline matio69

  • *
  • Posts: 7
Re: Nightly build site discussion
« Reply #183 on: November 19, 2015, 08:44:52 PM »
Is there any near-future timing for MacOS nightly build resolution? :o

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #184 on: December 10, 2015, 11:12:33 PM »
The site has been updated to allow download of the executables only. It's also less bright.

However the package comes also with the license files, as they are required for the distribution; and the simuconf.tab file, so you are safe of its changes.



We also have our check for new builds in case their script fails to report to us. It will obviously download the files, check the hash and update the whole site.

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3550
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Nightly build site discussion
« Reply #185 on: December 11, 2015, 07:05:24 AM »
It does look better. :)

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4445
  • Languages: EN, DE, AT
Re: Nightly build site discussion
« Reply #186 on: January 27, 2016, 05:21:21 PM »
The latest build is not available on the nightly site, while it is available at the compile farm:

http://farm.openttd.org/browse/SIMU-NIGHTLY-165
Parsley, sage, rosemary, and maggikraut.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #187 on: January 27, 2016, 07:01:21 PM »
The logs show it was available at the usual time. I need to understand more about cache headers to send them correctly for our sites, so your browser doesn't fool you.



The only thing I can't understand though is why all systems hide the GMT. It's like we are in Medieval time and we think that it's midday in the whole universe.

Because our server reports the files were uploaded at 5:13. Theirs show the job was finished at 8:13. I'm guessing this means the job sent the files right because the minutes match. I'll see if I can find out.

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1283
Re: Nightly build site discussion
« Reply #188 on: February 03, 2016, 10:09:59 PM »
Whats with the robots.txt and 'unavailable'? They show up ok with selecting older builds, including the current one listed as older.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #189 on: February 04, 2016, 01:04:17 AM »
The site is fixed, I'm investigating what happened.

Edit:
All fixed, there were quite a few bugs.
« Last Edit: February 04, 2016, 02:42:20 AM by An_dz »

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #190 on: February 09, 2016, 02:09:54 AM »
The nightly site now instructs your browser how to cache content, now it will ensure that you always see the updated page.

I suggest everybody, but especially If you were having problems not seeing the content updated, to either clear your cache or hit Ctrl+F5 on the page.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4445
  • Languages: EN, DE, AT
Re: Nightly build site discussion
« Reply #191 on: May 27, 2016, 04:32:22 PM »
No new version seems to be pushed to the nightly server, here is an error log:

http://farm.openttd.org/browse/SIMU-NIGHTLY-PUB-190

Who can fix this?
Parsley, sage, rosemary, and maggikraut.

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3550
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Nightly build site discussion
« Reply #192 on: May 27, 2016, 07:01:56 PM »
Ah, sorry, that's a side effect of me having to move servers. It should be simple to fix, although I can't. The new server is legit, though.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #193 on: June 02, 2016, 03:57:16 AM »
Thankfully I created that script to download ourselves the latest nightlies in case bugs like this happens. So the Nightly page is working.

One has to contact that guy I forgot who was to update the keys, info about him is on that thread when the nighly page was taken down and I started the new one.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9098
  • Languages: De,EN,JP
Re: Nightly build site discussion
« Reply #194 on: June 02, 2016, 08:46:45 PM »
THe key has been update already last Saturday or so. I tis truebrain at the OpenTTD forum.

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
Re: Nightly build site discussion
« Reply #195 on: April 12, 2018, 08:27:50 AM »
Where can I download nightly builds?

This site is not updated anymore:
https://nightly.simutrans.com/en/

and this one is not accesible:
http://farm.openttd.org/browse/SIMU-NIGHTLY

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5169
  • Languages: EN, NO
Re: Nightly build site discussion
« Reply #196 on: April 12, 2018, 03:48:06 PM »
The first one is probably not updating because the latter doesn't work. I doubt there are others publishing regular development builds. (There was none at all when I joined.) If there is, there is a question of whether it is legit and not some trojan factory.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9098
  • Languages: De,EN,JP
Re: Nightly build site discussion
« Reply #197 on: April 14, 2018, 03:24:24 PM »
No news on that on openttd forums, even though their nightlies should be affected too. Their last release is from 6th April. No builds before that are likely some scripting troubles.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5169
  • Languages: EN, NO
Re: Nightly build site discussion
« Reply #198 on: April 14, 2018, 04:54:36 PM »
According to one of the discussions on their forum (the one about version control, which I just happened to decide to look at), OpenTTD does not use the forum anymore for development related matters, but IRC.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9098
  • Languages: De,EN,JP
Re: Nightly build site discussion
« Reply #199 on: April 15, 2018, 03:33:05 AM »
Anyway, it seems like thez moved to a Jenkins build (and as such we lost support for Simutrans nightlies) http://farm.openttd.org/jenkins/

I will probably set up a cross compile at my german forum server, so one could supply them from there.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5169
  • Languages: EN, NO
Re: Nightly build site discussion
« Reply #200 on: April 15, 2018, 07:36:31 AM »
I saw that they had some Jenkins scripts in GitHub, but I wasn't sure what they used earlier. Getting Jenkins to build Simutrans should be easy once there is a cross-compile environment on the server.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9098
  • Languages: De,EN,JP
Re: Nightly build site discussion
« Reply #201 on: April 15, 2018, 01:55:39 PM »
Why do you need Jenkins, when you have a cross compile environment? Simutrans does not have any automated tests ...

I have set up a crosscompilation on mz tiny virtual server, and it seems to compile and run on my machine: please test.
http://www.simutrans-forum.de/nightly/
(So far this is only the GDI windows version, build with the ancient Debian stable mingw64 (gcc4.x or so)

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5169
  • Languages: EN, NO
Re: Nightly build site discussion
« Reply #202 on: April 15, 2018, 03:19:17 PM »
Jenkins is not for running tests, it is for executing automated jobs based on various triggers (its original purpose and most common use probably is to run tests, though). I use it at work to do all the stuff required for building a release, as well as uploading that release to various servers. Basically everything that happens to the code post-commit. (Except getting the go-ahead to put new version into production from those I work for, who do some manual testing first, but even that is supposedly possible.)

A cross-compile environment on the other hand, does nothing by itself.

An easily automated test for Simutrans would be to check that committed code compiles for every supported architecture. Then the committer can get an e-mail if they broke something within minutes of doing it.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9098
  • Languages: De,EN,JP
Re: Nightly build site discussion
« Reply #203 on: April 16, 2018, 05:37:55 AM »
To have a build at mindnight I will a cronjob, which does

cd trunk
svn revert -R .
svn up
./../bin/mingw64 make
cp sim sim.exe
./distribute
cp simuwin-gdi.zip /var/.../html/nighlies
chown www-data:www-data /var/.../html/nighlies/simwin-gdi.zip

while setting up Jenkins with a build system looks like a many day job learning Jargon. Just a random line copyind from a short guide "Now that Jenkins is configured, you are ready to orchestrate or maintain a CI pipeline. I recommend checking out the Jenkins documentation Getting Started with Pipeline to create and deploy your first CI pipeline."

Sorry, if I get money for such nonsense, I can do this. But my time is limited and I do not work in development, so this is useless Jargon to me. The shell script is all I can do, and takes less than 10 minute to write.

Anyway, does the nightly run for you?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5169
  • Languages: EN, NO
Re: Nightly build site discussion
« Reply #204 on: April 16, 2018, 06:18:43 AM »
Well, that shell script would be needed for Jenkins as well, except for the first three lines. In addition, it would not do the build if there are no changes, so that the dating of the files reflect when things last changed. And send e-mails to the guilty person(s) if the build fails due to compilation errors or whatnot. If all the developers were given access to its web interface, they would also be able to examine the logs and run builds manually to examine why the builds failed for platforms other than their own, or (less importantly) just to trigger release builds at different times.

So while Jenkins is a rather big tool with several features we don't need (and even more in plugins), I just thought such features out of the box would seem useful.

(Jenkins' new pipeline script system is indeed a lot to get familiar with, but I think they still support the old semi-point-and-click way of doing things.)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9098
  • Languages: De,EN,JP
Re: Nightly build site discussion
« Reply #205 on: April 16, 2018, 07:39:47 AM »
Anyway, no comments, but a complete (including packset installer) nightly is now generated at 2am MET (I think the server uses that for its crontab, not sure). Download at http://www.simutrans-forum.de/nightly/
« Last Edit: April 16, 2018, 12:48:56 PM by prissi »

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
Re: Nightly build site discussion
« Reply #206 on: April 16, 2018, 11:08:55 AM »
Latest nightly runs OK on my Win64 machine.  :)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9098
  • Languages: De,EN,JP
Re: Nightly build site discussion
« Reply #207 on: April 18, 2018, 04:45:06 AM »
Since the script run nicely, the new nightlies will be now generated there.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2786
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Nightly build site discussion
« Reply #208 on: May 23, 2018, 07:02:39 PM »
The nightlies site is working again.

prissi and I fixed it this week and the site will be updated at the same time as prissi's server.

Executable only packages are available as normal, just like the option to download older versions.

Offline Flemmbrav

  • *
  • Posts: 111
  • Languages: DE, EN
Re: Nightly build site discussion
« Reply #209 on: May 25, 2018, 08:24:43 AM »
Hey!
Would it be possible add makeobj nightlys to our nice nightly collection?