mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add GH token when referring to remote - add --quite when running git push (#46926)
This commit is contained in:
parent
c42b0d7498
commit
0e682397ab
@ -711,9 +711,9 @@ steps:
|
|||||||
&& git push origin $${TEST_TAG}
|
&& git push origin $${TEST_TAG}
|
||||||
- cd -
|
- cd -
|
||||||
- git fetch origin "refs/tags/*:refs/tags/*"
|
- git fetch origin "refs/tags/*:refs/tags/*"
|
||||||
- git remote add downstream https://github.com/grafana/$${DOWNSTREAM_REPO}.git
|
- git remote add downstream https://$${GITHUB_TOKEN}@github.com/grafana/$${DOWNSTREAM_REPO}.git
|
||||||
- git tag -d $${TEST_TAG} && git push --delete downstream $${TEST_TAG} && git tag
|
- git tag -d $${TEST_TAG} && git push --delete downstream --quiet $${TEST_TAG} &&
|
||||||
$${TEST_TAG} && git push downstream $${TEST_TAG}
|
git tag $${TEST_TAG} && git push downstream $${TEST_TAG} --quiet
|
||||||
environment:
|
environment:
|
||||||
DOWNSTREAM_REPO:
|
DOWNSTREAM_REPO:
|
||||||
from_secret: downstream
|
from_secret: downstream
|
||||||
@ -4411,6 +4411,6 @@ kind: secret
|
|||||||
name: gcp_upload_artifacts_key
|
name: gcp_upload_artifacts_key
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: a6d1a7ba0b32ac93ba85f81961ee7494818f214829e034f2ef98f88d7728cbd0
|
hmac: 7b8d6e6cb7f6b8846de99626b8e0e61c795e93f1a02b32103ec13547c9007f5e
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -171,8 +171,8 @@ def trigger_test_release():
|
|||||||
'git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG} && git push origin $${TEST_TAG}',
|
'git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG} && git push origin $${TEST_TAG}',
|
||||||
'cd -',
|
'cd -',
|
||||||
'git fetch origin "refs/tags/*:refs/tags/*"',
|
'git fetch origin "refs/tags/*:refs/tags/*"',
|
||||||
'git remote add downstream https://github.com/grafana/$${DOWNSTREAM_REPO}.git',
|
'git remote add downstream https://$${GITHUB_TOKEN}@github.com/grafana/$${DOWNSTREAM_REPO}.git',
|
||||||
'git tag -d $${TEST_TAG} && git push --delete downstream $${TEST_TAG} && git tag $${TEST_TAG} && git push downstream $${TEST_TAG}',
|
'git tag -d $${TEST_TAG} && git push --delete downstream --quiet $${TEST_TAG} && git tag $${TEST_TAG} && git push downstream $${TEST_TAG} --quiet',
|
||||||
],
|
],
|
||||||
'failure': 'ignore',
|
'failure': 'ignore',
|
||||||
'when': {
|
'when': {
|
||||||
|
Loading…
Reference in New Issue
Block a user