Fix fetch
This commit is contained in:
+17
-9
@@ -366,11 +366,15 @@ steps:
|
||||
--depth=1
|
||||
- cd grafana-enterprise
|
||||
- git fetch origin "refs/tags/*:refs/tags/*"
|
||||
- git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG}
|
||||
&& git push origin $${TEST_TAG}
|
||||
- if git show-ref --tags $${TEST_TAG} --quiet; then git tag -d $${TEST_TAG} && git
|
||||
push --delete origin $${TEST_TAG}; fi
|
||||
- git tag $${TEST_TAG} && git push origin $${TEST_TAG}
|
||||
- cd -
|
||||
- git tag -d $${TEST_TAG} && git push --delete https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||
--quiet $${TEST_TAG} && git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||
- git fetch https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git "refs/tags/*:refs/tags/*"
|
||||
- if git show-ref --tags $${TEST_TAG} --quiet; then git tag -d $${TEST_TAG} && git
|
||||
push --delete https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git $${TEST_TAG};
|
||||
fi
|
||||
- git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||
$${TEST_TAG} --quiet
|
||||
environment:
|
||||
DOWNSTREAM_REPO:
|
||||
@@ -1226,11 +1230,15 @@ steps:
|
||||
--depth=1
|
||||
- cd grafana-enterprise
|
||||
- git fetch origin "refs/tags/*:refs/tags/*"
|
||||
- git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG}
|
||||
&& git push origin $${TEST_TAG}
|
||||
- if git show-ref --tags $${TEST_TAG} --quiet; then git tag -d $${TEST_TAG} && git
|
||||
push --delete origin $${TEST_TAG}; fi
|
||||
- git tag $${TEST_TAG} && git push origin $${TEST_TAG}
|
||||
- cd -
|
||||
- git tag -d $${TEST_TAG} && git push --delete https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||
--quiet $${TEST_TAG} && git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||
- git fetch https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git "refs/tags/*:refs/tags/*"
|
||||
- if git show-ref --tags $${TEST_TAG} --quiet; then git tag -d $${TEST_TAG} && git
|
||||
push --delete https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git $${TEST_TAG};
|
||||
fi
|
||||
- git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||
$${TEST_TAG} --quiet
|
||||
environment:
|
||||
DOWNSTREAM_REPO:
|
||||
@@ -5326,6 +5334,6 @@ kind: secret
|
||||
name: packages_secret_access_key
|
||||
---
|
||||
kind: signature
|
||||
hmac: 087389ff6763157d4d925bcda07fb9c40c37bee40fa69584b8df1a0e1cbcc57d
|
||||
hmac: 103a4521f9612a023213940f390e14a974d270df37165bc5c73fd6a28ddef2f6
|
||||
|
||||
...
|
||||
|
||||
@@ -1206,9 +1206,12 @@ def trigger_test_release():
|
||||
'git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" --depth=1',
|
||||
'cd grafana-enterprise',
|
||||
'git fetch origin "refs/tags/*:refs/tags/*"',
|
||||
'git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG} && git push origin $${TEST_TAG}',
|
||||
'if git show-ref --tags $${TEST_TAG} --quiet; then git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG}; fi',
|
||||
'git tag $${TEST_TAG} && git push origin $${TEST_TAG}',
|
||||
'cd -',
|
||||
'git tag -d $${TEST_TAG} && git push --delete https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git --quiet $${TEST_TAG} && git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git $${TEST_TAG} --quiet',
|
||||
'git fetch https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git "refs/tags/*:refs/tags/*"',
|
||||
'if git show-ref --tags $${TEST_TAG} --quiet; then git tag -d $${TEST_TAG} && git push --delete https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git $${TEST_TAG}; fi',
|
||||
'git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git $${TEST_TAG} --quiet',
|
||||
],
|
||||
'failure': 'ignore',
|
||||
'when': {
|
||||
|
||||
Reference in New Issue
Block a user