summaryrefslogtreecommitdiffstats
path: root/scripts/ci
Commit message (Collapse)AuthorAgeFilesLines
* Allow fetching aktualizr from a tagLaurent Bonnans2019-07-241-5/+22
| | | | | | Hacky but works Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Move `before_script` gitlab steps to `script`Laurent Bonnans2019-07-242-6/+5
| | | | | | | So that `before_script` can be used for additional steps when sub-classing Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Remove Jenkins references in meta-updaterci/conf-debugLaurent Bonnans2019-07-233-192/+0
| | | | | | Was killed for good Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Fix issue with gitlab and Docker 19Laurent Bonnans2019-07-231-4/+4
| | | | | | | | (use docker 18) See https://gitlab.com/gitlab-org/gitlab-runner/issues/4499 Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Output site.conf during CI configure stepLaurent Bonnans2019-07-231-0/+3
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Fix pre-clean of repo manifestsLaurent Bonnans2019-07-191-2/+4
| | | | | | Was causing problem with cache when updater-repo was updated Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Fix PIN_LIST in checkout-oe.shLaurent Bonnans2019-07-181-0/+1
| | | | | | It didn't work if the manifest already had a revision specified Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Work around oe-selftest bug on sumo/thudci/fix-oe-oldLaurent Bonnans2019-07-181-0/+5
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Reusable meta-updater pipeline suiteci/oe-selftestLaurent Bonnans2019-07-167-8/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed: * Oe-selftest GitLab pipeline stage * Use credentials for CI's oe-selftest * Setup kvm trick for docker on CI The gid of the kvm group needs to match the one from the host * Run ci scripts from Docker images * Template out jobs and split .gitlab-ci.yml To be easily reused in other branches and projects Rely on this gitlab feature: https://docs.gitlab.com/ee/ci/yaml/#extends * More flexible checkout script for CI - can work without $CURRENT_PROJECT (checks out everything) - can take a list of pinned versions * Add optional CI jobs ptest and other oe-selftests * Publish bitbaked images as artifacts Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Gitlab pipeline for building core-image-minimalLaurent Bonnans2019-07-166-13/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | Including these points (initially as separate commits): * Try caching updater-repo in gitlab * Only patch aktualizr recipe in CI if needed * Run under user 4321 in bitbake docker image * Add ability to supply METADIR to envsetup.sh So that we can bypass the "relative path from the script" trick that doesn't work with symlinks. * Checkout the PR base branch * do not run on pushes * run on runners with "gitlab" tag * Print all revisions after repo checkout on CI * Pull CI image from the base branch instead of master * More robust checkout in CI * Only store updater-repo artifacts for one day * Use "stretch" instead of "stable" for Debian release in Dockerfile (in fact, stable just changed to buster) * Move UPDATER_REPO variable out of .gitlab-ci.yml To be defined in the project's settings * Make docker CI stage buildable on shared runners Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Configure oe-selftests to run on specific node labelci/ota-1810Manikandan Kandasamy2018-12-141-1/+3
| | | | Signed-off-by: Manikandan Kandasamy <manikandan.kandasamy@here.com>
* Split yocto builds from yocto selftestsLaurent Bonnans2018-09-062-3/+90
| | | | | In a separate Jenkinsfile right now, with a lot of duplication. Let's hope to find a cleaner way
* Create a user with correct uid inside CI's DockerfileLaurent Bonnans2018-09-062-2/+17
|
* Setup garage credentials for oe-selftest CILaurent Bonnans2018-09-062-18/+23
|
* Install ovmf in ci DockerfileLaurent Bonnans2018-09-061-0/+1
| | | | For qemu tests
* Run oe-selftest on Jenkins CILaurent Bonnans2018-09-062-0/+29
|
* Remove python3-requests from Dockerfile.bitbakeLaurent Bonnans2018-06-271-1/+0
|
* Rename Jenkinsfile to Jenkinsfile.bleedingLaurent Bonnans2018-06-251-0/+3
| | | | + small doc comment
* Small doc about setting up Jenkins for meta-updaterLaurent Bonnans2018-06-251-0/+14
|
* Add caching to CI bitbakingLaurent Bonnans2018-06-252-4/+30
| | | | | Also fix various issues with environment variables and file transfers to Docker
* Use plain bash instead of hacky sed for CI config filesLaurent Bonnans2018-06-223-16/+10
|
* Try to bitbake on CI inside dockerLaurent Bonnans2018-06-222-4/+42
|
* Refactor some of the Jenkins pipeline stuffLaurent Bonnans2018-06-211-9/+14
| | | | Some options looked deprecated
* Try to checkout aktualizr from pipelineLaurent Bonnans2018-06-181-2/+11
|
* Bitbake build from JenkinsLaurent Bonnans2018-06-184-2/+83
|
* Checkout of repo from JenkinsLaurent Bonnans2018-06-181-0/+27