Add praefect deployments to release-environments
What
Currently we are seeing tests on release-environments fail with the following error (from https://gitlab.com/gitlab-org/gitlab/-/jobs/5988988478)
Failures:
1) Create Git push over HTTP pushes to a project using a specific Praefect repository storage
Failure/Error:
project = create(:project,
name: 'specific-repository-storage',
repository_storage: Runtime::Env.praefect_repository_storage)
ArgumentError:
Please provide a valid repository storage name
# ./qa/resource/project.rb:82:in `repository_storage='
# ./qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb:26:in `block (3 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:139:in `block (2 levels) in <top (required)>'
# /home/gitlab/spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'
/builds/gitlab-org/gitlab/.gems/bin/gitlab-qa: Command `docker run -t --rm --net=bridge --env QA_AWS_S3_REGION="$QA_AWS_S3_REGION" --env QA_GOOGLE_CDN_JS...` failed! \e[31m✘\e[0m (Gitlab::QA::Support::ShellCommand::StatusError)
# ./qa/specs/runner.rb:67:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:35:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:52:in `launch!'
Finished in 5 minutes 21 seconds (files took 3.82 seconds to load)
This is because the release-environments do not have praefect currently enabled. We should enable it and see if this is enough to get these tests to pass
How
By enabling perfect installation using helm, and assess after that if the QA passes.
Milestones
-
enable praefect. https://gitlab.com/gitlab-com/gl-infra/release-environments/-/merge_requests/172 -
Re-run QA and assess if the issue is gone. -
automate DB creation for praefect #20076 (closed)
Edited by Ahmad Tolba