Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Fix testing on real LAVA #990

Open
chaws opened this issue May 19, 2021 · 2 comments
Open

Fix testing on real LAVA #990

chaws opened this issue May 19, 2021 · 2 comments

Comments

@chaws
Copy link
Collaborator

chaws commented May 19, 2021

Testing with LAVA containers are failing:

Setup the database
/usr/lib/python3/dist-packages/environ/environ.py:615: UserWarning: /usr/lib/python3/dist-packages/lava_server/settings/.env doesn't exist - if you're not configuring your environment separately, create one.
  "environment separately, create one." % env_file)
Create database:
Traceback (most recent call last):
  File "/usr/share/lava-server/postinst.py", line 326, in <module>
    sys.exit(main())
  File "/usr/share/lava-server/postinst.py", line 321, in main
    create_database(config)
  File "/usr/share/lava-server/postinst.py", line 76, in create_database
    db = config["DATABASES"]["default"]["NAME"]
KeyError: 'default'
@chaws
Copy link
Collaborator Author

chaws commented May 19, 2021

@bhcopeland could you send the PR about moving squad to github actions?

@chaws
Copy link
Collaborator Author

chaws commented May 25, 2021

It seems the LAVA issue has been fixed here: https://git.lavasoftware.org/lava/lava/-/commit/ae746fd5c6ff23599c0d7f51d670b35fc4093b47

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant