Merge ~ines-almeida/launchpad-buildd:update-close-session-for-fetch-service into launchpad-buildd:master
Proposed by
Ines Almeida
Status: | Merged |
---|---|
Approved by: | Ines Almeida |
Approved revision: | a541938ade2b790b098c674fc5219ac1e721e70e |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ines-almeida/launchpad-buildd:update-close-session-for-fetch-service |
Merge into: | launchpad-buildd:master |
Diff against target: |
268 lines (+142/-10) 6 files modified
lpbuildd/proxy.py (+19/-3) lpbuildd/snap.py (+3/-0) lpbuildd/target/build_snap.py (+9/-1) lpbuildd/tests/test_snap.py (+35/-1) lpbuildd/tests/test_util.py (+53/-1) lpbuildd/util.py (+23/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+462875@code.launchpad.net |
Commit message
Enable revoking a token for the fetch service
Handle calling the revocation_endpoint sent by Launchpad, both in the cases where we want to revoke the token after the snap pull phase, and at the end of the build
Description of the change
This handles calling the revocation endpoint against the fetch service, but not yet closing the session (that will be handled in another MP: https:/
To post a comment you must log in.
In a meeting, decided that we will most likely need to have 2 endpoints for ending the session:
- One for revoking the token
- Another one to close the session
This MP is blocked until we settle that out.