Commit Graph

850 Commits

Author SHA1 Message Date
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 bf1b270797
tus namespace 2018-01-11 12:03:14 +01:00
kiloreux 6795bd7669 Added NFS support for easier blue/green deployments 2018-01-11 11:08:44 +01:00
Marius baceec15ed Correct filename for apache2 config 2018-01-08 17:17:03 +01:00
Marius eea5279b1e
Update links to nginx and apache2 config 2018-01-08 17:15:45 +01:00
Marius 9304ecba6e
Add back apache2.conf 2018-01-08 17:13:24 +01:00
Marius 6a5fbd7e05
Add back nginx.conf 2018-01-08 17:12:56 +01:00
kiloreux d140ad991a
Set to zero again 2018-01-08 08:21:35 +01:00
kiloreux c1ae4d4a6c
Remove files and unify kube 2018-01-06 16:53:24 +01:00
kiloreux 77614ae18f
No downtime for tusd 2018-01-05 15:58:39 +01:00
kiloreux 5393631386
Remove frey files @Acconut 2018-01-05 15:53:49 +01:00
kiloreux 02cfb33054
body size 0 @kvz 2018-01-05 15:51:39 +01:00
kiloreux b2a568d525
Fix tus 2018-01-05 15:33:16 +01:00
kiloreux 9d74bf722d
kubectl bug 2018-01-04 19:41:18 +01:00
kiloreux 319f961706
Commit permissions fix 2018-01-04 19:00:38 +01:00
kiloreux cb040c9afd
Remove tusd user 2018-01-04 17:51:27 +01:00
kiloreux a7f2d8cdd2
Deploy on master 2018-01-04 17:36:10 +01:00
kiloreux 49dd1be822
Remove user from dockerfile and mvoe it to deployment 2018-01-04 17:27:57 +01:00
kiloreux 2eba9ebeba
Added entrypoint to fix permissions 2018-01-04 17:25:30 +01:00
kiloreux 825e9a835a
Enable cors 2018-01-04 16:59:33 +01:00
kiloreux 25cfb90a86
multiple domains 2018-01-03 13:25:51 +01:00
kiloreux 2ff9da6d88
Upgrade tus domain 2018-01-03 13:19:36 +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
Marius ef64437ccc
Merge pull request #161 from peixian/fix-gcs-object-info
GetInfo now properly retrieves info for composed objects
2017-12-01 15:01:33 +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
Kevin van Zonneveld f78d395f1a Merge branch 'master' of github.com:tus/tusd 2017-11-29 11:20:10 +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
Peixian Wang bbb0fd5ec7
GetInfo now properly retrieves the object size 2017-11-28 10:24:30 -05:00
Marius 6f9b66f3ad Fix nil pointer derefernce in gcsstore tests 2017-11-21 14:29:28 +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
Marius 52265b622d Expose concatenation support in filestore 2017-11-21 13:00:43 +01:00
Marius e8b1cb18d4 Update dependencies 2017-11-20 22:35:32 +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 d79a4bce63 Merge branch 'master' of github.com:tus/tusd 2017-09-03 10:58:34 +02:00
Markus Kienast 2df5d11672 s3store: calculate part size based on upload size
See https://github.com/tus/tusd/issues/149 and
https://github.com/tus/tusd/pull/150 for more details.

Squashed commit of the following:

commit 78312ab26ea7ee664038e5b5d362bd534bfe0e37
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 19:49:48 2017 +0200

    Correct error assertions for exceeding max part size

commit 9350712c0a46651e6a7a91d8819307ba4b08ec7e
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 19:44:28 2017 +0200

    Make CalcOptimalPartSize unexported

commit 593f3b2d37d16c51f229572c1d6b39fc2a234079
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 19:38:46 2017 +0200

    Add more output for debugging tests

commit b7193bfe67b535c9b9dd441610b41af11fe4538f
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 19:35:48 2017 +0200

    Extract size assertions into own function

commit 7521de23194652519fbbf3d61a41ef0b44b005fa
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 19:26:48 2017 +0200

    Move tests for CalcPartSize into own file

commit 6c483de7710cc119c870271ccad629c98c15c9a3
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 19:13:02 2017 +0200

    Use same assertions in AllUploadSizes test

commit 7b0290a07e7def09ea8ed982e7817a2ea7cd468a
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 18:30:02 2017 +0200

    Split negative test case from TestCalcOptimalPartSize into own test

commit 79c0a20d7bc71b494bc0824ad2aa8879b0c2900b
Merge: 5240f9b 997961f
Author: Marius <maerious@gmail.com>
Date:   Fri Sep 1 17:32:31 2017 +0200

    Merge branch 'f-s3-part-size' of https://github.com/flaneurtv/tusd into flaneurtv-f-s3-part-size

commit 997961ff5c
Author: Markus Kienast <mark@rickkiste.at>
Date:   Fri Sep 1 00:59:38 2017 +0200

    TestNewUploadLargerMaxObjectSize

commit 0831bd79f8
Author: Markus Kienast <mark@rickkiste.at>
Date:   Thu Aug 31 23:08:03 2017 +0200

    fmt.Sprintf removed, range from 0 - MaxObjectSize+1

commit 1be7081524
Author: Markus Kienast <mark@rickkiste.at>
Date:   Tue Aug 29 10:23:50 2017 +0200

    turn off debug mode

commit be9a9bec10
Author: Markus Kienast <mark@rickkiste.at>
Date:   Tue Aug 29 10:12:20 2017 +0200

    moved MaxObjectSize check to NewUpload, refined tests

    * moved MaxObjectSize check to NewUpload
    * removed MaxObjectSize check from CalcOptimalPartSize
    * switched to assert in tests
    * added TestAllPartSizes, excluded in short mode

    TODO: TestNewUploadLargerMaxObjectSize needs to fail if MaxObjectSize > size

commit 7c22847a45
Author: Markus Kienast <mark@rickkiste.at>
Date:   Sat Aug 26 12:55:07 2017 +0200

    adding debug code to TestCalcOptimalPartSize

commit 5240f9b549000fac34be79ddfbe6e82404387f6b
Merge: 63c011e 5b116e7
Author: Marius <maerious@gmail.com>
Date:   Sat Aug 26 12:50:51 2017 +0200

    Merge branch 'f-s3-part-size' of https://github.com/flaneurtv/tusd into flaneurtv-f-s3-part-size

commit 63c011ef768db42e99004df921c2b9e5c4776fd2
Author: Marius <maerious@gmail.com>
Date:   Sat Aug 26 12:50:45 2017 +0200

    Format s3store_test

commit 5b116e7087
Author: Markus Kienast <mark@rickkiste.at>
Date:   Sat Aug 26 12:24:22 2017 +0200

    restructuring tests to accommodate optimalPartSize of 0

commit 93134a5696
Author: Markus Kienast <mark@rickkiste.at>
Date:   Sat Aug 26 12:03:18 2017 +0200

    moving MaxObjectSize check to top

commit 68e6bb8c41
Author: Markus Kienast <mark@rickkiste.at>
Date:   Sat Aug 26 02:31:27 2017 +0200

    enhance readability, comments and errors

commit 8831a98c34
Author: Markus Kienast <mark@rickkiste.at>
Date:   Thu Aug 24 02:27:57 2017 +0200

    separated partsize calc and error handling

commit f059acc7cc
Author: Markus Kienast <mark@rickkiste.at>
Date:   Thu Aug 24 01:29:26 2017 +0200

    fixed edge cases; pre-cleanup

commit e2e3b9ffe4
Author: Markus Kienast <mark@rickkiste.at>
Date:   Wed Aug 23 13:28:59 2017 +0200

    added error, when size > MaxObjectSize; additional case in algorithm + tests; go fmt

commit 381d3326cb
Author: Markus Kienast <mark@rickkiste.at>
Date:   Thu Aug 17 16:32:25 2017 +0200

    calculating PartSize based on size of upload

    simplified algorithm, respect MaxObjectSize, updated tests, go fmt

