Closed jastram closed 9 years ago
Possible solution discussed by @MarcBehrens and @jastram :
We already have Jenkins (via CloudBees) in place. Jenkins is capable of observing a git repository. Therefore, the process could work as follows:
The environment and automation for the build computer is already available. First results of a complete code generation and compilation is available at https://github.com/openETCS/modeling/pull/384 . Is there an upate on the CI?
Hello Marc,
Unfortunately, nothing new yet, it's in the pipeline.
Hello Marc,
We're making some progress here and started to set up the infrastructure. While we do this, a few questions:
So: Which route would you like to go, 2 or 3? My recommendation is 3.
Hello Michael,
To 1) since we are working on SCADE code the entrance point is the folder
https://github.com/openETCS/modeling/tree/master/model/Scade
and below.
To 2) and 3) A marker file would be a good way for the second step.
I think the first step would be to get a nightly automatic code generation and compilation running with the aim to provide a nightly executable of the OBU.
This means that we would provide the nightly code which is then further processed.
Should we also provide the executable or is it possible to process this on cloudbee?
In a second step we could then talk about a marker or summary within the cloudbees server providing only an update of code/executable when changes occur.
I would like to keep the commits to the modeling repository as slim as possible.
Kind regards
Marc
Hello Marc,
Please check out the updated description of this issue, where I propose a new implementation. Would that work for you?
@MarcBehrens - CloudBees is now connected to the modeling repository and checks once an hour for changes. As far as I am concerned, you can start using this for your automation.
So essentially, we are done with this. I will therefore close this issue.
I filed #492 as a follow-up, as you requested at the Backlog grooming session.
I will be out of the office starting 05.06.2015 and will not return until 20.06.2015
Ich werde mich sobald wie m�glich bei Ihnen melden. Bei dringenden Angelegenheiten wenden Sie sich bitte an: Carsten.Kuebler@twt-gmbh.de
I will get back to you as soon as possible. In case of urgent matters please contact: Carsten.Kuebler@twt-gmbh.de
Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "Re: [toolchain] Requirements: Model-building CI (#487)" gesendet am 09.06.2015 23:00:27.
Diese ist die einzige Benachrichtigung, die Sie empfangen werden, w�hrend diese Person abwesend ist.
WP4 requested continuous integration for the Scade model, and indicated that WP3 is likely interested as well. Here are the assumptions and requirements for such a system:
Specification
Status file
Reasoning
Just updating the status would be problematic: imagine two subsequent changes that are picked up by Jenkins: the first one with changes in the Scade folder, the second without. If we'd just update the status, the change could be missed. Using timestamps allows the requesting script to memorize how far the status file had been processed last time. Any non-zero value since that timestamp would count as a significant change.