|
@@ -1,7 +1,7 @@
|
|
|
# This file was auto-generated, do not edit it directly.
|
|
# This file was auto-generated, do not edit it directly.
|
|
|
# Instead run bin/update_build_scripts from
|
|
# Instead run bin/update_build_scripts from
|
|
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
|
|
-# Version: 1.1.24
|
|
|
|
|
|
|
+# Version: 1.3.2
|
|
|
|
|
|
|
|
BUILD_NUMBER ?= local
|
|
BUILD_NUMBER ?= local
|
|
|
BRANCH_NAME ?= $(shell git rev-parse --abbrev-ref HEAD)
|
|
BRANCH_NAME ?= $(shell git rev-parse --abbrev-ref HEAD)
|
|
@@ -36,6 +36,7 @@ test_clean:
|
|
|
|
|
|
|
|
test_acceptance_pre_run:
|
|
test_acceptance_pre_run:
|
|
|
@[ ! -f test/acceptance/js/scripts/pre-run ] && echo "document-updater has no pre acceptance tests task" || $(DOCKER_COMPOSE) run --rm test_acceptance test/acceptance/js/scripts/pre-run
|
|
@[ ! -f test/acceptance/js/scripts/pre-run ] && echo "document-updater has no pre acceptance tests task" || $(DOCKER_COMPOSE) run --rm test_acceptance test/acceptance/js/scripts/pre-run
|
|
|
|
|
+
|
|
|
build:
|
|
build:
|
|
|
docker build --pull --tag ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
|
docker build --pull --tag ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
|
|
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
|
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
|
@@ -48,4 +49,5 @@ publish:
|
|
|
|
|
|
|
|
docker push $(DOCKER_REPO)/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
|
docker push $(DOCKER_REPO)/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
|
|
|
|
|
|
|
|
|
+
|
|
|
.PHONY: clean test test_unit test_acceptance test_clean build publish
|
|
.PHONY: clean test test_unit test_acceptance test_clean build publish
|