Skip to content

Commit e404036

Browse files
committed
🤦
1 parent 513c7bd commit e404036

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_integration-test/test_02_backup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ def test_02_import(setup_backup_restore_env_variables):
5050
# We cannot just rm and create them as they still need the migrations.
5151
for name in ("postgres", "clickhouse", "kafka"):
5252
subprocess.run(["docker", "volume", "rm", f"sentry-{name}"], check=True)
53+
subprocess.run(["docker", "volume", "create", f"sentry-{name}"], check=True)
5354
subprocess.run(
5455
[
55-
"sudo",
5656
"rsync",
5757
"-aW",
5858
"--super",
@@ -65,7 +65,6 @@ def test_02_import(setup_backup_restore_env_variables):
6565
check=True,
6666
capture_output=True,
6767
)
68-
subprocess.run(["docker", "volume", "create", f"sentry-{name}"], check=True)
6968

7069
subprocess.run(
7170
["docker", "compose", "--ansi", "never", "up", "--wait"],

action.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ runs:
110110
- name: Integration Test
111111
shell: bash
112112
run: |
113-
sudo rsync -aW --super --numeric-ids --no-compress --mkpath \
113+
sudo chown root /usr/bin/rsync && sudo chmod u+s /usr/bin/rsync
114+
rsync -aW --super --numeric-ids --no-compress --mkpath \
114115
/var/lib/docker/volumes/sentry-postgres \
115116
/var/lib/docker/volumes/sentry-clickhouse \
116117
/var/lib/docker/volumes/sentry-kafka \

0 commit comments

Comments
 (0)