summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Give more memory for minnowboard selftestci/fix-minnowboardLaurent Bonnans2019-07-191-1/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Fix pre-clean of repo manifests (#554)lbonn2019-07-191-2/+4
|\ | | | | Fix pre-clean of repo manifests
| * 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>
* Ci/ptest fixes (#540)lbonn2019-07-195-5/+38
|\ | | | | Ci/ptest fixes
| * Fix raspberrypi selftest gitlab definitionci/ptest-fixesLaurent Bonnans2019-07-181-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Give 768M of ram to ptestLaurent Bonnans2019-07-181-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Avoid unicode decode error in ptestLaurent Bonnans2019-07-181-1/+1
| | | | | | | | | | | | The full suite logs often contains invalid utf8 sequences. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Also install net-tools on target for ptestLaurent Bonnans2019-07-181-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Bump aktualizr with some ptest fixesLaurent Bonnans2019-07-181-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Include a valgrind fix for Openssl 1.1.1cLaurent Bonnans2019-07-182-0/+33
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #539 from doanac/customize-targetsPatrick Vacek2019-07-192-0/+7
|\ \ | | | | | | Allow customization of data in targets.json
| * | Allow customization of data in targets.jsonAndy Doan2019-07-172-0/+7
| | | | | | | | | | | | | | | | | | | | | This allows a user to define their own script to be executed after a target has been added to the repository but not yet signed. Signed-off-by: Andy Doan <andy@foundries.io>
* | | Merge pull request #551 from advancedtelematic/ci/pin-fixlbonn2019-07-181-0/+1
|\ \ \ | |_|/ |/| | Fix PIN_LIST in checkout-oe.sh
| * | 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/thud (#549)lbonn2019-07-181-0/+5
|\ \ | | | | | | Work around oe-selftest bug on sumo/thud
| * | 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>
* | Merge pull request #537 from advancedtelematic/ci/oe-selftestlbonn2019-07-1721-124/+419
|\ \ | |/ |/| Ci/oe selftest
| * Reusable meta-updater pipeline suiteci/oe-selftestLaurent Bonnans2019-07-168-48/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-168-14/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Fix ptest build after recent aktualizr changesLaurent Bonnans2019-07-161-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Use 128M by default for qemu in oe-selftestsLaurent Bonnans2019-07-164-5/+9
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix race condition in oe-selftest HSM testLaurent Bonnans2019-07-151-7/+6
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Do not push ostree images during most of oe-selftestLaurent Bonnans2019-07-152-0/+10
| | | | | | | | | | | | One failure point less Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix some oe-selftest timeouts issuesLaurent Bonnans2019-07-152-8/+12
| | | | | | | | | | | | Was causing problems on CI Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Factor out ugly function in oe-selftestsLaurent Bonnans2019-07-155-62/+27
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix aktualizr-native run in oe-selftestLaurent Bonnans2019-07-153-24/+22
|/ | | | | | | | | | It did not work when using an empty build dir with sstate-cache, the proper working way is to bitbake build_sysroots. Also change the way we fetches some of the akautalizr package files which was broken too. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #536 from ricardosalveti/masterPatrick Vacek2019-07-112-41/+1
|\ | | | | Use libp11 from meta-oe upstream
| * softhsm-testtoken: add opensc to rdependsRicardo Salveti2019-07-031-1/+1
| | | | | | | | | | | | Add opensc to rdepends as it requires pkcs11-tool. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
| * libp11: remove recipe, prefer recipe from meta-oeRicardo Salveti2019-07-031-40/+0
| | | | | | | | | | | | | | meta-oe now ships with libp11 0.4.10, which is newer than the revision used by this recipe. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* | Merge pull request #533 from ↵Patrick Vacek2019-07-102-12/+2
|\ \ | | | | | | | | | | | | advancedtelematic/refact/OTA-2488/virtual-secondary-refactory OTA-2488: Remove SOTA_SECONDARY_CONFIG_DIR configuration variable
| * | OTA-2488: Remove SOTA_SECONDARY_CONFIG_DIR configuration variable (old way ↵refact/OTA-2488/virtual-secondary-refactoryMike Sul2019-07-102-12/+2
| |/ | | | | | | | | | | to configure secondaries). Bump corresponding version of aktualizr. Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* | Merge pull request #538 from ↵Patrick Vacek2019-07-102-2/+2
|\ \ | |/ |/| | | | | advancedtelematic/fix/ip-secondary-oeselftest/timeout Increase time to wait for secondaries registration at Primary
| * Increase time to wait for secondaries registration at Primaryfix/ip-secondary-oeselftest/timeoutMike Sul2019-07-092-2/+2
|/ | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* Doc/dependencies (#531)lbonn2019-06-281-6/+22
|\ | | | | Doc/dependencies
| * Add copyright and reference license and DCO.doc/dependenciesPatrick Vacek2019-06-171-0/+6
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Add dependencies section.Patrick Vacek2019-06-171-6/+16
| | | | | | | | | | | | | | | | This can be found in the quickstart guide but is worth putting front and center here, especially for the things we don't mention in the quickstart. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #530 from ↵Patrick Vacek2019-06-206-18/+32
|\ \ | | | | | | | | | | | | advancedtelematic/feat/OTA-2294/preconfigured-secondaries-on-RPi OTA-2541: Primary and Secondary network configuration in case of RPi
| * | OTA-2294: Use WiFi on Primary (if enabled) to communicate with the backend ↵feat/OTA-2294/preconfigured-secondaries-on-RPiMike Sul2019-06-184-4/+4
| | | | | | | | | | | | | | | | | | in case of RPi target Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: Primary and Secondary network configuration in case of RPiMike Sul2019-06-135-18/+32
|/ / | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* | Merge pull request #529 from advancedtelematic/feat/rpi3-64lbonn2019-06-072-0/+5
|\ \ | | | | | | Add support for raspberrypi3-64
| * | Add support for raspberrypi3-64Laurent Bonnans2019-06-072-0/+5
|/ / | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Log persistence (#523)lbonn2019-06-067-48/+61
|\ \ | |/ |/| Log persistence
| * Add some sample configuration in default local.conffeat/OTA-2578/log-persistLaurent Bonnans2019-05-272-2/+38
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add example recipe for systemd-journald configurationLaurent Bonnans2019-05-272-0/+23
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Remove some ancient recipesLaurent Bonnans2019-05-273-46/+0
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #524 from ↵Patrick Vacek2019-06-0522-138/+152
|\ \ | | | | | | | | | | | | advancedtelematic/refactor/OTA-2798/rename-provisioning Refactor/ota 2798/rename provisioning
| * | sota.bbclass: Translate old prov recipe names into the new versions.refactor/OTA-2798/rename-provisioningPatrick Vacek2019-06-051-0/+14
| | | | | | | | | | | | | | | | | | | | | This should help ease the transition so that no one is surprised when their provisioning suddenly stops working. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * | Remove executable access control bits from aktualizr recipe.Patrick Vacek2019-06-051-0/+0
| | | | | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * | Rename provisioning methods.Patrick Vacek2019-06-0522-138/+138
|/ / | | | | | | | | | | | | | | | | | | | | | | "Autoprovisioning" or "automatic provisioning" is now known as "shared credential provisioning". "Implicit provisioning" is now known as "device credential provisioning". "HSM provisioning" was always a misnomer, so it is now refered to as "device credential provisioning with an HSM". This includes a bump of the aktualizr version as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #525 from advancedtelematic/bump-garage-signPatrick Vacek2019-05-291-3/+3
|\ \ | | | | | | aktualizr: bump garage sign to version 0.7.0-3-gf5ba640.