[v10.0.x] CI: Remove 0.0.0-test tag event (#76668)

CI: Remove `0.0.0-test` tag event (#76662)

Remove 0.0.0-test tag event

(cherry picked from commit faa22b8f20)

# Conflicts:
#	.drone.yml
#	scripts/drone/pipelines/build.star
#	scripts/drone/steps/lib.star
This commit is contained in:
Dimitris Sotirakis
2023-10-17 11:16:47 +03:00
committed by GitHub
parent e0bcceaae2
commit 5cc13f4ba7
3 changed files with 1 additions and 68 deletions
+1 -32
View File
@@ -506,37 +506,6 @@ steps:
depends_on: []
image: grafana/build-container:1.7.5
name: yarn-install
- commands:
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git"
--depth=1
- cd grafana-enterprise
- git fetch origin "refs/tags/*:refs/tags/*" --quiet
- 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 fetch https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git "refs/tags/*:refs/tags/*"
--quiet && git fetch --quiet
- 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}
environment:
GITHUB_TOKEN:
from_secret: github_token
TEST_TAG: v0.0.0-test
failure: ignore
image: grafana/build-container:1.7.5
name: trigger-test-release
when:
branch: main
paths:
include:
- .drone.yml
- pkg/build/**
repo:
- grafana/grafana
- failure: ignore
image: grafana/drone-downstream
name: trigger-enterprise-downstream
@@ -4341,6 +4310,6 @@ kind: secret
name: gcr_credentials
---
kind: signature
hmac: 4f9de3e9ea36382ed000e362922344465ce0ee049650391e8cc8ef68b988d351
hmac: 0808b6f03f013b661d4971f2602907805ecbf24a61f6bd2f33d688aa1ff675e8
...
-2
View File
@@ -24,7 +24,6 @@ load(
"store_storybook_step",
"test_a11y_frontend_step",
"trigger_oss",
"trigger_test_release",
"upload_cdn_step",
"upload_packages_step",
"verify_gen_cue_step",
@@ -65,7 +64,6 @@ def build_e2e(trigger, ver_mode):
if ver_mode == "pr":
build_steps.extend(
[
trigger_test_release(),
enterprise_downstream_step(ver_mode = ver_mode),
],
)
-34
View File
@@ -1319,40 +1319,6 @@ def verify_gen_jsonnet_step():
],
}
def trigger_test_release():
return {
"name": "trigger-test-release",
"image": images["build_image"],
"environment": {
"GITHUB_TOKEN": from_secret("github_token"),
"TEST_TAG": "v0.0.0-test",
},
"commands": [
'git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" --depth=1',
"cd grafana-enterprise",
'git fetch origin "refs/tags/*:refs/tags/*" --quiet',
"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 fetch https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git "refs/tags/*:refs/tags/*" --quiet && git fetch --quiet',
"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}",
],
"failure": "ignore",
"when": {
"paths": {
"include": [
".drone.yml",
"pkg/build/**",
],
},
"repo": [
"grafana/grafana",
],
"branch": "main",
},
}
def end_to_end_tests_deps():
return [
"end-to-end-tests-dashboards-suite",