Code Monkey home page Code Monkey logo

integration-test's Introduction

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
[email protected]

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:
memstore:

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

integration-test's People

Contributors

ncw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.