Skip to content

Commit 852e0c2

Browse files
author
Ramkumar Chinchani
committed
ci: fix clustering test by creating separate local dirs
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
1 parent f8c79e2 commit 852e0c2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/cluster.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,14 @@ jobs:
9292
- name: Prepare configuration files
9393
run: |
9494
cp test/cluster/config-minio.json test/cluster/config-minio1.json
95-
sed -i 's/8081/8082/g' test/cluster/config-minio.json
95+
sed -i 's/8081/8081/g' test/cluster/config-minio1.json
96+
sed -i 's/\/tmp\/zot/\/tmp\/zot1/g' test/cluster/config-minio1.json
9697
cp test/cluster/config-minio.json test/cluster/config-minio2.json
97-
sed -i 's/8082/8083/g' test/cluster/config-minio.json
98+
sed -i 's/8081/8082/g' test/cluster/config-minio2.json
99+
sed -i 's/\/tmp\/zot/\/tmp\/zot2/g' test/cluster/config-minio2.json
98100
cp test/cluster/config-minio.json test/cluster/config-minio3.json
101+
sed -i 's/8081/8083/g' test/cluster/config-minio3.json
102+
sed -i 's/\/tmp\/zot/\/tmp\/zot3/g' test/cluster/config-minio3.json
99103
100104
- name: Run push-pull tests
101105
run: |

0 commit comments

Comments
 (0)