Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itchio/ci.itch.ovh
:guardsman: Our Jenkins job definitions, powered by cigale
https://github.com/itchio/ci.itch.ovh
Last synced: about 2 months ago
JSON representation
:guardsman: Our Jenkins job definitions, powered by cigale
- Host: GitHub
- URL: https://github.com/itchio/ci.itch.ovh
- Owner: itchio
- Created: 2015-12-08T14:37:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-11T01:41:09.000Z (almost 9 years ago)
- Last Synced: 2023-08-06T06:24:05.743Z (over 1 year ago)
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ci.itch.ovh
![needs more badges](https://img.shields.io/badge/CI%20/%20CD-pretty%20cool-FFC107.svg)
This repo contains human-readable, diffable, YAML definitions
for all jobs running atWe use [cigale](https://github.com/itchio/cigale)
to generate XML config that Jenkins can grok from these files.To install cigale, make sure you have ruby & rubygems installed, and run:
```bash
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:
```bash
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```bash
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 atThen run:
```bash
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`.