Skip to content

Commit

Permalink
Updated makerules 2024-11-07
Browse files Browse the repository at this point in the history
  • Loading branch information
digital-land-bot committed Nov 7, 2024
1 parent 966d6a4 commit c9a00b6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions makerules/makerules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,12 @@ commit-makerules::

commit-collection::
@:

state.json::
digital-land save-state --specification-dir=specification --collection-dir=$(COLLECTION_DIR) --pipeline-dir=$(PIPELINE_DIR) --output-path=state.json

save-state::
aws s3 cp state.json s3://$(COLLECTION_DATASET_BUCKET_NAME)/state.json --no-progress

load-state:: state.json
aws s3 cp s3://$(COLLECTION_DATASET_BUCKET_NAME)/state.json state.json --no-progress || echo state.json not found in s3 bucket $(COLLECTION_DATASET_BUCKET_NAME)

0 comments on commit c9a00b6

Please sign in to comment.