Code Monkey home page Code Monkey logo

automation's Introduction

FieldTrip automation

This repository contains various scripts used to manage releases and to link the different development tools together. Some scripts are executed by cron jobs and some scripts are executed by webhooks. The webhooks are triggered following a pull request or merged commit on GitHub to the fieldtrip/fieldtrip or fieldtrip/website repositories.

The documentation on http://www.fieldtriptoolbox.org/development/integration has some additional details.

fieldtrip/fieldtrip

This uses a webhook processed by the DCCN webhook service. It does the following

  • send a tweet
  • github maintenance
    • synchronize identical files in the different private directories and push the update back to GitHub
    • synchronize the GitHub repository to BitBucket and Gitlab
    • synchronize the fileio repository on GitHub
    • synchronize the qsub repository on GitHub
  • recreate the reference documentation

fieldtrip/website

This uses a webhook processed by the DCCN webhook service. It does the following

  • rebuild the website
    • update the tags and push the update back to GitHub
    • rebuild the static version of the website
    • add some assets that are not part of the repository

cronjob

Furthermore there are a number of daily jobs running in a cronjob on the DCCN compute cluster. These take care of the following

  • execute all test scripts using the dashboard batch
    • at the end this will check whether all tests passed, merge changes to the release branch and make a tag
  • send an email with the latest dashboard results
  • make the latest release available on the ftp server
  • make the latest release available at the DCCN under home/common

automation's People

Contributors

apjanke avatar robertoostenveld avatar schoffelen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

automation's Issues

Use bash everywhere?

Some of the shell scripts use bash and some use plain sh. What do you think about using bash everywhere? That would let you use the [[ ... ]] construct instead of [ .. ], which is more robust about quoting and produces nicer error messages when something goes wrong.

bash is available just about everywhere these days, so requiring it shouldn't be a problem.

not only add tag, but also make a proper release

Right now we use a daily cron job script to tag a specific commit on the release branch if that commit passed all dashboard tests. That causes those versions of the code to show up at https://github.com/fieldtrip/fieldtrip/tags with the version identifier YYYYMMDD.

Besides tagging, we could also make an explicit release using the gh command line client. See https://cli.github.com/manual/gh_release_create and https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases

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.