commit 1ad6187d6d
Author: koenvo <info@koenvossen.nl>
Date:   Thu Aug 17 21:31:37 2017 +0200

    Take IsTruncated field of S3 ListParts API response into account (#148)

    * Take IsTruncated field of S3 ListParts API response into account

    * Rename s3store.ListParts to ListAllParts

    * Use proper formatting + make listAllParts private + test listAllParts through TestGetInfo

    * Update TestFinishUpload to also test paged ListParts response
2017-09-03 10:57:06 +02:00
Marius dda5f922c3 Test against Go 1.9 on Travis 2017-08-26 16:32:03 +02:00
Marius 185e81409a Exclude consullocker from tests on AppVeyor 2017-08-26 16:31:28 +02:00
koenvo 1ad6187d6d Take IsTruncated field of S3 ListParts API response into account (#148)
* Take IsTruncated field of S3 ListParts API response into account

* Rename s3store.ListParts to ListAllParts

* Use proper formatting + make listAllParts private + test listAllParts through TestGetInfo

* Update TestFinishUpload to also test paged ListParts response
2017-08-17 21:31:37 +02:00
Kevin van Zonneveld 28211fdda5 Add empty commit for the purpose of testing Docker Automated Build 2017-07-20 13:06:55 +02:00
Marius a51f5994bb Squashed commit of the following:
commit d6ba86b7c300122af52e5be71b5fade4bb88d77c
Author: Marius <maerious@gmail.com>
Date:   Wed Jul 19 17:44:56 2017 +0200

    Add documentation for post-create

commit 1d1605f98036e6cfd7e2695cf2e4f8510a220326
Author: Marius <maerious@gmail.com>
Date:   Wed Jul 19 13:21:01 2017 +0200

    Remove duplicated log for created uploads

commit 1f5c6d22bb62e1251297db9b10f78f6db363759d
Author: Marius <maerious@gmail.com>
Date:   Wed Jul 19 13:08:11 2017 +0200

    Rename UploadsCreated to CreatedUploads to match other names

commit 5c67ea7548548986c4bce79b7eea311a02a4c541
Author: Marius <maerious@gmail.com>
Date:   Wed Jul 19 13:07:14 2017 +0200

    Remove unused variable from hook script

commit e21d7f5824ce533d80d74e75835ddc33de2184fb
Merge: 028ba57 447aa9c
Author: Marius <maerious@gmail.com>
Date:   Wed Jul 19 12:47:52 2017 +0200

    Merge branch 'f-post-create-hook' of https://github.com/flaneurtv/tusd into flaneurtv-f-post-create-hook

commit 447aa9c485
Author: Markus Kienast <mark@rickkiste.at>
Date:   Thu Jul 13 15:57:07 2017 +0200

    added post-create hook

    added test for handler.UploadCreated

    go fmt .
2017-07-19 17:45:16 +02:00
Markus Kienast 028ba57206 Squashed commit of the following:
commit 5a268dbafb9318b888142931ea27a1af10b9a8e7
Author: Marius <maerious@gmail.com>
Date:   Wed Jul 19 11:47:26 2017 +0200

    Remove manual assignment of upload ID in S3Store

commit a37e149090ee7fd5f170d24ccc33b8af9ae18fae
Author: Marius <maerious@gmail.com>
Date:   Wed Jul 19 11:42:00 2017 +0200

    Format Go code

commit 6643a9be62
Author: Markus Kienast <mark@rickkiste.at>
Date:   Sun Jul 16 17:08:24 2017 +0200

    fixed ID value in .info; adjusted tests; fixed assert(expected, received) swap
2017-07-19 11:54:26 +02:00
FLANEUR ba0f004df7 Add Dockerfile (#129)
* working alpine Dockerfile usable for local and autobuild

* removed volumes
2017-05-29 23:21:53 +02:00
Marius 73763acdaa Update apache2.conf 2017-05-22 22:11:43 +02:00
Marius ac110932a4 Add link to Apache example configuration. 2017-05-20 22:38:35 +02:00
Marius 5472f66fd8 Create apache2.conf 2017-05-20 22:36:04 +02:00
Peixian Wang a7950fdadb Add HTTP hooks
Closes https://github.com/tus/tusd/pull/120
2017-04-14 16:29:18 +02:00