flipt-io / flipt

Enterprise-ready, GitOps enabled, CloudNative feature management solution
https://flipt.io
GNU General Public License v3.0
3.41k stars 190 forks source link

fix(build): configure token authentication for migration test suite #3177

Closed GeorgeMac closed 2 weeks ago

GeorgeMac commented 2 weeks ago

This is a fix for the migration test suite which has been failing since I refactored all the things. There were a couple things I overlooked for this particular IT suite in the move.

There were two things I changed in the read only harness. Those were that now both namespaces are tested explicitly in the harness itself (remove from the matrix) and I made it so that the harness uses the bootstrap token to create a new token for the lifetime of the test.

What we're seeing in the other suites is the authentication method service is not mounted, because this suite has historically not need auth to work (now it does). So I have enable token method, made auth required and created a bootstrap token. Additionally, I have imported both the production and default namespace data (we only needed default before).

GeorgeMac commented 2 weeks ago

I will update the branch protection rules too. The GH dropdown search UI for that is really finicky. Wish there was a better way.