https://github.com/rclone/integration-test
Setup for the rclone integration test server
https://github.com/rclone/integration-test
Last synced: 10 months ago
JSON representation
Setup for the rclone integration test server
- Host: GitHub
- URL: https://github.com/rclone/integration-test
- Owner: rclone
- License: mit
- Created: 2018-02-02T10:52:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T10:19:00.000Z (over 1 year ago)
- Last Synced: 2025-06-27T01:09:00.559Z (11 months ago)
- Language: Go
- Size: 19.5 KB
- Stars: 6
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rclone integration server #
This describes the setup for the rclone integration server. More details are probably needed!
## How to install ##
Install enough tools to build rclone
apt-get build-essentials
Install the latest version of go from source.
Make sure go path is added to .profile
export GOPATH=$HOME/go
set PATH so it includes go binary path in .profile
export PATH="/usr/local/go/bin:$HOME/go/bin:$PATH"
Install hugo from .deb, make sure /usr/local/bin is on the path
export PATH="/usr/local/bin:$PATH"
create an rclone user and have something like this on the crontab
```
SHELL=/bin/bash
MAILTO=your@email-address.com
0 5 * * * (cd ~/integration-test; date -Is; source ~/.profile; ./integration-test.sh) >> integration-test.log 2>&1
0 9 * * * (cd ~/integration-test; date -Is; source ~/.profile; ./upload-tip.sh) >> upload-tip.log 2>&1
```
Make sure you have an rclone config with credentials for all the cloud providers. `rclone listremotes` should look something like
```
TestAmazonCloudDrive:
TestAzureBlob:
TestB2:
TestBox:
TestCache:
TestCryptDrive:
TestCryptSwift:
TestDrive:
TestDropbox:
TestFTP:
TestGoogleCloudStorage:
TestHubic:
TestMega:
TestOneDrive:
TestOss:
TestPcloud:
TestQingStor:
TestS3:
TestSftp:
TestSwift:
TestWebdav:
TestYandex:
```
## FTP ##
Make a new user called testdata - this will be used to run the SFTP
and FTP integration tests. Make sure they have a very secure password
and add it to the rclone config.
Install pure-ftpd with the extra config file
# cat /etc/pure-ftpd/conf/Bind
127.0.0.1,21
## SSH ##
Make an ssh key for rclone user and install it in testdata user