~andersson123/autopkgtest-cloud:browse-cgi-api-key

Last commit made on 2024-03-13
Get this branch:
git clone -b browse-cgi-api-key https://git.launchpad.net/~andersson123/autopkgtest-cloud
Only Tim Andersson can upload to this branch. If you are Tim Andersson please log in for upload directions.

Branch merges

Branch information

Name:
browse-cgi-api-key
Repository:
lp:~andersson123/autopkgtest-cloud

Recent commits

84b3b16... by Tim Andersson

docs: mention new api-key integration feature for test requests

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
cc5e89b... by Tim Andersson

feat: web: allow authentication with API key instead of OID for automated scripting

This commit introduces API key functionality to request/app.py.

Users can now request tests via the webpage using this functionality
instead of using SSO.

55b78a1... by Tim Andersson

fix: web: fix issues with sqlite-writer and get_test_id, as well as incorporate retries for amqp

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
614cbfa... by Tim Andersson

refactor: web: make download-all-results use swiftclient instead of urllib

Using urllib, this script is rather slow and also sometimes just hangs
for a little while, before then continuing.

This refactor makes download-all-results use python3-swiftclient to access
swift objects and containers rather than by using the swift URL directly
and using urllib to download results.

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
6ed5bed... by Tim Andersson

Merge remote-tracking branch 'andersson123/d-r-d-a-r-merging'

410f7ef... by Tim Andersson

fix: web: fix object_path in db-backup

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
ab47ee9... by Tim Andersson

feat: web: download-all-results now queues items into the sqlite-write-me exchange instead of inserting rows into db

This commit makes download-all-results no longer directly place rows into
the database - now, download-all-results places the values from items it
absorbs from its listener queue into the sqlite-write-me queue, and
laterally the sqlite-writer then takes these queue items and inserts
them as rows into the sqlite database.

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
c9368b7... by Tim Andersson

feat: web: download-results now queues items into the sqlite-write-me exchange instead of inserting rows into db

This commit makes download-results no longer directly place rows into
the database - now, download-results places the values from items it
absorbs from its listener queue into the sqlite-write-me queue, and
laterally the sqlite-writer then takes these queue items and inserts
them as rows into the sqlite database.

5a212c4... by Tim Andersson

feat: web: add sqlite-writer script and service file

This script sets up a new amqp queue in which items to be inserted into
the database will be queued into. This script then absorbs items in this
queue and inserts rows into the database.

This script also checkpoints the db every five minutes.

6d4185d... by Tim Andersson

feat: web: add SqliteWriterConfig dataclass to helpers/utils.py to share config variables