Setup a demonstration server using Docker and the PipelineLib managed post-merge container in our new Cloud VPS project. Ideally the implementation will include an auto-update mechanism so that new builds are automatically noticed and deployed when ready. Bonus points if this also logs a SAL message so we can see the deploy history easily (and trace back update failures).
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | bd808 | T297800 Setup demo server in Cloud VPS project | |||
Resolved | dcaro | T297745 Request creation of devportal VPS project |
Event Timeline
Comment Actions
$ ssh devportal-demo01.devportal.eqiad1.wikimedia.cloud $ sudo vim /etc/apt/sources.list # Fix config for T291168 $ sudo apt install podman docker-compose $ sudo podman pull docker-registry.wikimedia.org/wikimedia/wikimedia-developer-portal:latest $ sudo podman run --name developer-portal --label 'io.containers.autoupdate=image' --rm --detach --publish 0.0.0.0:8000:8000 docker-registry.wikimedia.org/wikimedia/wikimedia-developer-portal:latest $ sudo podman generate systemd --new --name developer-portal | sudo tee /etc/systemd/system/developer-portal.service $ sudo systemctl enable developer-portal $ sudo systemctl start developer-portal $ sudo systemctl edit podman-auto-update.timer # Set to run every 5m $ sudo systemctl enable podman-auto-update.service $ sudo systemctl start podman-auto-update.service $ sudo podman logs -f developer-portal
The container is exposed as https://developer-portal.wmcloud.org/