mozilla / remote-settings-ondemand-crashes

Scripts to ingest on-demand crash ids into RemoteSettings
0 stars 1 forks source link

Use a dedicated user `app` with permissions in `/app` #3

Closed leplatrem closed 3 weeks ago

leplatrem commented 3 weeks ago

/app is the working dir.

The script code uses relative location here:

https://github.com/mozilla/remote-settings-ondemand-crashes/blob/e489a96d7cb0f9aaa35a27dde8b4b4a5e0d5faff/update_remote_settings_records.mjs#L124

and here:

https://github.com/mozilla/remote-settings-ondemand-crashes/blob/e489a96d7cb0f9aaa35a27dde8b4b4a5e0d5faff/update_remote_settings_records.mjs#L149

leplatrem commented 3 weeks ago

Note: this follows what other cronjobs which write on disk do:

https://github.com/mozilla-services/shavar-list-creation/blob/425c45dfb72a18bef865145d95912a484e4b6e5b/Dockerfile#L3-L9

https://github.com/mozilla/passwordmgr-remote-settings-updater/blob/e358314538d7c232a35c788990ff6cc59721cfb9/Dockerfile#L3-L5