mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #6224 from overleaf/jpa-cache-install-deps
[misc] add docker image caching for install_deps, pre-fetch node image GitOrigin-RevId: b52e52351c62b780538e0668b99fc1c28723addc
This commit is contained in:
@@ -6,4 +6,4 @@ access-token-encryptor
|
||||
--is-library=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -6,4 +6,4 @@ logger
|
||||
--is-library=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -6,4 +6,4 @@ metrics
|
||||
--is-library=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -6,4 +6,4 @@ o-error
|
||||
--is-library=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -6,4 +6,4 @@ object-persistor
|
||||
--is-library=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -6,4 +6,4 @@ redis-wrapper
|
||||
--is-library=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -6,4 +6,4 @@ settings
|
||||
--is-library=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -5,4 +5,4 @@ chat
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -84,8 +84,21 @@ ifneq (,$(wildcard test/acceptance/js/scripts/pre-run))
|
||||
endif
|
||||
|
||||
build:
|
||||
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||
|| echo 'nothing cached'
|
||||
docker build \
|
||||
--pull \
|
||||
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||
--target base \
|
||||
--file Dockerfile \
|
||||
.
|
||||
|
||||
docker build --pull --tag ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
.
|
||||
|
||||
tar:
|
||||
|
||||
@@ -7,4 +7,4 @@ clsi
|
||||
--has-custom-cloudbuild=True
|
||||
--node-version=14.18.1
|
||||
--public-repo=True
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -5,4 +5,4 @@ contacts
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -5,4 +5,4 @@ docstore
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=True
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -5,4 +5,4 @@ document-updater
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=True
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -84,8 +84,21 @@ ifneq (,$(wildcard test/acceptance/js/scripts/pre-run))
|
||||
endif
|
||||
|
||||
build:
|
||||
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||
|| echo 'nothing cached'
|
||||
docker build \
|
||||
--pull \
|
||||
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||
--target base \
|
||||
--file Dockerfile \
|
||||
.
|
||||
|
||||
docker build --pull --tag ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
.
|
||||
|
||||
tar:
|
||||
|
||||
@@ -6,4 +6,4 @@ filestore
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=True
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -5,4 +5,4 @@ notifications
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=True
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -5,4 +5,4 @@ real-time
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=True
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -84,8 +84,21 @@ ifneq (,$(wildcard test/acceptance/js/scripts/pre-run))
|
||||
endif
|
||||
|
||||
build:
|
||||
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||
|| echo 'nothing cached'
|
||||
docker build \
|
||||
--pull \
|
||||
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||
--target base \
|
||||
--file Dockerfile \
|
||||
.
|
||||
|
||||
docker build --pull --tag ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||
.
|
||||
|
||||
tar:
|
||||
|
||||
@@ -6,4 +6,4 @@ spelling
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=False
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
@@ -5,4 +5,4 @@ track-changes
|
||||
--env-pass-through=
|
||||
--node-version=14.18.1
|
||||
--public-repo=True
|
||||
--script-version=3.11.0
|
||||
--script-version=3.13.0
|
||||
|
||||
Reference in New Issue
Block a user