squad icon indicating copy to clipboard operation
squad copied to clipboard

Fix testing on real LAVA

Open chaws opened this issue 3 years ago • 2 comments

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 avatar May 19 '21 13:05 chaws

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

chaws avatar May 19 '21 18:05 chaws

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

chaws avatar May 25 '21 11:05 chaws