Skip to content

Commit

Permalink
add warning to bin/migrate_iaids
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiahstroud committed Oct 10, 2024
1 parent a8211be commit ff50053
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/audit_iaids.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby

# NOTE: Usage: bin/audit_iaids.rb path/to/json
# INFO: Usage: bin/audit_iaids.rb path/to/json

# INFO: To use this script, you will first need to run bin/map_iaids_by_csv.rb
# NOTE: To use this script, you will first need to run bin/map_iaids_by_csv.rb

require_relative '../lib/space_stone'
require 'dotenv'
Expand Down
4 changes: 2 additions & 2 deletions bin/ia_to_s3_migrator
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby

# NOTE: Usage: bin/migrate_iaids path/to/audit_json
# INFO: Usage: bin/migrate_iaids path/to/audit_json

# INFO: To use this script, you will first need to run:
# NOTE: To use this script, you will first need to run:
# - bin/map_iaids_by_csv.rb
# - bin/audit_iaids.rb

Expand Down
2 changes: 1 addition & 1 deletion bin/map_iaids_by_csv.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby

# NOTE: Usage: bin/map_iaids_by_csv.rb path/to/csv
# INFO: Usage: bin/map_iaids_by_csv.rb path/to/csv

require 'csv'
require 'json'
Expand Down
4 changes: 4 additions & 0 deletions bin/migrate_iaids
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
set -e

# WARN: This script can run for a long time. Running this within a
# screen session or as a background process is strongly recommended

# INFO: Usage: bin/migrate_iaids path/to/audit_json
# See bin/ia_to_s3_migrator

STAGE_ENV=production docker compose run \
Expand Down

0 comments on commit ff50053

Please sign in to comment.