Commit 3948a566 authored by Nick Thomas's avatar Nick Thomas

Add ci_build_metadata.secrets to ignored jsonb columns

This column does have a schema, but it's present (and so validated) in
EE only, whereas the column can exist in both CE and EE. The result is
that the spec fails in gitlab-foss, but not gitlab. This fix gets us
green again while we try to work out what to do.
parent 0c6c3d3a
......@@ -174,7 +174,7 @@ RSpec.describe 'Database schema' do
IGNORED_JSONB_COLUMNS = {
"ApplicationSetting" => %w[repository_storages_weighted],
"AlertManagement::Alert" => %w[payload],
"Ci::BuildMetadata" => %w[config_options config_variables],
"Ci::BuildMetadata" => %w[config_options config_variables secrets], # secrets has an EE-only validator
"Geo::Event" => %w[payload],
"GeoNodeStatus" => %w[status],
"Operations::FeatureFlagScope" => %w[strategies],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment