• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / atlas-server / 12379202118
40%

Build:
DEFAULT BRANCH: master
Ran 17 Dec 2024 06:32PM UTC
Jobs 1
Files 37
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Dec 2024 06:31PM UTC coverage: 39.092% (-3.6%) from 42.704%
12379202118

push

github

web-flow
feat: added s3 to atlas-server (#120)

This PR adds an S3 cache for the tiles object, and redirects to it when
present.

You can test this branch locally is you have Docker, by running
`docker-compose up` (it will start MinIO, a local s3).
Then add these to your `.env`:
```
AWS_ACCESS_KEY_ID=admin
AWS_SECRET_ACCESS_KEY=password
AWS_S3_BUCKET=atlas-server
AWS_S3_REGION=us-east-1
AWS_S3_ENDPOINT=http://0.0.0.0:9000
```
Finally, build and run the server: `npm run build && npm start`.

You should see the tiles json should be stored in your local minio
(there's a browser at `http://localhost:9001/`) and the `/v1/tiles` and
`/v2/tiles` enpoint should redirect there.

155 of 211 branches covered (73.46%)

Branch coverage included in aggregate %.

1 of 373 new or added lines in 7 files covered. (0.27%)

1318 of 3557 relevant lines covered (37.05%)

6.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% src/controllers/routes.ts
13
0.0
0.0% src/components.ts
22
0.0
0.0% src/types.ts
34
0.0
0.0% src/controllers/handlers.ts
99
0.0
0.0% src/modules/map/component.ts
201
0.0
src/modules/s3/component.ts
Jobs
ID Job ID Ran Files Coverage
1 12379202118.1 17 Dec 2024 06:32PM UTC 37
39.09
GitHub Action Run
Source Files on build 12379202118
  • Tree
  • List 37
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8b5ab5b4 on github
  • Prev Build on master (#11673035617)
  • Next Build on master (#12396912856)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc