storage: add s3 backend support (without GC and dedupe)

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
Petu Eusebiu
2021-07-17 06:53:05 +03:00
committed by Ramkumar Chinchani
parent 8e4d828867
commit 9c568c0ee2
15 changed files with 3534 additions and 1049 deletions
+12
View File
@@ -13,6 +13,14 @@ jobs:
build-test:
name: Build and test ZOT
runs-on: ubuntu-latest
services:
s3mock:
image: localstack/localstack-full
env:
SERVICES: s3
ports:
- 4563-4599:4563-4599
- 9090:8080
steps:
- name: Install go
uses: actions/setup-go@v2
@@ -36,6 +44,10 @@ jobs:
timeout-minutes: 30
run: |
cd $GITHUB_WORKSPACE && make
env:
S3MOCK_ENDPOINT: localhost:4566
AWS_ACCESS_KEY_ID: fake
AWS_SECRET_ACCESS_KEY: fake
- name: Upload code coverage
uses: codecov/codecov-action@v1