Commit Graph

42 Commits

Author SHA1 Message Date
Marius cab456900a Merge branch 'master' of github.com:tus/tusd into v2 2022-07-25 13:02:05 +02:00
Abdelhadi Khiati e0189d1bac
Upgrade stack to heroku-22 latest 2022-07-20 02:51:42 +01:00
Marius 1e69d9ba68 Merge branch 'master' of github.com:tus/tusd into v2 2022-06-17 13:21:59 +02:00
dependabot[bot] 53e35a87e5
build(deps): bump docker/build-push-action from 2 to 3 (#721)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:10:13 +02:00
dependabot[bot] ea182008f7
build(deps): bump docker/setup-buildx-action from 1.7.0 to 2.0.0 (#722)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.7.0...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:09:52 +02:00
dependabot[bot] a4bf8339f6
build(deps): bump docker/metadata-action from 3.8.0 to 4.0.1 (#723)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.8.0 to 4.0.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3.8.0...v4.0.1)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:09:39 +02:00
dependabot[bot] d441581f6c
build(deps): bump docker/login-action from 1.14.1 to 2.0.0 (#724)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.14.1 to 2.0.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.14.1...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:09:21 +02:00
dependabot[bot] e8f0949cf0
build(deps): bump docker/metadata-action from 3.6.2 to 3.8.0 (#716)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.6.2 to 3.8.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.6.2...v3.8.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  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-03 09:53:23 +02:00
dependabot[bot] f8dc7e0551
build(deps): bump docker/setup-buildx-action from 1.6.0 to 1.7.0 (#717)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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-03 09:53:09 +02:00
Marius 9ef0b54c7c ci: Update builds to Go 1.18 2022-04-12 09:14:28 +02:00
dependabot[bot] bcae0b5a5b
build(deps): bump actions/checkout from 2.4.0 to 3 (#676)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 14:06:52 +01:00
dependabot[bot] 8b799f1774
build(deps): bump actions/setup-go from 2.2.0 to 3 (#677)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.2.0 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2.2.0...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 14:05:09 +01:00
dependabot[bot] e925ba362e
build(deps): bump docker/login-action from 1.13.0 to 1.14.1 (#678)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.13.0 to 1.14.1.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.13.0...v1.14.1)

---
updated-dependencies:
- dependency-name: docker/login-action
  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-14 14:04:57 +01:00
dependabot[bot] 85e2f17520
build(deps): bump docker/login-action from 1.12.0 to 1.13.0 (#658)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  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-02-21 11:51:55 +01:00
dependabot[bot] 6136e92d48
build(deps): bump actions/setup-go from 2.1.5 to 2.2.0 (#649)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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-02-10 08:46:02 +01:00
dependabot[bot] 880c71fa82
build(deps): bump docker/login-action from 1.10.0 to 1.12.0 (#599)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.10.0...v1.12.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  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-12-27 20:15:32 +01:00
dependabot[bot] 5819efb0dd
build(deps): bump actions/setup-go from 2.1.4 to 2.1.5 (#601)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2.1.4...v2.1.5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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-27 20:14:32 +01:00
dependabot[bot] f4bcc50d1e
build(deps): bump softprops/action-gh-release from 0.1.13 to 0.1.14 (#594)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v0.1.13...v0.1.14)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  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-13 11:49:51 +01:00
dependabot[bot] d8e3401651
build(deps): bump docker/metadata-action from 3.6.1 to 3.6.2 (#588)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.6.1...v3.6.2)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  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:54:56 +01:00
dependabot[bot] 0a538cd2b3
build(deps): bump docker/metadata-action from 3.6.0 to 3.6.1 (#580)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.6.0...v3.6.1)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  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-30 11:06:54 +01:00
dependabot[bot] 7666298f81
build(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#552)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-03 15:17:42 +01:00
dependabot[bot] 50463e6aa5
build(deps): bump docker/metadata-action from 3.5.0 to 3.6.0 (#539)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  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-10-26 08:39:33 +02:00
Ole-Martin Bratteng c758437a8a
ci: fix non-failing windows test when it should fail (#526)
* chore: make `continuous-integration.yml` match `release.yml` workflow

* fix: move `go vet` to separate step
2021-10-21 14:29:57 +02:00
dependabot[bot] 00bdee0835
build(deps): bump akhileshns/heroku-deploy from 3.4.6 to 3.12.12 (#518)
Bumps [akhileshns/heroku-deploy](https://github.com/akhileshns/heroku-deploy) from 3.4.6 to 3.12.12.
- [Release notes](https://github.com/akhileshns/heroku-deploy/releases)
- [Commits](https://github.com/akhileshns/heroku-deploy/compare/v3.4.6...v3.12.12)

---
updated-dependencies:
- dependency-name: akhileshns/heroku-deploy
  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-10-20 16:00:49 +02: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
Marius 21b3de4c71
ci: Replace version test with working regex 2021-10-18 15:04:48 +02:00
Marius cd717e580c
ci: Tag docker image with tag name
See https://github.com/tus/tusd/issues/511
2021-10-18 14:43:37 +02:00
Marius dd44267c08
ci: Upgrade Go version for tests and releases 2021-10-13 22:05:19 +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
Abdelhadi Khiati 734c630069 Update for build step also, uses a stable version of go 2021-01-18 13:46:09 +01:00
Abdelhadi Khiati 8b81859a80 Use setup-go@v2 to avoid old commands. 2021-01-18 13:41:07 +01:00
Ifedapo .A. Olarewaju ed85c526cb
build: remove k8s related build (#426)
* build: remove k8s related build

* build: there's more
2020-09-11 20:47:45 +02:00
Ifedapo .A. Olarewaju 2c7735e697
Heroku deployment (#425)
* add heroku deployment

* build: remove duplicate step
2020-09-11 15:20:18 +02:00
Abdelhadi Khiati 3034947e30 Better improve 2020-04-15 03:20:27 +01:00
Abdelhadi Khiati 25eec49577 Use newer version of Azure 2020-04-15 03:18:18 +01:00
Abdelhadi Khiati 4b7cda81a4 Also run build on tags @Acconut 2019-11-18 08:18:14 +01:00
Marius 39b90f9148
ci: Trigger build when tag is created 2019-11-15 21:20:52 +01:00
kiloreux a32ce3e9ab base64 not working 2019-10-02 06:26:52 +01:00
kiloreux f5e8541a06 Adding space 2019-10-02 06:18:58 +01:00
kiloreux 232236f167 Build pull requests also 2019-10-02 06:07:33 +01:00
kiloreux 10175799e1 Build on tags also 2019-10-02 06:01:42 +01:00
kiloreux ee5d881ad3 ci: Move from Travis to GitHub Actions (#308)
* Initial commit

* trimpath error

* Test

* test priority

* Another versiong

* ON push only

* Build also

* Enable GO11MODULE

* Disable trimpath

* Separate jobs

* Change stuff

* Matrix build again

* Remove mapping

* Don't use script

* Disable version temp

* Restore

* Deploy on master only

* Deploy on master push

* Remove unused code

* Rename GitHub token secret

The GITHUB_ prefix is reserved (see https://help.github.com/en/articles/virtual-environments-for-github-actions#naming-conventions) and I was not able to create a secret called GITHUB_TOKEN
2019-10-01 17:58:22 +02:00