mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add cr-test2 GCR project
This commit is contained in:
parent
4784ae33a2
commit
d182e5329c
2 changed files with 8 additions and 0 deletions
6
services/filestore/Jenkinsfile
vendored
6
services/filestore/Jenkinsfile
vendored
|
@ -63,6 +63,12 @@ pipeline {
|
||||||
sh 'DOCKER_REPO=gcr.io/csh-staging make publish'
|
sh 'DOCKER_REPO=gcr.io/csh-staging make publish'
|
||||||
sh 'docker logout https://gcr.io/csh-staging'
|
sh 'docker logout https://gcr.io/csh-staging'
|
||||||
|
|
||||||
|
withCredentials([file(credentialsId: 'gcr.io_cr-test2', variable: 'DOCKER_REPO_KEY_PATH')]) {
|
||||||
|
sh 'docker login -u _json_key --password-stdin https://gcr.io/cr-test2 < ${DOCKER_REPO_KEY_PATH}'
|
||||||
|
}
|
||||||
|
sh 'DOCKER_REPO=gcr.io/cr-test2 make publish'
|
||||||
|
sh 'docker logout https://gcr.io/cr-test2'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ clean:
|
||||||
docker rmi ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
docker rmi ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
||||||
docker rmi gcr.io/csh-gcdm-test/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
docker rmi gcr.io/csh-gcdm-test/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
||||||
docker rmi gcr.io/csh-staging/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
docker rmi gcr.io/csh-staging/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
||||||
|
docker rmi gcr.io/cr-test2/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
||||||
rm -f app.js
|
rm -f app.js
|
||||||
rm -rf app/js
|
rm -rf app/js
|
||||||
rm -rf test/unit/js
|
rm -rf test/unit/js
|
||||||
|
@ -40,6 +41,7 @@ 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/csh-gcdm-test/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
--tag gcr.io/csh-gcdm-test/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||||
--tag gcr.io/csh-staging/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
--tag gcr.io/csh-staging/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||||
|
--tag gcr.io/cr-test2/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) \
|
||||||
.
|
.
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
|
Loading…
Reference in a new issue