ansible / eda-server

Event Driven Ansible for AAP
Apache License 2.0
66 stars 42 forks source link

chore: bump django-ansible-base #1017

Closed Dostonbek1 closed 2 weeks ago

Dostonbek1 commented 3 weeks ago

This PR updates django-ansible-base to latest from devel branch, hash - d0b961f

Alex-Izquierdo commented 3 weeks ago

@Dostonbek1 I'm not familiar yet with the new pipeline to run e2e-ui, those failures are expected?

Dostonbek1 commented 3 weeks ago

@Alex-Izquierdo the failures are not related to the API, there was a merge on the UI that introduced those failures; they are working on reverting it now. https://github.com/ansible/ansible-ui/pull/3023

Dostonbek1 commented 2 weeks ago

e2d test run with an updated test suite: https://github.com/ansible/eda-server/actions/runs/10563200958

AlanCoding commented 2 weeks ago

Look at the e2e test failures here, I would narrow in on:

https://github.com/ansible/eda-server/blob/8e06d7565be72103fef6e9d7dd3187538519b2a4/.github/workflows/scheduled.yml#L30-L38

The tests are getting 400 errors because the policies related to local resource management. Follow the config for the "stage" target...

You can set settings like:

https://github.com/ansible/eda-server/blob/8e06d7565be72103fef6e9d7dd3187538519b2a4/tools/docker/docker-compose-stage.yaml#L30-L32

The settings we want to change are:

And I think those would look like EDA__ALLOW_LOCAL_ASSIGNING_JWT_ROLES.

Then you may want to apply those to all of your standalone environments. This may require a follow-up change to the aap-dev environment to set the back to false, but no one will even notice that's broken.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

AlanCoding commented 2 weeks ago

Looks like the 1 e2e failure is unrelated, and the failures we hoped to fix are addressed by the rebase :+1: