Adds gdk-image dependency to db:gitlabcom-database-testing job
What does this MR do and why?
Adds a dependency to gdk-image
to gitlabcom-database-testing
job
This change adds support to use gitlab-com-database-testing
to test security/gitlab
too. To achieve this, we need to build the build-gdk-image
based on the same commit SHA and reuse the same image in gitlab-com-database-testing
jobs.
Changes
-
db:gitlabcom-database-testing
job depends onbuild-gdk-image
being finished. - Forward extra arguments when triggering upstream
gitlab-com-database-testing
CI:
{
...
"GITLAB_COMMIT_SHA" => "f65fe318920d798d087059e0aab76cbc84221195",
"TOP_UPSTREAM_SOURCE_SHA" => "f65fe318920d798d087059e0aab76cbc84221195",
"TRIGGERED_USER_LOGIN" => "l.rosa",
"MIGRATION_CHANGES" => "A\tdb/migrate/20240202180458_dummy_migration.rb\n",
"REGISTRY_IMAGE" => "registry.gitlab.com/gitlab-org/gitlab/gitlab-qa-gdk:2a4dea6cd6339343c854ad1cf6ed60b29f0178bb",
"IMAGE_SHA" => "2a4dea6cd6339343c854ad1cf6ed60b29f0178bb"
}
https://gitlab.com/gitlab-org/database-team/gitlab-com-database-testing/-/issues/50
Edited by Leonardo da Rosa