Closed jpmartinspt closed 4 years ago
In the snapcraft.yaml change this:
command: konf.py
to
command: bin/konf.py
@nottrobin @jkfran @tbille @albertkol @carkod when you make changes to this repo you can now download the built snap as an artifact for each workflow that is run, as explained here. You can then manually install the snap to QA.
@nottrobin removed the walrus.
@jpmartinspt Sorry, I approved the changes but after tanking a deep look in the case of ubuntu.com, we have 2 routes (ubuntu-com-blog and ubuntu-com-tutorials) using the database secret as well and the secret value is not being replaced by this change.
@jkfran No worries, I think we got routes covered now as well!
Done
Allow passing database URL so we can override the connection string in case we want to connect to a development database.
QA
cp path/to/ubuntu.com/deploy/site.yaml site.yaml
konf demo site.yam
l should work as before.konf demo site.yaml --database-url sqlite:///
should output the same configuration as before butDATABASE_URL
should now besqlite:///
snapstore
.