Workaround helm hooks not streaming logs
What does this MR do?
We use Helm hooks to run DB migration and initialization
but because there is no feature to stream hook
logs, we use a function to
show logs from the helm upgrade...
command.
$CI_ENVIRONMENT_SLUG-db-initialize
and
$CI_ENVIRONMENT_SLUG-db-migrate
pod selectors come from the
auto-deploy-app chart.
What are the relevant issue numbers?
Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/52197
Testing
See log output from https://gitlab.com/DylanGriffith/rails-auto-devops-migration-test/-/jobs/104026162
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Closes #52197 (moved)