Skip to content

Commit

Permalink
Publish global state for changesets after local state
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Oct 24, 2023
1 parent 8e2b5b8 commit cfaa167
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ class Replicator

if @config["s3_dir"]
s3_file = s3_stem + ".osm.gz"
s3_state_config_file = @config["s3_dir"] + "/state.yaml"
s3_state_file = s3_stem + ".state.txt"
s3_state_config_file = @config["s3_dir"] + "/state.yaml"

system("/opt/awscli/v2/current/bin/aws", "--profile=osm-pds-upload", "s3", "cp", "--storage-class=INTELLIGENT_TIERING", "--no-progress", data_file, s3_file)
system("/opt/awscli/v2/current/bin/aws", "--profile=osm-pds-upload", "s3", "cp", "--storage-class=INTELLIGENT_TIERING", "--no-progress", @config["state_file"], s3_state_config_file)
system("/opt/awscli/v2/current/bin/aws", "--profile=osm-pds-upload", "s3", "cp", "--storage-class=INTELLIGENT_TIERING", "--no-progress", data_state_file, s3_state_file)
system("/opt/awscli/v2/current/bin/aws", "--profile=osm-pds-upload", "s3", "cp", "--storage-class=INTELLIGENT_TIERING", "--no-progress", @config["state_file"], s3_state_config_file)
end
end

Expand Down

0 comments on commit cfaa167

Please sign in to comment.