forked from toolshed/docs.coopcloud.tech
		
	Add Fedora bats setup instructions
This commit is contained in:
		| @ -91,6 +91,26 @@ Please ask `@decentral1se` or on the Matrix channels for SSH access to the machi | ||||
|  | ||||
| We use [`bats`](https://bats-core.readthedocs.io/en/stable/) to run the tests. You can install the required dependencies with the following. You also need a working installation of Docker and Go >= 1.16 (not covered in this section). | ||||
|  | ||||
| ##### Fedora  | ||||
|  | ||||
| ``` | ||||
| sudo dnf install bats | ||||
| ``` | ||||
|  | ||||
| Unfortunately, the Fedora `bats` package doesn't include the libraries we need, so we need to clone those manually: | ||||
|  | ||||
| ``` | ||||
| mkdir -p ~/.local/share/bats/ | ||||
| cd ~/.local/share/bats | ||||
| git clone https://github.com/bats-core/bats-assert.git | ||||
| git clone https://github.com/bats-core/bats-file.git | ||||
| git clone https://github.com/bats-core/bats-support.git | ||||
| ``` | ||||
|  | ||||
| Then, before running tests, set `export BATS_LIB_PATH=~/.local/share/bats/` | ||||
|  | ||||
| ##### Debian | ||||
|  | ||||
| ``` | ||||
| apt install bats-file bats-assert bats-support jq make git | ||||
| ``` | ||||
| @ -111,7 +131,7 @@ For some tests an actual server is needed, where apps can be deployed. You can e | ||||
| ##### Remote swarm | ||||
|  | ||||
| ``` | ||||
| export ABRA_TEST_DOMAIN="test.example.com" | ||||
| export ABRA_SERVER="test.example.com" | ||||
| export ABRA_DIR="$HOME/.abra_test" | ||||
| ``` | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user