summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #196 from advancedtelematic/feat/PRO-3751/legacyinterfacecajun-rat2017-12-055-2/+26
|\ | | | | Provide user interface to add legacy secondary bridge
| * Fix erroneous do_install_append that should just be do_install.Patrick Vacek2017-12-051-1/+1
| |
| * Add support for virtual secondariesAnton Gerasimov2017-12-041-1/+8
| |
| * Provide user interface to add legacy secondary bridgeAnton Gerasimov2017-12-045-1/+18
| |
* | Merge pull request #198 from advancedtelematic/bugfix/garage-versioncajun-rat2017-12-051-1/+1
|\ \ | | | | | | Fix garage-sign targets add.
| * | Fix garage-sign targets add.Patrick Vacek2017-12-051-1/+1
|/ /
* | Merge pull request #192 from advancedtelematic/refactor/sotatomlcajun-rat2017-12-047-51/+10
|\ \ | |/ |/| Use *.toml files provided in aktualizr github repo
| * Use *.toml files provided in aktualizr github repoAnton Gerasimov2017-12-047-51/+10
|/ | | | This enables backwards incompatible changes to configuration format
* Merge pull request #195 from advancedtelematic/bugfix/aktualizeoecmakeJochen Schneider2017-12-011-2/+2
|\ | | | | Add spaces before "_append" clauses
| * Add spaces before "_append" clausesAnton Gerasimov2017-12-011-2/+2
|/ | | | Under some conditions missing space can lead to a corrupted environment variable
* Merge pull request #194 from advancedtelematic/feat/tidyPatrick Vacek2017-12-011-6/+5
|\ | | | | Add a hint when machine autodetection fails
| * Add a hint when machine autodetection failsPhil Wise2017-12-011-6/+5
|/ | | | Also fix a pylint warning about indentation
* Merge pull request #193 from advancedtelematic/bugfix/servicecajun-rat2017-11-305-21/+7
|\ | | | | Remove aktualizr-manual-provision.service
| * Remove aktualizr-manual-provision.serviceAnton Gerasimov2017-11-305-21/+7
|/ | | | We don't support this scenario any more and it makes testing more complicated.
* Merge pull request #190 from advancedtelematic/fix/repo-manifestcajun-rat2017-11-301-2/+2
|\ | | | | Fix builds outside the .repo directory
| * Fix builds outside the .repo directoryPhil Wise2017-11-281-2/+2
| | | | | | | | | | The repo tool searches up the directory tree to find the .repo directory. Cleanly handle the case where it can't find anything.
* | Merge pull request #191 from advancedtelematic/bugfix/rpi-sdimgOYTIS2017-11-281-0/+1
|\ \ | | | | | | Remove sdimg-rpi from IMAGE_FSTYPES
| * | Remove sdimg-rpi from IMAGE_FSTYPESAnton Gerasimov2017-11-281-0/+1
| | | | | | | | | | | | The image is incompatible with meta-updater and we have our own
* | | Merge pull request #183 from advancedtelematic/test/oe-selftest-grubcajun-rat2017-11-281-37/+75
|\ \ \ | | | | | | | | Test/oe selftest grub
| * | | Test booting with grub.Patrick Vacek2017-11-171-4/+35
| | | |
| * | | Refactor Qemu interaction into seperate functions.Patrick Vacek2017-11-171-37/+44
| | | | | | | | | | | | | | | | | | | | This should make it easy to make new test classes that launch independent qemu instances with different configurations.
* | | | Merge pull request #189 from advancedtelematic/bugfix/teamcity-buildPatrick Vacek2017-11-271-1/+3
|\ \ \ \ | | | | | | | | | | Bugfix/teamcity build
| * | | | Bump aktualizr version for C++98 standard fix.Patrick Vacek2017-11-271-1/+1
| | | | |
| * | | | Actually do something with aktualizr-info.Patrick Vacek2017-11-271-0/+2
|/ / / /
* | | | Merge pull request #188 from advancedtelematic/bugfix/PRO-4260/backwardsPatrick Vacek2017-11-271-1/+1
|\ \ \ \ | |_|_|/ |/| | | Bump aktualizr version for good
| * | | Bump aktualizr version for goodAnton Gerasimov2017-11-241-1/+1
|/ / / | | | | | | | | | Should fix PRO-4260
* | | Merge pull request #187 from advancedtelematic/bugfix/tufrepocajun-rat2017-11-242-8/+4
|\ \ \ | |_|/ |/| | Rename repo.url -> tufrepo.url
| * | Rename repo.url -> tufrepo.urlAnton Gerasimov2017-11-232-8/+4
|/ / | | | | | | Also pass this URL to garage-sign
* | Merge pull request #186 from advancedtelematic/feat/PRO-4290/garagecheckcajun-rat2017-11-213-5/+16
|\ \ | | | | | | Check if the package and UPTANE target got to the backend
| * | Check if the package and UPTANE target got to the backendAnton Gerasimov2017-11-213-5/+16
|/ /
* | Merge pull request #181 from ↵OYTIS2017-11-172-9/+3
|\ \ | |/ |/| | | | | advancedtelematic/bugfix/PRO-4319/duplicate-bblayers-snippets Ignore configuration templates to avoid duplicate inclusion of stuff
| * Ignore configuration templates to avoid duplicate inclusion of stuffAnton Gerasimov2017-11-172-9/+3
| | | | | | | | | | | | Also add IMAGE_ROOTFS_EXTRA_SPACE to qemu configuration which was the original motivation for returning TEMPLATECONF processing (see https://github.com/advancedtelematic/meta-updater-qemux86-64/pull/9 )
* | Merge pull request #180 from advancedtelematic/feat/PRO-4199/oe-selftest-qemucajun-rat2017-11-171-10/+42
|\ \ | | | | | | Feat/pro 4199/oe selftest qemu
| * | Make launching qemu part of setUpClass.Patrick Vacek2017-11-161-41/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | And terminating part of tearDownClass. This cleans things up nicely and means we only have to boot once for multiple tests. If we do want to boot multiple times (e.g. with different configs), we can move most of the qemu code to non-class functions and use multiple classes that each call those functions in setUpClass and tearDownClass.
| * | Move oe-selftest qemu logic to its own function.Patrick Vacek2017-11-161-31/+60
| | | | | | | | | | | | | | | | | | This means we can call it from any number of tests and run arbitrary commands. I finally figured out how to get commands with arguments working, too.
* | | Merge pull request #179 from advancedtelematic/bugfix/PRO-4260/createtokenOYTIS2017-11-162-2/+1
|\ \ \ | |/ / |/| | Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakes
| * | Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakesAnton Gerasimov2017-11-162-2/+1
| | | | | | | | | | | | | | | 'SOTA_CLIENT_PROV = "aktualizr-hsm-test-prov"' should set in local.conf in order to build with softhsm
* | | Merge pull request #178 from advancedtelematic/feat/autodetect-kvmcajun-rat2017-11-163-6/+22
|\ \ \ | | | | | | | | Autodetect kvm
| * | | Autodetect KVMPhil Wise2017-11-163-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autodetect KVM by using the 'kvm-ok' command line tool. This has two benefits: Firstly, it improves the UX of run-qemu-ota when working on machines without KVM (e.g. AWS). Previously, people had to use the --no-kvm option in these cases. Secondary, it makes oe-selftest usable on machines without KVM. Our tests call run-qemu-ota, and we want to able to run them on machines without KVM.
| * | | Remove unused import, break long linesPhil Wise2017-11-161-2/+5
| | | |
* | | | Merge pull request #176 from advancedtelematic/test/PRO-4229/oe-selftest-hsmcajun-rat2017-11-161-0/+22
|\ \ \ \ | |/ / / |/| | | Test/pro 4229/oe selftest hsm
| * | | garage_push.py: Test SOTA_PACKED_CREDENTIALSLeon Anavi2017-11-151-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test to verify that the file specified at SOTA_PACKED_CREDENTIALS exists and is included in the image. If SOTA_PACKED_CREDENTIALS is not set this test case will be skipped. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * | | garage_push.py: Check distro featuresLeon Anavi2017-11-151-0/+8
|/ / / | | | | | | | | | | | | | | | | | | Ensure that systemd and sota are among the distro features. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* | | Merge pull request #174 from ↵cajun-rat2017-11-158-159/+249
|\ \ \ | |_|/ |/| | | | | | | | advancedtelematic/feat/PRO-4199/oe-selftest-sota-tools Feat/pro 4199/oe selftest sota tools
| * | Fix some paths based on Leon's techniques.Patrick Vacek2017-11-151-5/+6
| | |
| * | Basic garage-deploy test.Patrick Vacek2017-11-132-1/+9
| | |
| * | Make double-bitbake test actually useful.Patrick Vacek2017-11-131-8/+35
| | | | | | | | | | | | | | | | | | | | | * Make sure to remove man package before bitbaking. * Test that the package exists or not. * Check the image name and size to make sure it changes. * Move to appropriate class and rename.
| * | Split tests into independent classes.Patrick Vacek2017-11-131-11/+27
| | | | | | | | | | | | | | | This reduces unnecessary time spent on setUpClass calls that may not be necessary for individual tests. It also organizes things a bit better.
| * | Fix paths to be more reliable.Patrick Vacek2017-11-131-9/+9
| | |
| * | Rough draft of a run-qemu-ota test.Patrick Vacek2017-11-134-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not very useful yet. Could be made into a function for the purpose of running arbitrary commands via SSH, for example. However, I had plenty of trouble even getting this far. Note that I created a softlink to qemucommand to get around the Python path issues in oe-selftest. I'm not sure if there's a better way to handle that, since manipulating the path is seemingly impossible.