summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* eviscerate gitlab-ci.yml for testing purposessam/ci-experimentsSam Thursfield2017-10-041-195/+14
|
* .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
* .gitlab-ci.yml: name the artifactsjjardon/name-artifactsJavier Jardón2016-09-081-0/+1
| | | | Change-Id: Iab0b351035ec24da207230f32cb0e1bc87fff0ca
* .gitlab-ci.yml: deploy build-system-x86_64 rootfsjjardon/deploy-rootfsJavier Jardón2016-09-071-0/+7
| | | | Change-Id: I5ee6b99a93fc933fc873076c81a038a8c0adcfa1
* .gitlab-ci.yml: Add build-system-x86_64Javier Jardón2016-09-071-0/+5
| | | | Change-Id: I54f761e0f03e0266c8a742e4ac1ce4fbe588e8c6
* .gitlab-ci.yml: Do not do deploy until ybd gets fixed to work in overlayfsJavier Jardón2016-09-051-28/+0
| | | | | | This is ybd issue https://gitlab.com/baserock/ybd/issues/241 Change-Id: If4a3795d9eb8bfbf53a9af0082fb638b426b59c6
* .gitlab-ci.yml: Clone ybd from its new location in gitlabJavier Jardón2016-08-311-1/+1
| | | | Change-Id: Ie3b42b0d19d7b1c788e1a5b068bd26711c44741e
* .gitlab-ci.yml: Add ivi-system-x64jjardon/ivi-ciJavier Jardón2016-07-251-0/+13
| | | | Change-Id: I7efbc571b655e345dd5c51440e51d77d61a5a2a8
* .gitlab-ci.yml: Intall gawkJavier Jardón2016-07-241-1/+1
| | | | Change-Id: I4b5a636a7a517fd61551133aa167068642364f64
* .gitlab-ci.yml: Set system locales to UTF-8Javier Jardón2016-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix Python encoding errors like: 16-07-22 02:09:00 [43/290/290] [ca-certificates] ERROR: surprise exception in sandbox Traceback (most recent call last): File "/builds/baserock/definitions/ybd/ybd/sandbox.py", line 59, in setup yield File "/builds/baserock/definitions/ybd/ybd/assembly.py", line 74, in compose build(dn) # bring in 'build-depends', and run make File "/builds/baserock/definitions/ybd/ybd/assembly.py", line 154, in build write_metadata(dn) File "/builds/baserock/definitions/ybd/ybd/splitting.py", line 184, in write_metadata write_chunk_metafile(dn) File "/builds/baserock/definitions/ybd/ybd/splitting.py", line 206, in write_chunk_metafile for path in files: File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 1068, in walkfiles for path, files in self.walk(normpath(path), wildcard=wildcard, dir_wildcard=dir_wildcard, search=search, ignore_errors=ignore_errors): File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 1037, in walk for p in recurse(path): File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 1030, in recurse for p in recurse(path): File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 1030, in recurse for p in recurse(path): File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 1030, in recurse for p in recurse(path): File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 1029, in recurse for path in listdir(recurse_path, wildcard=dir_wildcard, full=True, dirs_only=True): File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 987, in listdir return self.listdir(path, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/fs/errors.py", line 257, in wrapper return func(self,*args,**kwds) File "/usr/local/lib/python2.7/dist-packages/fs/osfs/__init__.py", line 268, in listdir return self._listdir_helper(path, paths, wildcard, full, absolute, dirs_only, files_only) File "/usr/local/lib/python2.7/dist-packages/fs/base.py", line 570, in _listdir_helper entries = [p for p in entries if isdir(pathcombine(path, p))] File "/usr/local/lib/python2.7/dist-packages/fs/errors.py", line 257, in wrapper return func(self,*args,**kwds) File "/usr/local/lib/python2.7/dist-packages/fs/osfs/__init__.py", line 254, in isdir return _isdir(self.getsyspath(path)) File "/usr/lib/python2.7/genericpath.py", line 41, in isdir st = os.stat(s) UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in position 113: ordinal not in range(128) Change-Id: I4bb449753c8edda6275de36e000888ad734993c5
* .gitlab-ci.yml: Add genivi-demo-platform-x86_64-generic.morphJavier Jardón2016-07-211-0/+6
| | | | Change-Id: I718cd939c8ad3914e82747caf6498ddd2643c3ee
* .gitlab-ci.yml: No deploy for the minimal systemJavier Jardón2016-07-051-7/+0
| | | | | | clusters/minimal-system-deploy.morph is for x86_32 Change-Id: I48d3e05464e0f19657bee2929683521c46e750cc
* Add .gitlab-ci.ymlJavier Jardón2016-07-041-0/+71
This will not affect the current ci system in baserock, but it will allow to provide ci/cd for _free_ through the mirror of definitions I have in gitlab.com As an example, take a look to the pipelines generated here: https://gitlab.com/baserock/definitions/pipelines Change-Id: I3a23ef9e828c6c4bf625145b6f6f8d180b22ca3c