summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | 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