2019-10-10 14:06:00 -04:00
|
|
|
.qa-job-base:
|
|
|
|
extends:
|
|
|
|
- .default-retry
|
|
|
|
stage: test
|
2020-02-20 13:08:51 -05:00
|
|
|
needs: []
|
2019-10-10 14:06:00 -04:00
|
|
|
cache:
|
|
|
|
key: "qa-framework-jobs:v1"
|
|
|
|
paths:
|
|
|
|
- vendor/ruby
|
|
|
|
before_script:
|
2020-01-23 07:08:38 -05:00
|
|
|
- '[ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb'
|
2019-10-10 14:06:00 -04:00
|
|
|
- cd qa/
|
|
|
|
- bundle install --clean --jobs=$(nproc) --path=vendor --retry=3 --quiet
|
|
|
|
- bundle check
|
|
|
|
|
|
|
|
qa:internal:
|
2020-02-06 13:08:54 -05:00
|
|
|
extends:
|
|
|
|
- .qa-job-base
|
|
|
|
- .qa:rules:ee-and-foss
|
2019-10-10 14:06:00 -04:00
|
|
|
script:
|
|
|
|
- bundle exec rspec
|
|
|
|
|
2020-02-18 10:08:51 -05:00
|
|
|
qa:internal-as-if-foss:
|
2020-01-23 07:08:38 -05:00
|
|
|
extends:
|
|
|
|
- .qa-job-base
|
2020-02-06 13:08:54 -05:00
|
|
|
- .qa:rules:ee-only
|
|
|
|
- .as-if-foss
|
2020-01-23 07:08:38 -05:00
|
|
|
script:
|
|
|
|
- bundle exec rspec
|
|
|
|
|
2019-10-10 14:06:00 -04:00
|
|
|
qa:selectors:
|
2020-02-06 13:08:54 -05:00
|
|
|
extends:
|
|
|
|
- .qa-job-base
|
|
|
|
- .qa:rules:ee-and-foss
|
2019-10-10 14:06:00 -04:00
|
|
|
script:
|
|
|
|
- bundle exec bin/qa Test::Sanity::Selectors
|
|
|
|
|
2020-02-18 10:08:51 -05:00
|
|
|
qa:selectors-as-if-foss:
|
2019-10-10 14:06:00 -04:00
|
|
|
extends:
|
|
|
|
- qa:selectors
|
2020-02-06 13:08:54 -05:00
|
|
|
- .qa:rules:ee-only
|
|
|
|
- .as-if-foss
|
2019-10-10 14:06:00 -04:00
|
|
|
|
2019-08-01 06:23:15 -04:00
|
|
|
.package-and-qa-base:
|
2019-05-06 06:35:35 -04:00
|
|
|
image: ruby:2.6-alpine
|
2019-08-22 02:04:39 -04:00
|
|
|
stage: qa
|
2019-04-12 04:56:38 -04:00
|
|
|
dependencies: []
|
|
|
|
retry: 0
|
|
|
|
script:
|
2019-04-18 15:18:20 -04:00
|
|
|
- source scripts/utils.sh
|
|
|
|
- install_gitlab_gem
|
2019-04-12 04:56:38 -04:00
|
|
|
- ./scripts/trigger-build omnibus
|
2019-08-01 06:23:15 -04:00
|
|
|
|
2019-08-22 07:56:14 -04:00
|
|
|
package-and-qa:
|
2020-02-18 10:08:51 -05:00
|
|
|
extends:
|
|
|
|
- .package-and-qa-base
|
|
|
|
- .qa:rules:package-and-qa
|
2019-10-16 14:08:01 -04:00
|
|
|
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
|
2019-11-18 07:06:03 -05:00
|
|
|
allow_failure: true
|