Commit 4b2f3f9a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'qa-ci-ff-update' into 'master'

Update QA CI check for feature flag changes

See merge request gitlab-org/gitlab!73976
parents 16f29109 61f57638
......@@ -87,9 +87,15 @@ update-qa-cache:
.package-and-qa-ff-base:
script:
- export GITLAB_QA_OPTIONS="--set-feature-flags $(scripts/changed-feature-flags --files $(cat $CHANGES_FILE | tr ' ' ',') --state $QA_FF_STATE)"
- echo $GITLAB_QA_OPTIONS
- ./scripts/trigger-build omnibus
- |
feature_flags=$(scripts/changed-feature-flags --files $(cat $CHANGES_FILE | tr ' ' ',') --state $QA_FF_STATE)
if [[ $feature_flags ]]; then
export GITLAB_QA_OPTIONS="--set-feature-flags $feature_flags"
echo $GITLAB_QA_OPTIONS
./scripts/trigger-build omnibus
else
echo "No changed feature flag found to test. The tests are skipped if the flag was removed."
fi
package-and-qa:
extends:
......
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