2019-12-21 20:55:43 +05:30
|
|
|
.qa-job-base:
|
|
|
|
extends:
|
|
|
|
- .default-tags
|
|
|
|
- .default-retry
|
|
|
|
- .default-only
|
2019-12-26 22:10:19 +05:30
|
|
|
- .only:changes-code-qa
|
2019-12-21 20:55:43 +05:30
|
|
|
stage: test
|
|
|
|
dependencies: []
|
|
|
|
cache:
|
|
|
|
key: "qa-framework-jobs:v1"
|
|
|
|
paths:
|
|
|
|
- vendor/ruby
|
|
|
|
before_script:
|
|
|
|
- cd qa/
|
|
|
|
- bundle install --clean --jobs=$(nproc) --path=vendor --retry=3 --quiet
|
|
|
|
- bundle check
|
|
|
|
|
|
|
|
qa:internal:
|
|
|
|
extends: .qa-job-base
|
|
|
|
script:
|
|
|
|
- bundle exec rspec
|
|
|
|
|
|
|
|
qa:selectors:
|
|
|
|
extends: .qa-job-base
|
|
|
|
script:
|
|
|
|
- bundle exec bin/qa Test::Sanity::Selectors
|
|
|
|
|
|
|
|
qa:selectors-foss:
|
|
|
|
extends:
|
|
|
|
- qa:selectors
|
|
|
|
- .only-ee-as-if-foss
|
|
|
|
|
2019-10-12 21:52:04 +05:30
|
|
|
.package-and-qa-base:
|
2019-09-04 21:01:54 +05:30
|
|
|
image: ruby:2.6-alpine
|
2019-12-04 20:38:33 +05:30
|
|
|
stage: qa
|
2019-07-31 22:56:46 +05:30
|
|
|
dependencies: []
|
|
|
|
retry: 0
|
|
|
|
script:
|
|
|
|
- source scripts/utils.sh
|
|
|
|
- install_gitlab_gem
|
|
|
|
- ./scripts/trigger-build omnibus
|
2019-10-12 21:52:04 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
package-and-qa-manual:
|
|
|
|
extends:
|
|
|
|
- .package-and-qa-base
|
2019-12-26 22:10:19 +05:30
|
|
|
- .default-only
|
|
|
|
- .only:variables-canonical-dot-com
|
|
|
|
- .except:refs-deploy
|
|
|
|
- .only:changes-code
|
2019-12-04 20:38:33 +05:30
|
|
|
when: manual
|
|
|
|
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
|
2019-10-12 21:52:04 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
package-and-qa:
|
|
|
|
extends:
|
|
|
|
- .package-and-qa-base
|
2019-12-26 22:10:19 +05:30
|
|
|
- .default-only
|
|
|
|
- .only:variables-canonical-dot-com
|
|
|
|
- .except:refs-master-tags-stable-deploy
|
|
|
|
- .only:changes-qa
|
2019-12-04 20:38:33 +05:30
|
|
|
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
|
|
|
|
allow_failure: true
|
2019-12-21 20:55:43 +05:30
|
|
|
|
|
|
|
schedule:package-and-qa:
|
|
|
|
extends:
|
|
|
|
- .package-and-qa-base
|
2019-12-26 22:10:19 +05:30
|
|
|
- .default-only
|
|
|
|
- .only:variables_refs-canonical-dot-com-schedules
|
2019-12-21 20:55:43 +05:30
|
|
|
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
|
2019-12-26 22:10:19 +05:30
|
|
|
allow_failure: true
|