Commit Graph

42 Commits

Author SHA1 Message Date
Christoph, René Pardon 6ca6ef69a2
docker: Allow passing secrects using files (#810)
* feat (DOCKER) BW-0: add docker secret env parsing

* fix (DOCKER) #810: adjust image version for docker-compose.yml example

* chore (DOCKER) tus#810: remove AWS_URL env var in favor of s3-endpoint flag
2022-09-19 09:34:37 +02:00
dependabot[bot] 612567d14e
build(deps): bump golang from 1.19.0-alpine to 1.19.1-alpine (#808)
Bumps golang from 1.19.0-alpine to 1.19.1-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 11:46:53 +02:00
dependabot[bot] 69c567b4fa
build(deps): bump alpine from 3.16.1 to 3.16.2 (#788)
Bumps alpine from 3.16.1 to 3.16.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-16 11:00:06 +02:00
dependabot[bot] 1ead453a97
build(deps): bump golang from 1.18.4-alpine to 1.19.0-alpine (#782)
Bumps golang from 1.18.4-alpine to 1.19.0-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 11:58:22 +02:00
dependabot[bot] 527cc4b6ca
build(deps): bump alpine from 3.16.0 to 3.16.1 (#775)
Bumps alpine from 3.16.0 to 3.16.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 09:29:19 +02:00
dependabot[bot] 3f2d51522d
build(deps): bump golang from 1.18.3-alpine to 1.18.4-alpine (#768)
Bumps golang from 1.18.3-alpine to 1.18.4-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 09:58:46 +02:00
dependabot[bot] 97c4a01f05
build(deps): bump golang from 1.18.2-alpine to 1.18.3-alpine (#742)
Bumps golang from 1.18.2-alpine to 1.18.3-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 11:52:52 +02:00
dependabot[bot] 9f0417480a
build(deps): bump alpine from 3.15.4 to 3.16.0 (#735)
Bumps alpine from 3.15.4 to 3.16.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-30 14:23:26 +02:00
dependabot[bot] 9272bd238e
build(deps): bump golang from 1.18.1-alpine to 1.18.2-alpine (#725)
Bumps golang from 1.18.1-alpine to 1.18.2-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 14:18:37 +02:00
dependabot[bot] 0ef0e6f9e0
build(deps): bump alpine from 3.15.3 to 3.15.4 (#703)
Bumps alpine from 3.15.3 to 3.15.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 10:18:11 +02:00
dependabot[bot] ebb1669e9e
build(deps): bump golang from 1.18.0-alpine to 1.18.1-alpine (#708)
Bumps golang from 1.18.0-alpine to 1.18.1-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 10:15:02 +02:00
dependabot[bot] 3a3916af46
build(deps): bump alpine from 3.15.2 to 3.15.3 (#699)
Bumps alpine from 3.15.2 to 3.15.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 14:01:32 +02:00
dependabot[bot] 5117253175
build(deps): bump alpine from 3.15.1 to 3.15.2 (#695)
Bumps alpine from 3.15.1 to 3.15.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 14:19:51 +02:00
dependabot[bot] 4a19bfa082
build(deps): bump golang from 1.17.8-alpine to 1.18.0-alpine (#688)
Bumps golang from 1.17.8-alpine to 1.18.0-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 10:08:04 +01:00
dependabot[bot] 8b7ea0e57d
build(deps): bump alpine from 3.15.0 to 3.15.1 (#689)
Bumps alpine from 3.15.0 to 3.15.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 10:07:18 +01:00
dependabot[bot] bcbe1c2f98
build(deps): bump golang from 1.17.7-alpine to 1.17.8-alpine (#674)
Bumps golang from 1.17.7-alpine to 1.17.8-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 14:11:56 +01:00
dependabot[bot] ec205e0743
build(deps): bump golang from 1.17.6-alpine to 1.17.7-alpine (#651)
Bumps golang from 1.17.6-alpine to 1.17.7-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 21:27:32 +01:00
dependabot[bot] 3975a5a059
build(deps): bump golang from 1.17.5-alpine to 1.17.6-alpine (#608)
Bumps golang from 1.17.5-alpine to 1.17.6-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-09 11:30:54 +01:00
dependabot[bot] 119023f1f7
build(deps): bump golang from 1.17.4-alpine to 1.17.5-alpine (#591)
Bumps golang from 1.17.4-alpine to 1.17.5-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-10 10:55:58 +01:00
dependabot[bot] b1c0f015d8
build(deps): bump golang from 1.17.3-alpine to 1.17.4-alpine (#586)
Bumps golang from 1.17.3-alpine to 1.17.4-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-06 10:28:05 +01:00
dependabot[bot] 3785119fc3
build(deps): bump alpine from 3.14.3 to 3.15.0 (#577)
Bumps alpine from 3.14.3 to 3.15.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 18:08:25 +01:00
dependabot[bot] 9c9cfc534e
build(deps): bump alpine from 3.14.2 to 3.14.3 (#566)
Bumps alpine from 3.14.2 to 3.14.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-15 11:25:42 +01:00
dependabot[bot] 981b8ba910
build(deps): bump golang from 1.17.2-alpine to 1.17.3-alpine (#556)
Bumps golang from 1.17.2-alpine to 1.17.3-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-05 09:28:19 +01:00
Ole-Martin Bratteng 1401222528
ci: Rework GitHub actions flow (#515)
* feat: separate test job into separate workflow

* feat: add dependabot for github actions, docker and go

* feat: new releaes workflow

* feat: add docker build step

* feat: add docker build step

* chore: remove unused steps in the Dockerfile
Since it is multistage, we don't need to remove stuff like `git` since we only copy the binary

* refactor: Dockerfile now cache better
The layers that have a less chance of being updated, is added earlier

* build: use golang `1.17.2` as builder stage

* build: use alpine `3.14.2` as runtime stage

* chore: remove `gcc` from runtime stage

* feat: add heroku step

* chore: remove `main.yaml` workflow

* fix: remove `latest` flavor, the action handles it
2021-10-19 18:17:21 +02:00
Ole-Martin Bratteng 1b11885823
azurestore: Add implementation
* Add azure-storage-blob-go dependency

* Implement Azure BlobStorage store

* Add AzureStore Mock test

* Refactor Blob interfaces to use uppercase fields

* Refactor and remove the Create function
When getting the offset, and we get the status code BlobNotFound, we can say the offset is 0, and start from the beginning

* Update the mock

* Refactor error checking of GetOffset to actually check the service code

* Begin testing azurestore

* Write more tests

* New feature allows to set access type on new containers and blob access tier

* Write more docs

* Upgrade azure-storage-blob-go to v0.13.0

* Remove AzError, not needed

* Update link to container access type information

* Remove ?toc from link in comments

* Remove trailing spaces from workflow

* Run tests with go1.15 and 1.16

* Don't fail fast
This lets all other tests complete, and makes it easier to see if it's just a one-off fail, or on different OSes and versions

* Remove darwin 386 from `build_all.sh` script
Removed in go1.15 https://github.com/golang/go/issues/37610

* Update go version in `Dockerfile`

* Compile for Apple Silicone (darwin arm64)
Only go1.16 supports it
2021-07-29 01:14:50 +02:00
Marius d560c4e753
ci: Update Docker image to Go 1.13
- The Go version now matches the one used for the GHA CI jobs
- The Docker builds failed because a dependency changed and Go 1.12 was not able to use the version from go.sum (see https://hub.docker.com/repository/registry-1.docker.io/tusproject/tusd/builds/913de821-d650-454b-9f05-107862caedf3)
2021-05-17 00:08:36 +02:00
Márk Sági-Kazár 36ecc269ae
misc: Update alpine version in Dockerfile (#470) 2021-04-06 00:15:45 +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
Thomas 9c0d753f7d docker: Updated docker from alpine 3.8 to 3.9 (#286) 2019-06-24 18:38:56 +01:00
Thomas 7cab4b087a docker: Installing gcc and libc-dev for having a matching gcc and linker in the image. (#284) 2019-06-24 16:04:09 +01:00
Thomas a6ebba689f misc: Set the docker user to tusd. (#282) 2019-06-13 10:58:16 +01:00
Marius 14faaafc67
chore: Upgrade Docker image to Go 1.12 2019-05-26 21:38:19 +02:00
Rija Ménagé 82bd6c796a docker: Enable the sample hook files to execute without error (#256)
- Include jq package in the Dockerfile for parsing JSON
- Use sh instead of bash which is not available in Alpine Linux
2019-03-30 18:16:53 +01:00
Acconut daa2250530 Add CA certificates to final Docker image
Fixes https://github.com/tus/tusd/issues/227
2019-01-14 00:08:03 +01:00
Rio Kierkels 36526ef03d Switch to a multistage build for the container image (#225)
This makes it easier to reason about tusd's run environment. It also
significantly lowers the docker image size from 280MB for the current 0.11.0
image to only 26MB. Also not having the entire build environment in the
shipped images makes it quite attractive to use this image as a base
for other images. Those could contain some custom hooks for example.
2019-01-04 22:40:22 +01:00
Abdelhadi Khiati d8cbc9ce6b Update tusd to use gcs 2018-07-10 23:21:57 +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 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 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
FLANEUR ba0f004df7 Add Dockerfile (#129)
* working alpine Dockerfile usable for local and autobuild

* removed volumes
2017-05-29 23:21:53 +02:00