Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/ar-io/ar-io-node into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
Bobinstein committed Sep 16, 2023
2 parents f290358 + 0eef460 commit eb53840
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
path: test-results.json
reporter: mocha-json

# Codecov report
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

# Build and push container image to GCR (only on main branch)
- name: Log in to the GitHub Container Registry
if: github.ref == 'refs/heads/main'
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# AR.IO Gateway Node

[![codecov](https://codecov.io/gh/ar-io/ar-io-node/graph/badge.svg?token=F3BJ7W74HY)](https://codecov.io/gh/ar-io/ar-io-node)

## Getting Started

- [Linux Installation Instructions](./docs/linux-setup.md)
Expand Down
6 changes: 6 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: 50%
threshold: 1%
4 changes: 4 additions & 0 deletions envoy/envoy.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ static_resources:
retry_on: '5xx,reset'
num_retries: 5
- match: { prefix: '/' }
response_headers_to_add:
- header:
key: 'Cache-Control'
value: 'public, max-age=30'
route:
cluster: legacy_gateways
retry_policy:
Expand Down

0 comments on commit eb53840

Please sign in to comment.