mirror of
https://github.com/google/nomulus.git
synced 2025-06-23 04:40:48 +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.
|
# repo. Actual release artifacts are built from the release repo, ensuring reproducibility.
|
||||||
steps:
|
steps:
|
||||||
# Check the out internal repo.
|
# Check the out internal repo.
|
||||||
- name: 'gcr.io/cloud-builders/gcloud'
|
- name: 'gcr.io/cloud-builders/git'
|
||||||
args: ['source', 'repos', 'clone', 'nomulus-internal']
|
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.
|
# Tag and push the internal repo.
|
||||||
- name: 'gcr.io/cloud-builders/git'
|
- name: 'gcr.io/cloud-builders/git'
|
||||||
entrypoint: /bin/bash
|
entrypoint: /bin/bash
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
git tag ${TAG_NAME} && git push origin ${TAG_NAME}
|
git tag ${TAG_NAME}
|
||||||
|
git push origin ${TAG_NAME}
|
||||||
dir: 'nomulus-internal'
|
dir: 'nomulus-internal'
|
||||||
# Merge the repos.
|
# Merge the repos.
|
||||||
- name: 'gcr.io/cloud-builders/git'
|
- name: 'gcr.io/cloud-builders/git'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue