Просмотр исходного кода

Bump fake-gcs version and fix resumable uploads

GitOrigin-RevId: b1f3cf74f59ff53961665e19826b2f10ac235016
John Lees-Miller 9 месяцев назад
Родитель
Сommit
0d71c825a9

+ 2 - 2
services/docstore/docker-compose.ci.yml

@@ -70,8 +70,8 @@ services:
       # starting up mongo.
       - mongo:127.0.0.1
   gcs:
-    image: fsouza/fake-gcs-server:1.45.2
-    command: ["--port=9090", "--scheme=http"]
+    image: fsouza/fake-gcs-server:1.52.3
+    command: ["--port=9090", "--scheme=http", "--external-url=http://gcs:9090"]
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s

+ 2 - 2
services/docstore/docker-compose.yml

@@ -70,8 +70,8 @@ services:
       - mongo:127.0.0.1
 
   gcs:
-    image: fsouza/fake-gcs-server:1.45.2
-    command: ["--port=9090", "--scheme=http"]
+    image: fsouza/fake-gcs-server:1.52.3
+    command: ["--port=9090", "--scheme=http", "--external-url=http://gcs:9090"]
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s

+ 2 - 2
services/filestore/docker-compose.ci.yml

@@ -215,8 +215,8 @@ services:
         mc admin policy attach s3 overleaf-filestore \
           --user=OVERLEAF_FILESTORE_S3_ACCESS_KEY_ID
   gcs:
-    image: fsouza/fake-gcs-server:1.45.2
-    command: ["--port=9090", "--scheme=http"]
+    image: fsouza/fake-gcs-server:1.52.3
+    command: ["--port=9090", "--scheme=http", "--external-url=http://gcs:9090"]
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s

+ 2 - 2
services/filestore/docker-compose.yml

@@ -218,8 +218,8 @@ services:
         mc admin policy attach s3 overleaf-filestore \
           --user=OVERLEAF_FILESTORE_S3_ACCESS_KEY_ID
   gcs:
-    image: fsouza/fake-gcs-server:1.45.2
-    command: ["--port=9090", "--scheme=http"]
+    image: fsouza/fake-gcs-server:1.52.3
+    command: ["--port=9090", "--scheme=http", "--external-url=http://gcs:9090"]
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s

+ 2 - 2
services/history-v1/docker-compose.ci.yml

@@ -264,8 +264,8 @@ services:
         mc admin policy attach s3 overleaf-history \
           --user=OVERLEAF_HISTORY_S3_ACCESS_KEY_ID
   gcs:
-    image: fsouza/fake-gcs-server:1.45.2
-    command: ["--port=9090", "--scheme=http"]
+    image: fsouza/fake-gcs-server:1.52.3
+    command: ["--port=9090", "--scheme=http", "--external-url=http://gcs:9090"]
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s

+ 2 - 2
services/history-v1/docker-compose.yml

@@ -270,8 +270,8 @@ services:
         mc admin policy attach s3 overleaf-history \
           --user=OVERLEAF_HISTORY_S3_ACCESS_KEY_ID
   gcs:
-    image: fsouza/fake-gcs-server:1.45.2
-    command: ["--port=9090", "--scheme=http"]
+    image: fsouza/fake-gcs-server:1.52.3
+    command: ["--port=9090", "--scheme=http", "--external-url=http://gcs:9090"]
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s