summaryrefslogtreecommitdiff
path: root/semaphoreci
Commit message (Collapse)AuthorAgeFilesLines
* semaphore: merge semaphore scripts to avoid code duplication (#12365)Frantisek Sumsal2019-04-243-104/+111
|
* scripts: use 4 space indentationZbigniew Jędrzejewski-Szmek2019-04-122-3/+6
| | | | | | | | | | | | | | | | | | We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed. 4 sp was the most common, in particular the majority of scripts under test/ used that. Let's standarize on 4 sp, because many commandlines are long and there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp also seems to be the default indentation, so this will make it less likely that people will mess up if they don't load the editor config. (I think people often use vi, and vi has no support to load project-wide configuration automatically. We distribute a .vimrc file, but it is not loaded by default, and even the instructions in it seem to discourage its use for security reasons.) Also remove the few vim config lines that were left. We should either have them on all files, or none. Also remove some strange stuff like '#!/bin/env bash', yikes.
* semaphoreci: caching and more robust creation of container imageMartin Pitt2019-03-041-20/+37
| | | | | | | | | | | | lxc-create in semaphore sometimes fails with ERROR: Unable to fetch GPG key from keyserver Which often happens behind proxies. As the default key server is a load balancer, retry a few times. Also, cache the container image between runs, and only recreate it when it is older than a week.
* semaphoreci: Run subset of autopkgtests in LXC (#11814)Martin Pitt2019-03-012-27/+76
| | | | | | | Run build/test in LXC for now, as full nested QEMU is too brittle right now: https://github.com/semaphoreci/semaphore/issues/37 But this at least runs some tests. It ensures that systemd generally works in containers, as well as provides some backup results if the main Ubuntu CI is down.
* semaphore: keep build settings in the repositoryEvgeny Vereshchagin2019-02-092-0/+35
It should make it easier to tweak them without having access to SemaphoreCI itself (I'm glad I'm an admin there now but it shouldn't be necessary to be an admin to add a couple of kludges :-)). More importantly, changes to the settings will go through review and be tested before they're applied globally potentially breaking Semaphore as it happened two days ago. I'll point Semaphore CI to these scripts once the PR is merged.