mirror of
https://github.com/google/nomulus.git
synced 2025-06-22 20:30:46 +02:00
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:
parent
29d7cf7b9a
commit
eec4555c20
1 changed files with 10 additions and 3 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue