Update test system from master every night, do npm install and restart the service, so we have an updated and running test system.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Addshore | T198840 Blubber: Web From: Generate a Wikibase Docker Compose file | |||
Resolved | • Matthias_Geisler_WMDE | T201905 Blubber: Update test system from master |
Event Timeline
https://github.com/wmde/wikibase-docker-yml-gui/pull/24 is still open, is that not needed?
It would just be cool to have it more regularly!
Hourly would be nice, or on push to master even!
The thing is we have to restart the service. That is why we chose to do it only once at night.
When does it update nightly?
The patch that I merged on master yesterday has not been pulled onto the site yet :(
There was a problem with the permission, it's fixed...but could you review your changes? HTML-Tags are only allowed in the descriptions, therefore you must add a description field to the config.json with a new label.
I just went to look at the update script and run it to make it quickly pull in a fix to a message that I made and I noticed the npm call fails?
root@wikidata-mobile:/srv/blubber# /srv/blubber/update.sh Already up-to-date. /usr/bin/env: ‘node’: No such file or directory
There some serious problems with npm - somehow the whole nodejs config is busted...it tried to fix that, but I guess it would take too much time. Could we maybe just kill that VM and make fresh one? I do not think it's worth to put to much time in it, if we can solve it faster.
I looked at the cron and found the script and tried running it.
root@wikidata-misc:/home/addshore# sudo -H -u bitpogo /srv/blubber/updater.sh sudo: /srv/blubber/updater.sh: command not found
Looks like the actual script is called update.sh?
I don't know if I should fix the cron name or the script name itself so I'll move it back to doing and leave it to you.