Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore failures from databoard sanity checks on explorer launch #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion explorer/src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function initMap(center, zoom) {

const mp = new mapboxgl.Map({
container: 'map-container',
style: 'https://maps.tilehosting.com/styles/positron/style.json?key=dcCQFarAif6ie2xrgCEF',
style: 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json',
zoom: zoom,
center: center,
hash: false
Expand Down
5 changes: 3 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def pop_stack(ctx, build_dockers=False):
ctx.run("docker-compose up -d")


def _run_container(ctx, container_name, job, cosmogony_data_dir=None):
def _run_container(ctx, container_name, job, cosmogony_data_dir=None, continue_on_fail=False):
main_docker_files = _get_docker_compose()
run_docker_files = {"COMPOSE_FILE": main_docker_files + ":docker-compose.run.yml"}
if cosmogony_data_dir:
run_docker_files['PATH_TO_COSMOGONY_DIR'] = cosmogony_data_dir
ctx.run(f"docker-compose run --rm {container_name} {job}", env=run_docker_files)
ctx.run(f"docker-compose run --rm {container_name} {job}", env=run_docker_files, warn=continue_on_fail)


@task(default=True)
Expand Down Expand Up @@ -72,4 +72,5 @@ def generate_data_dashboard(ctx, cosmogony_file_name, cosmogony_data_dir):
"data-dashboard",
f"--cosmogony=/mnt/data/{cosmogony_file_name} --output=/mnt/data-dashboard/test_results.json",
cosmogony_data_dir=cosmogony_data_dir,
continue_on_fail=True,
)