mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add csh-staging to repos
This commit is contained in:
parent
ec1bc9102c
commit
ad8018ce0d
2 changed files with 8 additions and 0 deletions
6
services/clsi/Jenkinsfile
vendored
6
services/clsi/Jenkinsfile
vendored
|
@ -36,6 +36,12 @@ pipeline {
|
||||||
sh 'DOCKER_REPO=gcr.io/csh-gcdm-test make publish'
|
sh 'DOCKER_REPO=gcr.io/csh-gcdm-test make publish'
|
||||||
sh 'docker logout https://gcr.io/csh-gcdm-test'
|
sh 'docker logout https://gcr.io/csh-gcdm-test'
|
||||||
|
|
||||||
|
withCredentials([file(credentialsId: 'gcr.io_csh-staging', variable: 'DOCKER_REPO_KEY_PATH')]) {
|
||||||
|
sh 'docker login -u _json_key --password-stdin https://gcr.io/csh-staging < ${DOCKER_REPO_KEY_PATH}'
|
||||||
|
}
|
||||||
|
sh 'DOCKER_REPO=gcr.io/csh-staging make publish'
|
||||||
|
sh 'docker logout https://gcr.io/csh-staging'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ DOCKER_COMPOSE := BUILD_NUMBER=$(BUILD_NUMBER) \
|
||||||
clean:
|
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)
|
||||||
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
|
||||||
|
@ -38,6 +39,7 @@ test_acceptance_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/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) \
|
||||||
.
|
.
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
|
Loading…
Reference in a new issue