Skip to content

Commit

Permalink
Node backups - only use no_check_bucket on R2
Browse files Browse the repository at this point in the history
Restrict the no_check_bucket to Cloudflare as the impact on other sites is unknown.

Also bumps galaxy.yml
  • Loading branch information
blakebyrnes committed Jan 8, 2025
1 parent 1813b1a commit 9954eda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace: paritytech
name: chain

# The version of the collection. Must be compatible with semantic versioning
version: 1.10.8
version: 1.10.9

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
2 changes: 2 additions & 0 deletions roles/node_backup/templates/rclone/rclone.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ acl = private
upload_cutoff = 1024M
upload_concurrency = {{ node_backup_max_concurrent_requests }}
chunk_size = 256M
{% if node_backup_s3_provider == "Cloudflare" %}
no_check_bucket = true
{% endif %}
{% endif %}

{% if node_backup_targets | json_query('[].type') | intersect(_node_backup_gcp_types) | length > 0 %}
[GCPbackups]
Expand Down

0 comments on commit 9954eda

Please sign in to comment.