Skip to content

Adds ability to mask secrets on QA::Service::Shellout

Sean Gregory requested to merge e2e/shellout-mask-secrets into master

What does this MR do and why?

This MR adds an optional argument to mask secrets when logging, yielding, or raising errors from QA::Service::Shellout

It is being introduced as part of an effort to be able to authenticate against private docker registries from the QA suite.

https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/1354

Screenshots or screen recordings

How to set up and validate locally

  1. cd qa && bundle exec rspec --require ./spec/spec_helper.rb ./spec/service/shellout_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading