jfoclpf / in-my-district

Monorepo (APP, server and website) to report in Portugal to the local authorities public irregularities in one's neighborhood or district
https://nomeubairro.app
GNU General Public License v3.0
38 stars 8 forks source link

F-Droid can't build #51

Closed licaon-kter closed 1 year ago

licaon-kter commented 1 year ago
before_prepare : hooks/generateJsFiles.js
ENOENT: no such file or directory, open '/home/vagrant/build/com.in.my.district/keys-configs/configs.json

ref: https://web.archive.org/web/20230124090902/https://monitor.f-droid.org/builds/log/com.in.my.district/10228

/LE: https://gitlab.com/fdroid/fdroiddata/-/commit/7a14b8b452e7a8fd14f16025e60b9ad160f6d4df

jfoclpf commented 1 year ago

Thanks for pinging

The env variable CI should be set to true.

It will use another standard (public) configuration file but without the credentials of the DB (no need for the app). This happens because the repo is a monorepo with the server code included and the repo has a single configuration file.

jfoclpf commented 1 year ago

TLDR, in Bash

CI=1

licaon-kter commented 1 year ago

Added thanks https://gitlab.com/fdroid/fdroiddata/-/commit/1a8a88900274922d7d87631e4cd55e3243148287