Commit Graph

50 Commits

Author SHA1 Message Date
Marius e8fb3a431b Merge branch 'master' of github.com:tus/tusd into v1 2019-08-18 14:34:37 +02:00
kiloreux 102715e2d1 misc: Change cloud provider for master.tus.io (#300)
* Change branch and change deployment method

* Fix DA DOCKER FIIIIILE

* Fix docker

* Maybe just update deployment ?

* Switch back to base64

* Remove useless lines and replace it by stable installation

* Don't use /home/kiloreux

* Added kubeconfig again

* Replicate stuff

* Final fixes

* Avoid contacting server

* remove quotes

* Try again

* Trigger

* Use master
2019-08-13 09:50:18 +01:00
Marius af51b797ab Disable Windows compilations for now 2019-07-21 23:38:53 +02:00
Thomas 30811b6579 docker: Added script to generate official-images/library/tusd file. (#289)
* Added script to generate official-images/library/tusd file.

* Moved script to .scripts.
2019-07-12 15:34:43 +01:00
Marius 774fd3f313 misc: Use Go modules on Travis CI 2019-06-16 17:13:16 +02:00
Marius 42bfe35457 core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
Marius dc092ddd46 consullocker: Remove unused package 2019-06-11 17:03:53 +02:00
Marius 12914032e5 s3store: Exclude aws-sdk-go examples from build
These examples are not compatible with old Go versions.
See https://travis-ci.org/tus/tusd/jobs/535001180#L508
2019-05-20 22:52:15 +02:00
Marius 774cd3800d etcd3locker: Do not run tests on Go < 1.11 2019-05-20 22:38:53 +02:00
Acconut 05f79b33ac Only test the prometheuscollector on supported versions 2019-01-14 00:22:12 +01:00
Anders Chen 9af87d50ce Add etcd3 locker (#202)
* First pass at etcd3 locker

* Add etcd packages to vendor ignore attribute

* Properly exclude etcd3locker from earlier versions of golang

* Etcd test to only run on go1.9 and go1.10

* Do not export internal etcd3locker methods

* context.TODO -> context.Background

* Return errors instead of logging

* Enforce a 1.5s timeout on acquiring a lease from etcd

* Allow etcd3 concurreny.NewSession manage KeepAlive connection

- Introduce LockerOptions to allow a custom session TTL (default: 60s); etcd3Locker can be initialized with NewWithLockerOptions if one wants granular control over TTL and prefix used for etcd3 keys
- Keep NewWithPrefix backwards compatible by calling NewWithLockerOptions

* Add comment on locker_test.go regarding testing the session KeepAlive

* Re-export main type

* Try to address missing github.com/gogo/protobuf/gogoproto package

* Update etcd package import to use go.etcd.io/etcd/clientv3

* Use forked go-etcd-harness for testing

* Add more extensive package overview / docs

* go fmt

* Fix test script

* Add downloaded etcd binary to path
2018-11-10 20:05:44 +00:00
Marius 311cdf253e
Fix environment checks for tests 2018-07-14 22:12:21 +02:00
Marius 07852c5b1b
Skip consul tests on Go 1.9 2018-07-14 22:08:16 +02:00
Abdelhadi Khiati ca36347384 Change cluster name 2018-06-11 21:31:00 +01:00
Marius 5b37614190
Exclude consullocker packge from tests on Go 1.8 2018-05-13 14:33:05 +02:00
kiloreux a99e321f9a
No more nfs 2018-04-25 15:01:49 +01:00
kiloreux 367ba5a8b3
Take another test of NFS 2018-01-12 00:58:59 +01:00
kiloreux 25c1b78e9d
Not literal 2018-01-11 12:24:40 +01:00
kiloreux 6795bd7669 Added NFS support for easier blue/green deployments 2018-01-11 11:08:44 +01:00
kiloreux c1ae4d4a6c
Remove files and unify kube 2018-01-06 16:53:24 +01:00
kiloreux 9d74bf722d
kubectl bug 2018-01-04 19:41:18 +01:00
kiloreux adddcf752d Kube (#163)
* Initial kube

* Added testing docker image

* Added docker building

* Deploy the branch

* Deploy to production

* hiddent maybe

* Faster build please

* One charachter

* We need to use yaml in standard way

* Bring test back again

* Added command arguments

* Move to tus project

* Domain expired

* Added King Marius recommendation

* Added pvc

* Change branch name

* Added HPA

* Extended memory @Acconut

* Separete gcloud from kubernetes

* remove test for quicker iteration

* Remove garbage ignore

* Move back to old trusty

* Debug base64

* Remove docker build and test again base64

* Bring it back

* Wrong

* we don't need helm

* Update domain

* Increase body size

* Add long timeouts because we don't want another nginx instance

* Get the tests running again
2018-01-03 13:10:44 +01:00
Kevin van Zonneveld 897e40e02d Revert "Revert "Revert "[wip] K8s (#162)"""
This reverts commit 66887c14e0.
2017-11-29 11:22:05 +01:00
Kevin van Zonneveld 66887c14e0 Revert "Revert "[wip] K8s (#162)""
This reverts commit a7dd6a5160.
2017-11-29 11:21:34 +01:00
Kevin van Zonneveld a7dd6a5160 Revert "[wip] K8s (#162)"
This reverts commit 88d5475691.
2017-11-29 11:21:21 +01:00
kiloreux 88d5475691 [wip] K8s (#162)
* Initial kube

* Added testing docker image

* Added docker building

* Deploy the branch

* Deploy to production

* hiddent maybe

* Faster build please

* One charachter

* We need to use yaml in standard way

* Bring test back again

* Added command arguments

* Move to tus project

* Domain expired
2017-11-29 11:06:45 +01:00
Marius f347495e55 Do not test for consul on Go 1.7 2017-11-21 13:18:47 +01:00
Marius 49e6f02190 Run gcsstore tests on CI 2017-11-21 13:06:04 +01:00
Tom Berger 4c0f4cc9d9 Add support for Google Cloud storage as a DataStore (#106)
* Add support for Google cloud storage as a DataStore

* Use memorylocker in GCS composer

* Add documentation and recursive compose

* Offset being calculated in getInfo. Tests not working

* Fix tests. Attach metadata to composed object.

* Add dependencies using govendor. Add new package to README. Add test instructions for AppVeyor

* Add google cloud internal and transport packages with govendor

* Adding more dependencies to pass travis integration

* Update w/ internal packages

* Skip tests on go1.5/1.6

* Gcsstore tests (#2)

* Refactor as a struct of clojures for testing

* Refactor to support tests

* Add docs

* Struct members cannot fufill the interface, adding wrapper functions

* update tests

* Update documentation

* add more tests

* Add gock and redo some tests

* Add gock

* remove unneeded clojures
2017-09-16 20:49:09 +02:00
Marius 473489ce06 Exlude consullocker from tests temporarily 2017-03-23 14:06:00 +01:00
oliverpool 74fca8c6c3 Squashed commit of the following:
commit d214ad5c92073cb754c70ab73e6cf229cba01c72
Author: Marius <maerious@gmail.com>
Date:   Tue Feb 28 20:38:47 2017 +0100

    Minor code and comment cleanups

commit 2826227404296d98a2d83519efaa754cc07a47b1
Merge: db47c89 1a58d6e
Author: Marius <maerious@gmail.com>
Date:   Tue Feb 28 20:13:15 2017 +0100

    Merge branch 'metrics_race_condition' of https://github.com/oliverpool/tusd into oliverpool-metrics_race_condition

commit 1a58d6e084
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Tue Feb 28 19:14:21 2017 +0100

    prometheus metrics typo

commit db47c8976489917a8afc53878335ab66d73fe60d
Merge: 168942b 12054be
Author: Marius <maerious@gmail.com>
Date:   Tue Feb 28 17:36:47 2017 +0100

    Merge branch 'metrics_race_condition' of https://github.com/oliverpool/tusd into oliverpool-metrics_race_condition

commit 12054be4e7
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Tue Feb 28 12:07:43 2017 +0100

    add go vet on travis

commit 16e95d2d91
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Tue Feb 28 11:58:58 2017 +0100

    add one go vet on appveyor

commit 13bc64517b
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Tue Feb 28 11:57:56 2017 +0100

    use even less pointers

commit db7130f18a
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Mon Feb 27 22:12:45 2017 +0100

    use pointer only when needed

commit 647f7390c6
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Thu Feb 23 16:29:01 2017 +0100

    Prevent lock malfunction

    literal copies lock value from metrics

commit 1ce196ed35
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Wed Feb 22 12:22:19 2017 +0100

    handle read timeout simplification in metrics

commit 338017c9f4
Merge: c378bc9 45a9278
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Wed Feb 22 12:21:42 2017 +0100

    Merge branch 'master' into metrics_race_condition

commit c378bc9798
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Wed Feb 22 11:51:56 2017 +0100

    consistent naming

commit e2b0050b8d
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Wed Feb 22 11:44:05 2017 +0100

    Use a simplfied error structure for error counting

commit 3da4095c08
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Mon Feb 20 16:38:27 2017 +0100

    split ptr retrieval and incrementation

commit ebd6873cbb
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Sun Feb 5 22:01:34 2017 +0100

    Useless initialization

commit 691224cdbf
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Thu Feb 2 08:25:55 2017 +0100

    increment the pointer

commit 3d9395e1df
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Thu Feb 2 08:25:42 2017 +0100

    Simplify lock logic

commit d7a4619080
Author: oliverpool <oliverpool@hotmail.fr>
Date:   Wed Feb 1 08:37:46 2017 +0100

    Prevent race condition on errorstotal increment

    The HTTPError interface is used to have detailed metrics (by code as
    well)
2017-02-28 20:40:44 +01:00
Marius 168942bfb6 Remove Prometheus client from vendors dependencies
Closes https://github.com/tus/tusd/issues/114
2017-02-28 17:17:13 +01:00
Marius 3c19f8ebdf Use tag pointing at head as version 2017-02-22 12:49:20 +01:00
Marius f4810ff429 Drop support for testing on Go1.4 on Travis
The AWS Go SDK has dropped support Go1.4 in a recent commit
(0cec6f30ed).
Therefore, we decided to not test this unsupported Go version anymore.
2016-12-20 17:25:24 +01:00
Kevin van Zonneveld cc78da7de5 Pin Frey as a dependency vs installing latest globally 2016-12-20 13:42:06 +01:00
Marius 2b7a67c120 Revert "Use current branch name or tag name when building binaries"
This reverts commit e4c3d87ba6.
2016-11-11 22:30:15 +01:00
Marius e4c3d87ba6 Use current branch name or tag name when building binaries 2016-11-11 21:56:38 +01:00
Marius 8f5782b73a Run consul tests on only Go1.7+ 2016-11-11 21:42:35 +01:00
Marius 2b6f08f8cb Do not run frey interactively 2016-11-11 16:45:37 +01:00
Marius ebfe631ddf Do not use sudo for installing frey 2016-11-11 16:37:59 +01:00
Marius bffd8f24b0 Deploy current master branch to master.tus.io 2016-11-11 15:59:01 +01:00
Marius 4a439ac555 Move building functions into separate script file 2016-11-11 15:57:39 +01:00
Marius 58f7065e61 Disable verbose testing on CI 2016-10-13 16:45:19 +02:00
Marius df378704ce Improve output of subtests when emulated 2016-10-13 12:59:11 +02:00
Marius f5d87095ef Exclude Go1.5 instead of 1.7 from Consul tests 2016-09-30 01:12:11 +02:00
Marius a4f565330b Combine consullocker test with the rest of tusd 2016-09-30 01:07:07 +02:00
Marius c80386f552 Stop support for Go1.3 2016-09-30 01:01:33 +02:00
Marius 40528dea00 Install complete packages including subdirectories 2016-09-30 00:55:32 +02:00
Marius f0bb13f727 Make consul tests exclusive for Go1.6+ 2016-09-30 00:47:28 +02:00
Marius 536aaeba71 Use Go 1.7 for cross compilation instead of goxc(1) 2016-09-30 00:10:42 +02:00