Use Gerrit / Googlesource version of nomulus-internal (#95)

* Use Gerrit / Googlesource version of nomulus-internal

* Remove tag deletion and use a variable substitution
This commit is contained in:
gbrodman 2019-06-19 17:33:23 -04:00 committed by GitHub
parent 29d7cf7b9a
commit eec4555c20

View file

@ -18,15 +18,22 @@
# repo. Actual release artifacts are built from the release repo, ensuring reproducibility.
steps:
# Check the out internal repo.
- name: 'gcr.io/cloud-builders/gcloud'
args: ['source', 'repos', 'clone', 'nomulus-internal']
- name: 'gcr.io/cloud-builders/git'
entrypoint: /bin/bash
args:
- -c
- |
git clone https://gerrit.googlesource.com/gcompute-tools
./gcompute-tools/git-cookie-authdaemon
git clone ${_INTERNAL_REPO_URL}
# Tag and push the internal repo.
- name: 'gcr.io/cloud-builders/git'
entrypoint: /bin/bash
args:
- -c
- |
git tag ${TAG_NAME} && git push origin ${TAG_NAME}
git tag ${TAG_NAME}
git push origin ${TAG_NAME}
dir: 'nomulus-internal'
# Merge the repos.
- name: 'gcr.io/cloud-builders/git'