Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Mattermost
This page tries to document the Mattermost test installation at https://mattermost-test.eclipse.org
The setup
Matterbridge
The matterbridge is a stand alone application which acts as a bridge between the mattermost channels and IRC servers.
See also: https://github.com/42wim/matterbridge
It is an application written in the "Go" language and has to be compiled first. It requires a more recent version of Go than the Ubuntu 14.04 (on which mattermost is currently running) does provide. So for the moment I do run a local docker container ("golang") in order to compile the binary and then upload it to the server where it does run.
Compiling
Note: You do need a running docker installation for the following to work.
$ docker run -ti golang root@98828a5d4daa:/go# go get github.com/42wim/matterbridge
This will first start a docker container with the most recent version of go and then use go to download and compile a binary of "matterbridge". The binary will the be located in the "bin" folder of your current directory inside the docker container.
Copying
From inside the docker container copy the binary:
root@98828a5d4daa:/go# scp bin/matterbridge root@mattermost-test.eclipse.org:/opt/mattermost/matterbridge/bin
Note: If you leave the docker container and re-enter it, the compiled content will be gone. So although it is described here as two steps, it actually is one.
You can also run docker with mounted volume:
docker run -v /home/user/docker/transfer:/mnt -ti golang
And then copy the result to /mnt which will then show up in /home/user/docker/transfer in the host machine.