summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Gitlab pipeline for building core-image-minimalci/gitlab-core-image-minimalLaurent Bonnans2019-07-098-14/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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.
| * | aktualizr: bump garage sign to version 0.7.0-3-gf5ba640.bump-garage-signPatrick Vacek2019-05-281-3/+3
|/ / | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #522 from liuming50/masterPatrick Vacek2019-05-271-1/+1
|\ \ | |/ |/| sota.bbclass: move sota to DISTROOVERRIDES
| * sota.bbclass: move sota to DISTROOVERRIDESMing Liu2019-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | Move sota to DISTROOVERRIDES from OVERRIDES, it should be a distro overrides. This change also let 'sota' to be in front of 'forcevariable' in OVERRIDES, since 'forcevariable' should always be the last overrides. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* | Merge pull request #520 from ↵Patrick Vacek2019-05-2722-93/+338
|\ \ | | | | | | | | | | | | advancedtelematic/feat/OTA-2541/preconfigured-secondaries Posix/IP Secondary and Primary Support
| * | OTA-2541: Switch to Aktualizr's version that supports IP Secondaries ↵feat/OTA-2541/preconfigured-secondariesMike Sul2019-05-271-1/+1
| | | | | | | | | | | | | | | | | | preconfig and its tests Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: IP Secondary tests (oe-selftest)Mike Sul2019-05-272-66/+138
| | | | | | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: Use local.conf's variables to configure Primary with ↵Mike Sul2019-05-2710-13/+86
| | | | | | | | | | | | | | | | | | Secondary(ies) and vice versa Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: Use MPL-2.0 license for recipes-test's recipesMike Sul2019-05-277-7/+10
| | | | | | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: Add suffix '-sndry' to a default HW_ID for Secondary. Ability to ↵Mike Sul2019-05-277-7/+40
| | | | | | | | | | | | | | | | | | define IP and Port in local.conf Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: Remove Secondary's socket service. Use a regular systemd service ↵Mike Sul2019-05-273-11/+6
| | | | | | | | | | | | | | | | | | to start Seconadry daemon Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: Static IP address on Primary's and Secondary's internal NICMike Sul2019-05-279-8/+69
| | | | | | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * | OTA-2541: Network configuration on IP/Posix SecondaryMike Sul2019-05-271-0/+8
|/ / | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* | Merge pull request #521 from advancedtelematic/feat/test-polling-intervalPatrick Vacek2019-05-243-0/+32
|\ \ | |/ |/| aktualizr-polling-interval: new config fragment.
| * aktualizr-polling-interval: new config fragment.feat/test-polling-intervalPatrick Vacek2019-05-243-0/+32
| | | | | | | | | | | | | | | | | | Can be used for testing purposes after we increase the default polling interval in aktualizr. We no longer recommend anything less than an hour for production use cases, but it's still convenient to poll more frequently while testing. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #519 from advancedtelematic/docs/OTA-2606/rename-provisioningPatrick Vacek2019-05-201-1/+1
|\ \ | |/ |/| OTA-2606: Renaming provisioning methods
| * OTA-2606: Renaming provisioning methodsdocs/OTA-2606/rename-provisioningMerlin Carter2019-05-201-1/+1
| | | | | | | | | | | | Removing unnecessary square brackets Signed-off-by: Merlin Carter <merlin.carter@here.com>
| * OTA-2606: Renaming provisioning methodsmerltron2019-05-131-1/+1
| | | | | | | | | | Updating links to documentation with proper terminology rather than aktualiz repo topics (aktualizr repo also now has a mirror of the same topic).
* | Merge pull request #518 from advancedtelematic/test/fix-aktualizr-python-ptestPatrick Vacek2019-05-132-2/+2
|\ \ | |/ |/| Make aktualizr-ptest depend on python3-misc
| * Fix bad ptest printing of failurestest/fix-aktualizr-python-ptestLaurent Bonnans2019-05-081-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Make aktualizr-ptest depend on python3-miscLaurent Bonnans2019-05-071-1/+1
|/ | | | | | Some of our tests use pathlib which ends up in there... Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #516 from advancedtelematic/test/ptest-printingPatrick Vacek2019-05-072-3/+3
|\ | | | | More robust aktualizr-ptest printing of errors
| * README: Add updater_qemux86_64_ptest to list of test targets.Patrick Vacek2019-05-071-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * More robust aktualizr-ptest printing of errorsLaurent Bonnans2019-05-071-2/+2
|/ | | | | | | If ctest is interrupted (e.g. timeout), its partial output will be in /tmp/aktualizr-ptest.log.tmp Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #512 from advancedtelematic/fix/latest-aktualizrPatrick Vacek2019-04-302-10/+11
|\ | | | | aktualizr: Bump to latest for recovery fixes.
| * selftest: retry aktualizr failure check due to resource constraints.Patrick Vacek2019-04-301-2/+9
| | | | | | | | | | | | | | For some reason it now often fails if you don't briefly pause first, so just retry it if it fails a few times. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Remove aktualizr-check-discovery dependency.Patrick Vacek2019-04-291-2/+1
| | | | | | | | | | | | It no longer exists. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Bump to latest for recovery fixes.Patrick Vacek2019-04-291-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * selftest: Remove test_secondary_listening.Patrick Vacek2019-04-291-5/+0
|/ | | | | | | The secondary discovery mechanism is being overhauled and that tool no longer exists. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #508 from advancedtelematic/test/oe-selftest-ptestPatrick Vacek2019-04-154-10/+64
|\ | | | | Add oe-selftest for aktualizr ptest run on qemu
| * Bump aktualizr and garage toolstest/oe-selftest-ptestLaurent Bonnans2019-04-151-4/+4
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Use PARALLEL_MAKE when building aktualizr-ptestLaurent Bonnans2019-04-101-1/+1
| | | | | | | | | | | | | | The trick to add it in do_compile from cmake.bbclass does not work with do_compile_ptest_base Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Parametrizable AKTUALIZR_PTEST_PARALLEL_LEVELLaurent Bonnans2019-04-101-2/+4
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>