Thanks Miguel share your approach. We'll look into it, the aim for NuttX is keep nuttx/ and apps/ user-end projects clean and do not mess up with CI stuffs. And now prepare to use Apache Infra Jenkins CI firstly.
Miguel Ángel Herranz <mig...@midokura.com.invalid> 于2020年1月9日周四 下午7:45写道: > Hi, > > I have configured Jenkins CI pipelines in the past and aside the scripts > running in the jobs, managing the jobs definition in the UI can be a pain, > since is easy to apply untrackable changes that impact the pipeline. > > So I am wondering if you are going to use any kind of solution like Jenkins > Job Builder (https://docs.openstack.org/infra/jenkins-job-builder/). It > was > created by OpenStack to manage Jenkins jobs. Basically, aside of > bash/python/etc scripts to be run by the jobs, you define your > pipeline/jobs using YAML files that could be easily versioned in a public > repo, and put your Jenkins user/pass in a private file. Then invoking the > tool that will contact the Jenkins service and setup everything as declared > in the YAML files. This way to replicate all the pipeline and jobs to > another Jenkins instance should be easy. > > I successfully used that approach in previous projects and I think is > really useful to managing complex situations. If there is interest I can > help, since I have previous experience with it. > > Cheers, > Miguel > > > > > > > > On Thu, Jan 9, 2020 at 10:32 AM Haitao Liu <liugu...@gmail.com> wrote: > > > Or https://github.com/NuttX/tools would be better to hold the jenkins CI > > scripts in this period? > > > > Haitao Liu <liugu...@gmail.com> 于2020年1月9日周四 下午4:08写道: > > > > > In my opinion, Jenkins CI scripts could be version controlled firstly > > > locally or my github. > > > Once the whole process is functional, I think the best place is to put > > > them into nuttx testing project if available. > > > > > > Adam Feuer <a...@starcat.io> 于2020年1月9日周四 下午12:51写道: > > > > > >> Haitao, > > >> > > >> Will the Jenkins CI scripts live in version control somewhere? > > >> > > >> cheers > > >> adam > > >> > > >> On Wed, Jan 8, 2020 at 7:44 PM Haitao Liu <liugu...@gmail.com> wrote: > > >> > > >> > Ok, get it. Thanks! > > >> > > > >> > Justin Mclean <jus...@classsoftware.com> 于2020年1月9日周四 上午11:07写道: > > >> > > > >> > > Hi, > > >> > > > > >> > > > Thanks, I think we can firstly get start in Linux and Windows. > > Then > > >> > > > consider how to setup Mac later, donate slave or other. > > >> > > > Two other question, nuttx uses some cross compile toolchains > etc. > > In > > >> > > > addition, Cygwin or MinGW is in need once nuttx built under > > Windows > > >> > > slaves. > > >> > > > Should we ask for Apache Infra to help install in slave > machines? > > >> > > > > >> > > If it's not already installed yet you need to ask for it to be > > >> installed. > > >> > > Best way to do is to raise an Infra JIRA. > > >> > > > > >> > > Thanks, > > >> > > Justin > > >> > > > >> > > >> > > >> -- > > >> Adam Feuer <a...@starcat.io> > > >> > > > > > >