[v10.0.x] CI: Update CI/CD tooling and pipelines from main (#76874)
* CI: Update CI/CD tooling and pipelines from main (#76814)
* CI: Update CI/CD tooling and pipelines from main
* Update Makefile
* Comment out validate_openapi_spec_step
* Update broken frontend tests
* Fix validate-npm-packages regex to work without suffix
* Fix cypress image version
(cherry picked from commit 03ecb1db39)
* Comment out kindsysreport/codegen/report.go on Makefile
* Remove modfile step, since modowners doesn't exist
* Disable i18n step
This commit is contained in:
@@ -10,14 +10,15 @@ load(
|
||||
def integration_test_services_volumes():
|
||||
return [
|
||||
{"name": "postgres", "temp": {"medium": "memory"}},
|
||||
{"name": "mysql", "temp": {"medium": "memory"}},
|
||||
{"name": "mysql57", "temp": {"medium": "memory"}},
|
||||
{"name": "mysql80", "temp": {"medium": "memory"}},
|
||||
]
|
||||
|
||||
def integration_test_services():
|
||||
services = [
|
||||
{
|
||||
"name": "postgres",
|
||||
"image": images["postgres_alpine_image"],
|
||||
"image": images["postgres_alpine"],
|
||||
"environment": {
|
||||
"POSTGRES_USER": "grafanatest",
|
||||
"POSTGRES_PASSWORD": "grafanatest",
|
||||
@@ -29,24 +30,43 @@ def integration_test_services():
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "mysql",
|
||||
"image": images["mysql5_image"],
|
||||
"name": "mysql57",
|
||||
"image": images["mysql5"],
|
||||
"environment": {
|
||||
"MYSQL_ROOT_PASSWORD": "rootpass",
|
||||
"MYSQL_DATABASE": "grafana_tests",
|
||||
"MYSQL_USER": "grafana",
|
||||
"MYSQL_PASSWORD": "password",
|
||||
},
|
||||
"volumes": [{"name": "mysql", "path": "/var/lib/mysql"}],
|
||||
"volumes": [{"name": "mysql57", "path": "/var/lib/mysql"}],
|
||||
"commands": ["docker-entrypoint.sh mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci"],
|
||||
},
|
||||
{
|
||||
"name": "mysql80",
|
||||
"image": images["mysql8"],
|
||||
"environment": {
|
||||
"MYSQL_ROOT_PASSWORD": "rootpass",
|
||||
"MYSQL_DATABASE": "grafana_tests",
|
||||
"MYSQL_USER": "grafana",
|
||||
"MYSQL_PASSWORD": "password",
|
||||
},
|
||||
"volumes": [{"name": "mysql80", "path": "/var/lib/mysql"}],
|
||||
"commands": ["docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"],
|
||||
},
|
||||
{
|
||||
"name": "mimir_backend",
|
||||
"image": images["mimir"],
|
||||
"environment": {},
|
||||
"commands": ["/bin/mimir -target=backend"],
|
||||
},
|
||||
{
|
||||
"name": "redis",
|
||||
"image": images["redis_alpine_image"],
|
||||
"image": images["redis_alpine"],
|
||||
"environment": {},
|
||||
},
|
||||
{
|
||||
"name": "memcached",
|
||||
"image": images["memcached_alpine_image"],
|
||||
"image": images["memcached_alpine"],
|
||||
"environment": {},
|
||||
},
|
||||
]
|
||||
@@ -56,7 +76,7 @@ def integration_test_services():
|
||||
def ldap_service():
|
||||
return {
|
||||
"name": "ldap",
|
||||
"image": images["openldap_image"],
|
||||
"image": images["openldap"],
|
||||
"environment": {
|
||||
"LDAP_ADMIN_PASSWORD": "grafana",
|
||||
"LDAP_DOMAIN": "grafana.org",
|
||||
|
||||
Reference in New Issue
Block a user