forked from toolshed/docs.coopcloud.tech
docs: running CI yourself
This commit is contained in:
@ -99,6 +99,30 @@ The drone configuration was wired up as follows:
|
||||
|
||||
Please ask `@decentral1se` or on the Matrix channels for SSH access to the machine.
|
||||
|
||||
### Running manually on the CI server
|
||||
|
||||
It's convenient to be able reproduce the CI server environment yourself by SSHing to the machine and running the integration tests. Here's how you do it.
|
||||
|
||||
SSH config details:
|
||||
|
||||
```
|
||||
Host int.coopcloud.tech
|
||||
Hostname 51.159.168.99
|
||||
User root
|
||||
Port 22
|
||||
IdentityFile ~/.ssh/<private-key-part>
|
||||
```
|
||||
|
||||
Once you're in, you can run the following:
|
||||
|
||||
```
|
||||
sudo -su abra
|
||||
cd
|
||||
./run-ci-int
|
||||
```
|
||||
|
||||
You can also `cd abra` and run `bats ...` directly to trigger specific subsets of tests. See below for more tips.
|
||||
|
||||
### Running them locally
|
||||
|
||||
#### Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user