Skip to content

Tags: canonical/testflinger

Tags

rev323

Toggle rev323's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor(cli): add authorization headers to all requests (#1168)

* refactor(cli): add custom AuthBase

* tests: update unit tests to match current behavior

* chore(server): increase access token expiration to 10 minutes

* add format

* add unit test for new code

* add copilot recommendations

* add reviewer suggestions

rev322

Toggle rev322's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
breaking+feature/api lockdown when OIDC enabled (#1169)

* feat(dev): add device flow to dex IDP

* feat(server): add endpoints for device flow authentication

* tests: add unit tests for oidc api

* feat(cli): add support for OIDC authentication

* tests: add cli tests for oidc flow

* chore(server-charm): remove client_secret as required param for OIDC

* feat(server): include oidc routes in schema

* add copilot review suggestions

* fix: add missing fixture

* fix: include client_id in payload

* first batch of review suggestions

* refactor(cli): modify auth order

* breaking(server): remove admin and manager undefined expiration

* fix: failing unit tests

* nitpick

* updates to the permissions and existing tests

* slight formatting fixes

* conftest needs the new utilities file

* finalized the updated to the api+roles tests

* all tests passing

* linting

* add exlanation of missing endpoints and a consistency check that guards against forgetting endpoints in the future as they are added.

* fix errant debug-left-in-code; changed the secret used in testing to be dynamic

* see PR #1171 for the addition of roles to the schema

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: rene-oromtz <157750458+rene-oromtz@users.noreply.github.com>

* Update server/src/testflinger/api/v1.py

* Update server/src/testflinger/api/v1.py

* Update server/src/testflinger/api/v1.py

* updates per findings in PR #1169

* fixed lines too long

* small enhancement to the syntax for required roles where all roles allowed; updated schema

---------

Co-authored-by: Rene Orozco Martinez <rene.orozco@canonical.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: rene-oromtz <157750458+rene-oromtz@users.noreply.github.com>

agent-host-charm-rev107

Toggle agent-host-charm-rev107's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor(agent): add authorization headers to all requests. (#1167)

* refactor(agent): add Authorization headers to all requests

* tests: update unit tests to match current behavior

* chore(agent-charm): reduce token refresh to 3 days

* tests: update charm tests to match new expiration

* tests: add unit tests for new code

* add copilot recommendation

* add missing format

* nitpick

agent-host-charm-rev106

Toggle agent-host-charm-rev106's commit message

Verified

This commit was signed with the committer’s verified signature.
chore(agent-charm): reduce token refresh to 3 days

rev321

Toggle rev321's commit message

Verified

This commit was signed with the committer’s verified signature.
ajzobro Andy Zobro
conftest needs the new utilities file

rev320

Toggle rev320's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(server/cli): add IDP authentication via Device Authentication Fl…

…ow (#1152)

* feat(dev): add device flow to dex IDP

* feat(server): add endpoints for device flow authentication

* tests: add unit tests for oidc api

* feat(cli): add support for OIDC authentication

* tests: add cli tests for oidc flow

* chore(server-charm): remove client_secret as required param for OIDC

* feat(server): include oidc routes in schema

* add copilot review suggestions

* fix: add missing fixture

* fix: include client_id in payload

* first batch of review suggestions

* refactor(cli): modify auth order

* breaking(server): remove admin and manager undefined expiration

* fix: failing unit tests

* nitpick

testflinger-k8s-2.0.0

Toggle testflinger-k8s-2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update terraform juju to v2 (#1139)

breaking(terraform-server): juju provider v2 drops support for 2.9 controllers
breaking(terraform-agent): juju provider v2 drops support for 2.9 controllers

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

testflinger-agent-host-2.0.0

Toggle testflinger-agent-host-2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update terraform juju to v2 (#1139)

breaking(terraform-server): juju provider v2 drops support for 2.9 controllers
breaking(terraform-agent): juju provider v2 drops support for 2.9 controllers

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

rev319

Toggle rev319's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update dependency pyjwt to v2.13.0 [security] (#1151)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

rev318

Toggle rev318's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update terraform juju to v2 (#1139)

breaking(terraform-server): juju provider v2 drops support for 2.9 controllers
breaking(terraform-agent): juju provider v2 drops support for 2.9 controllers

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>