Skip to content

Commit

Permalink
(follow-up) Warm OpenFN cache to allow full offline support (#83)
Browse files Browse the repository at this point in the history
* (follow-up) Warm OpenFN cache to allow full offline support

* remove distro openfn file
  • Loading branch information
jnsereko authored Dec 18, 2024
1 parent 77e8abc commit fd36a59
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 47 deletions.
45 changes: 0 additions & 45 deletions distro/configs/openfn/project.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/docker-compose-openfn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- ozone
- web
volumes:
- ./adaptor_registry_cache.json:/app/priv/adaptor_registry_cache.json
- $DISTRO_PATH/configs/openfn/adaptor_registry_cache.json:/app/priv/adaptor_registry_cache.json

worker:
platform: linux/x86_64/v8
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_msf_addons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ echo ""

# this step requires internet. It downloads node modules. Should be run on the host
echo "$INFO Pre-warming worker cache with adaptors..."
docker compose run --rm worker npm install -g @openfn/cli && openfn repo install -a common@latest -a collections@latest -a [email protected] -a [email protected] -a [email protected]
docker exec -it $PROJECT_NAME-worker-1 sh -c "npm install -g @openfn/cli && openfn repo install -a common@latest -a collections@latest -a [email protected] -a [email protected] -a [email protected]"

0 comments on commit fd36a59

Please sign in to comment.