summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab-ci.yml: Make the cache a hidden directorySam Thursfield2017-10-251-5/+7
| | | | | | | | | | | | YBD scans the current working directory for definition files, which is problematic now that we store hundreds of cached Git repos and OSTree repos in a subdir of the definitions repo. To avoid wasting loads of time calling stat() on tens of thousands of directories, the cache is now in a hidden directory. This depends on a change to YBD that causes it to efficiently ignore hidden directories: https://gitlab.com/baserock/ybd/commit/6676c4ac0
* Pull in ybd gits cache for bst-convert jobBen Brown2017-10-251-0/+1
|
* .gitlab-ci.yml: Fix BuildStream artifact cache configurationSam Thursfield2017-10-231-2/+2
| | | | This is hopefully what has been preventing BuildStream from pushing.
* .gitlab-ci.yml: Point the cache to the correct gits locationJavier Jardón2017-10-171-2/+2
|
* Remove ybd cache to ensure buildstream tasks have enough disk spaceBen Brown2017-10-171-0/+3
|
* Remove '];' from closing of if statementBen Brown2017-10-131-1/+1
|
* Remove BuildStream update taskBen Brown2017-10-131-8/+0
| | | | | Removing since the docker image contains an installation of BuildStream and is updated nightly (as pointed out by Sam).
* Use pull policy for deploy stagesBen Brown2017-10-131-2/+12
| | | | | By default GitLab CI fetches and re-pushes cache, given deploy stages won't cause the git repos to change, only fetch.
* Disable fetching of artifacts from previous stagesBen Brown2017-10-131-0/+40
| | | | | By default, GitLab CI fetches the artifacts of all previous stages. Be explicit about which artifacts we do and don't want.
* Separate ybd and bst remote cachesBen Brown2017-10-131-7/+42
|
* Store YBD_base in /cacheBen Brown2017-10-131-1/+1
| | | | | Should we pick up the same runner in another job, artifacts will be reused from this path.
* Use templates for setup scriptsBen Brown2017-10-131-48/+79
| | | | Allows us to only perform the tasks required for each tool.
* .gitlab-ci.yml: Use CI_PROJECT_DIR instead of $(pwd)Sam Thursfield2017-10-041-8/+6
|
* .gitlab-ci.yml: Fix caching, part threeSam Thursfield2017-10-041-10/+12
| | | | | | | | | With the previous attempt, storing files in the cache worked OK but restoring from the cache did not. The symlink workaround wasn't enough as the symlink gets created /after/ the cache is restored. Now the whole /builds tree is on a separate Docker volume, so we should be able to really store the cache inside the build directory.
* .gitlab-ci.yml: Really enable caching of downloaded sourcesSam Thursfield2017-10-041-5/+9
| | | | | | | | | | It turns out that downloaded sources have never been shared between builds. Each container running a build has a `/cache` volume, but a new volume is created for each container so nothing is shared. We listed certain paths inside `/cache` to be saved by GitLab CI between runs using the "distributed runners cache" feature, but because the paths were outside the build directory it would just ignore them.
* .gitlab-ci.yml: Remove LANG and LC_ALLSam Thursfield2017-10-041-4/+0
| | | | | These are still needed, but are set correctly in the Docker image now so we don't need to repeat them here.
* .gitlab-ci.yml: Share buildstream source cache between jobsSam Thursfield2017-10-031-0/+1
| | | | This should give a massive performance improvement.
* project.conf: Set the artifact cache URL heresam/bst-artifacts-urlSam Thursfield2017-09-201-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is possible since this change: https://gitlab.com/BuildStream/buildstream/commit/00e08459c4 Older versions of BuildStream will fail to parse the project.conf file with this change; I think it's acceptable to force everyone to update as we are still in the development stage of the BuildStream migration. If you want to override the configuration for whatever reason you'll now need to put this in your ~/.config/buildstream.conf file: projects: baserock: artifacts: pull-url: ... push-url: ... If you set a "global" artifacts configuration by doing this... artifacts: pull-url: ... ... it'll be ignored because the project-specific config from this project.conf file will take precedence. Overriding seems to be done for the whole config block, so if you only set push-url in your buildstream.conf file it will be interpreted to mean "set push-url, and unset pull-url" rather than "set push-url and use the existing value of pull-url."
* Retry on transient fetch errorsbenbrown/get-source-errorsBen Brown2017-09-071-0/+1
| | | | | | | | | | | In order to bypass: Cloning repository... Cloning into '/builds/gitlab/omnibus-gitlab'... error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
* Continue build on missing keybenbrown/no-key-errorBen Brown2017-09-061-7/+11
| | | | | We don't want to error out here, otherwise builds will only pass on protected branches.
* .gitlab-ci.yml: Avoid pulling artifacts for every BuildStream buildSam Thursfield2017-08-291-15/+15
| | | | | | | | | | | We shouldn't download artifacts to the CI workers every time somebody pushes just to throw them away again. This should speed up no-op builds. The functionality is implemented in two shell scripts. Context is here: https://gitlab.com/BuildStream/buildstream/issues/77 It would be possible to do this with a single script, but I wanted to avoid doing any argument parsing code in shell.
* .gitlab-ci.yml: Use the official BuildStream Docker imageSam Thursfield2017-08-291-1/+1
| | | | | | This is a Fedora 26 image which has BuildStream's dependencies pre-installed, which saves us waiting to `dnf install` everything at the start of every CI job.
* Automate conversion and testing using GitLab CISam Thursfield2017-08-251-27/+169
|
* .gitlab-ci.yml: Use gitlab cache to store git reposjjardon/cacheJavier Jardón2017-07-241-0/+5
|
* .gitlab-ci.yml: Always run the full CI to avoid confusion when accepting MRjjardon/always_run_CIJavier Jardón2017-07-061-36/+0
|
* Use /cache to put all contentsstaging/jjardon/revert_gcc71Javier Jardón2017-07-061-0/+3
| | | | | | | | | | | This is how a runner looks like: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/docker-252:1-262208-36eaa91b86966a7afa39fbdbe717bdec58bc10efc52e09accd3e8e9ee4038658 10G 144M 9.9G 2% / tmpfs 3.9G 0 3.9G 0% /dev tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/vda1 79G 1.2G 75G 2% /cache shm 64M 0 64M 0% /dev/shm
* .gitlab-ci.yml: Add deploy step for the build- systemstaging/jjardon/deployJavier Jardón2017-02-081-13/+13
| | | | | This way we can offer an up-to-date rootfs of a build system that can be used in a chroot to build another systems
* .gitlab-ci.yml: Use debian:stretch docker image instead python:2.7-slimstaging/jjardon/change_docker_imageJavier Jardón2017-01-291-2/+2
| | | | | | python:2.7-slim install python in /usr/local/bin instead /usr/bin, which is making deployment extensions to fail as they expect python to be in /usr/bin/python
* Validation CIjjardon/deployDaniel Firth2016-12-121-0/+8
|
* Add shortcut for checking ybd branches.Daniel Firth2016-12-121-1/+2
| | | | Branches that follow the pattern "staging/fromybd/$1" will `git checkout ybd -b $1`
* .gitlab-ci.yml: Serialize the ci a bitJavier Jardón2016-12-111-13/+19
| | | | | So we have more runners available if we have serveral users using the ci system
* .gitlab-ci.yml: Deploy a chroot of the minimal systemstaging/offmasterJavier Jardón2016-12-051-1/+15
|
* Update .gitlab-ci.yml for new locations of things.Tristan Van Berkom2016-11-111-13/+5
| | | | | | And remove the build of openstack. Change-Id: I62d028000ce4e446d1722fd486bf192dbc724265
* .gitlab-ci.yml: Execute install_requirements.sh inside ybd folderstaging/jjardon/requirementsJavier Jardón2016-11-071-1/+1
| | | | | | | To avoid this error: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' Change-Id: I2edbf766ac161d34773a55b5591be03db0945409
* .gitlab-ci.yml: Add missing .morph in genivi-baseline-system-x86_64-generic ↵Javier Jardón2016-11-011-1/+1
| | | | | | system Change-Id: Idcbb01f93eaaafe6658baf37ecab86a817814abd
* .gitlab-ci.yml: GENIVI systems are inside the genivi folder nowJavier Jardón2016-11-011-2/+2
| | | | Change-Id: I95008108fd9e8aa6c9d3157fc748e6edc00c3802
* .gitlab-ci.yml: weston-qt5-system-x86_64.morph -> ↵Javier Jardón2016-11-011-1/+1
| | | | | | systems/weston-qt5-system-x86_64.morph Change-Id: I2792d794d6fb9148d256d0e4db696a27750d4644
* .gitlab-ci.yml: Disable armv7 build until we fix the problems with cloning reposJavier Jardón2016-10-271-9/+9
| | | | | | | This is the build log failing to clone glibc: https://gitlab.com/baserock/definitions/builds/5601838 Change-Id: I3ecdee9a77ad90488bc741c60ae49d610dbb8014
* .gitlab-ci.yml: Disable deployment of the build systemJavier Jardón2016-10-271-13/+13
| | | | | | | Until we know why It is failing: https://gitlab.com/baserock/definitions/builds/5576416 Change-Id: Ib2f00d340677899e934c32d2943f0ee22624284c
* .gitlab-ci.yml: Only build the whole set of system in the master and staging ↵Javier Jardón2016-10-271-0/+40
| | | | | | | | | | | | | branches In this way, individual developers can test specific system changing the .gitlab-co.yml file in their own branches without the need of building the whole set of system Everything should be built when sending a branch for merge (in a staging/ branch) and in when it gets actually merged (master) Change-Id: I94a60daa05b768be72eb0bc69070694939638dab
* .gitlab-ci.yml: Add a armv7l job to build the build-systemjjardon/ci-armJavier Jardón2016-10-271-0/+7
| | | | Change-Id: Ice1d5513a44667ec314ed0fcb7a583b4bbfdfd98
* .gitlab-ci.yml: Add dependencies for the deploy stepJavier Jardón2016-10-271-0/+2
| | | | Change-Id: Ifda0f9615b9c876d93691fb08d6715eea65e4e58
* .gitlab-ci.yml: Do not call shJavier Jardón2016-10-271-1/+1
| | | | Change-Id: Ibd3cfb1728423f6b7c5e96d08bf7f7073d5d56d8
* Revert ".gitlab-ci.yml: Do not call sh"Javier Jardón2016-10-271-1/+57
| | | | | | This reverts commit fc72e0f9ec501e986839dbb0bf10dff0675e6604. Change-Id: I1a47c123ed26a5503bce9b60024aed796821029d
* .gitlab-ci.yml: Use python-slim imageJavier Jardón2016-10-261-1/+2
| | | | Change-Id: I7229e8e4b91feff9e14927c8b508be636c657fa2
* .gitlab-ci.yml: Do not call shJavier Jardón2016-10-261-57/+1
| | | | Change-Id: I7acae4cdb9f56d7ef6d30e82018bfe3c16785500
* .gitlab-ci: Build trovePedro Alvarez2016-10-171-0/+5
| | | | Change-Id: If2f3d130d713b72d67a0437450bec76a83f48e20
* .gitlab-ci.yml: Use docker python:2.7 image instead python:3.6Javier Jardón2016-10-131-1/+1
| | | | | | ybd is not python3 yet Change-Id: I94e1cb24324a89a5928f92df0bbbb990ee74ade7
* .gitlab-ci.yml: Use docker python:3.6 image instead the generic oneJavier Jardón2016-10-131-0/+2
| | | | Change-Id: Ida60053a112c349fe678f5a42134962c60698e80
* .gitlab-ci.yml: Use ybd's install_dependencies.sh scriptjjardon/install_dependenciesJavier Jardón2016-10-131-2/+1
| | | | Change-Id: I8718a0d814eaca10f88a46502b7a35c64c7940f3