Giter Site home page Giter Site logo

ci.itch.ovh's Introduction

ci.itch.ovh

needs more badges

This repo contains human-readable, diffable, YAML definitions for all jobs running at https://ci.itch.ovh

We use cigale to generate XML config that Jenkins can grok from these files.

To install cigale, make sure you have ruby & rubygems installed, and run:

gem install cigale

You should be able to run cigale now.

Note: cigale 0.4.3 or higher is required

Testing config files

To test your changes, run:

cigale test src -o tmp

It'll output a bunch of .xml files in tmp/ that you can compare with Jenkins-generated files (e.g. /var/lib/jenkins/jobs/foobar/config.xml)

If you're suspecting macros and the XML output isn't clear enough, use the dump command to dump YAML after all macros have been expanded

cigale dump src -o tmp

Updating Jenkins config

First off, copy secret/cigale.sample.yml to secret/cigale.yml and edit in your actual credentials.

Don't actually put your password, use your Jenkins API key, which you can find at https://ci.itch.ovh/user/YOUR_JENKINS_USERNAME/configure

Then run:

cigale update src

That command creates or updates all jobs defined in src/**/*.yml

If you've renamed some jobs, rename them from the Jenkins UI before running cigale update.

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.