CI: Remove *-test-backend-enterprise2 pipelines (#58028)
* Remove test-backend-enterprise2 pipelines * Remove leftover
This commit is contained in:
@@ -330,7 +330,6 @@ def get_enterprise_pipelines(trigger, ver_mode):
|
||||
pipelines.extend([
|
||||
test_frontend(trigger, ver_mode, edition),
|
||||
test_backend(trigger, ver_mode, edition),
|
||||
test_backend(trigger, ver_mode, edition2),
|
||||
pipeline(
|
||||
name='{}-enterprise-integration-tests'.format(ver_mode), edition=edition, trigger=trigger, services=services,
|
||||
steps=[download_grabpl_step(), identify_runner_step(), clone_enterprise_step(ver_mode), init_enterprise_step(ver_mode), verify_gen_cue_step(edition), wire_install_step()] + integration_test_steps + [redis_integration_tests_step(), memcached_integration_tests_step()],
|
||||
|
||||
@@ -209,7 +209,7 @@ def enterprise_downstream_step(edition, ver_mode):
|
||||
|
||||
def lint_backend_step(edition):
|
||||
return {
|
||||
'name': 'lint-backend' + enterprise2_suffix(edition),
|
||||
'name': 'lint-backend',
|
||||
'image': go_image,
|
||||
'environment': {
|
||||
# We need CGO because of go-sqlite3
|
||||
@@ -481,28 +481,16 @@ def build_plugins_step(edition, ver_mode):
|
||||
|
||||
|
||||
def test_backend_step(edition):
|
||||
if edition == 'enterprise2':
|
||||
return {
|
||||
'name': 'test-backend' + enterprise2_suffix(edition),
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'go test -tags=pro -covermode=atomic -timeout=5m ./pkg/...',
|
||||
],
|
||||
}
|
||||
else:
|
||||
return {
|
||||
'name': 'test-backend' + enterprise2_suffix(edition),
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'go test -short -covermode=atomic -timeout=5m ./pkg/...',
|
||||
],
|
||||
}
|
||||
return {
|
||||
'name': 'test-backend',
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'go test -short -covermode=atomic -timeout=5m ./pkg/...',
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user