Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
feat: add initial tile proxying (#9)
Browse files Browse the repository at this point in the history
feat: add initial tile proxying

* proxy to ADM_ENDPOINT_URL
* add basic validation and mapping to AdM's region ip from the country param
* add an inital integration test w/ an AdM Tile API mock
* fix circleci/Dockerfile configs
* add ua stripping, cleanup
* ua edge cases

Closes #2, #3, #5
  • Loading branch information
pjenvey authored Feb 9, 2021
1 parent ab6da84 commit 71b9df3
Show file tree
Hide file tree
Showing 15 changed files with 782 additions and 364 deletions.
9 changes: 2 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ commands:
name: Core Rust Checks
command: |
cargo fmt -- --check
# cargo audit --ignore RUSTSEC-2020-0041
cargo audit
cargo audit --ignore RUSTSEC-2020-0041
rust-clippy:
steps:
- run:
Expand Down Expand Up @@ -122,7 +121,6 @@ jobs:
fi
- checkout
- setup-rust
- setup-python
- write-version
- cargo-build
- run-tests
Expand All @@ -137,9 +135,6 @@ jobs:
command: |
mkdir -p /home/circleci/cache
docker save -o /home/circleci/cache/docker.tar "app:build"
- run:
name: Save docker-compose config
command: cp docker-compose*.yaml /home/circleci/cache
- save_cache:
key: v1-{{ .Branch }}-{{ .Environment.CIRCLE_TAG }}-{{ epoch }}
paths:
Expand Down Expand Up @@ -197,7 +192,7 @@ workflows:
only: /.*/
- deploy:
requires:
- e2e-tests
- build-and-test
filters:
tags:
only: /.*/
Loading

0 comments on commit 71b9df3

Please sign in to comment.