Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
308f9dd8
Commit
308f9dd8
authored
Mar 30, 2021
by
Heinrich Lee Yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CI config for mail-smtp_pool
This job runs the specs in the vendored gem's directory
parent
0d3dd338
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
7 deletions
+32
-7
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+10
-0
.gitlab/ci/vendored-gems.gitlab-ci.yml
.gitlab/ci/vendored-gems.gitlab-ci.yml
+7
-0
vendor/gems/mail-smtp_pool/.gitlab-ci.yml
vendor/gems/mail-smtp_pool/.gitlab-ci.yml
+14
-7
No files found.
.gitlab-ci.yml
View file @
308f9dd8
...
@@ -100,6 +100,7 @@ include:
...
@@ -100,6 +100,7 @@ include:
-
local
:
.gitlab/ci/qa.gitlab-ci.yml
-
local
:
.gitlab/ci/qa.gitlab-ci.yml
-
local
:
.gitlab/ci/reports.gitlab-ci.yml
-
local
:
.gitlab/ci/reports.gitlab-ci.yml
-
local
:
.gitlab/ci/rails.gitlab-ci.yml
-
local
:
.gitlab/ci/rails.gitlab-ci.yml
-
local
:
.gitlab/ci/vendored-gems.gitlab-ci.yml
-
local
:
.gitlab/ci/review.gitlab-ci.yml
-
local
:
.gitlab/ci/review.gitlab-ci.yml
-
local
:
.gitlab/ci/rules.gitlab-ci.yml
-
local
:
.gitlab/ci/rules.gitlab-ci.yml
-
local
:
.gitlab/ci/setup.gitlab-ci.yml
-
local
:
.gitlab/ci/setup.gitlab-ci.yml
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
308f9dd8
...
@@ -925,6 +925,16 @@
...
@@ -925,6 +925,16 @@
-
<<
:
*if-merge-request
-
<<
:
*if-merge-request
changes
:
[
"
.gitlab/ci/rails.gitlab-ci.yml"
]
changes
:
[
"
.gitlab/ci/rails.gitlab-ci.yml"
]
#######################
# Vendored gems rules #
#######################
.vendor:rules:mail-smtp_pool:
rules
:
-
<<
:
*if-merge-request
changes
:
[
"
vendor/gems/mail-smtp_pool/**/*"
]
-
<<
:
*if-merge-request-title-run-all-rspec
##################
##################
# Releases rules #
# Releases rules #
##################
##################
...
...
.gitlab/ci/vendored-gems.gitlab-ci.yml
0 → 100644
View file @
308f9dd8
vendor mail-smtp_pool
:
extends
:
-
.vendor:rules:mail-smtp_pool
needs
:
[]
trigger
:
include
:
vendor/gems/mail-smtp_pool/.gitlab-ci.yml
strategy
:
depend
vendor/gems/mail-smtp_pool/.gitlab-ci.yml
View file @
308f9dd8
.test-template
:
&test
workflow
:
rules
:
-
if
:
$CI_MERGE_REQUEST_ID
.rspec
:
cache
:
cache
:
key
:
mail-smtp_pool-ruby
paths
:
paths
:
-
vendor/ruby
-
vendor/
gems/mail-smtp_pool/vendor/
ruby
before_script
:
before_script
:
-
cd vendor/gems/mail-smtp_pool
-
ruby -v
# Print out ruby version for debugging
-
ruby -v
# Print out ruby version for debugging
-
gem install bundler --no-document
# Bundler is not installed with the image
-
gem install bundler --no-document
# Bundler is not installed with the image
-
bundle install -j $(nproc) --path vendor
# Install dependencies into ./vendor/ruby
-
bundle config set --local path 'vendor'
# Install dependencies into ./vendor/ruby
-
bundle install -j $(nproc)
script
:
script
:
-
bundle exec rspec
spec
-
bundle exec rspec
rspec-2.6
:
rspec-2.6
:
image
:
"
ruby:2.6"
image
:
"
ruby:2.6"
<<
:
*test
extends
:
.rspec
rspec-2.7
:
rspec-2.7
:
image
:
"
ruby:2.7"
image
:
"
ruby:2.7"
<<
:
*test
extends
:
.rspec
rspec-3.0
:
rspec-3.0
:
image
:
"
ruby:3.0"
image
:
"
ruby:3.0"
<<
:
*test
extends
:
.rspec
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment