Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noc-netze-gitlab-cicd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NOC-public
noc-netze-gitlab-cicd
Commits
15ff27d0
Commit
15ff27d0
authored
9 months ago
by
Darius Schneider
Browse files
Options
Downloads
Patches
Plain Diff
system test
parent
e546a121
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rails/gitlab-ci.yml
+30
-19
30 additions, 19 deletions
rails/gitlab-ci.yml
with
30 additions
and
19 deletions
rails/gitlab-ci.yml
+
30
−
19
View file @
15ff27d0
...
@@ -73,22 +73,33 @@ rails_test:
...
@@ -73,22 +73,33 @@ rails_test:
-
gem install bundler --silent && bundle install --jobs $(nproc) --quiet
-
gem install bundler --silent && bundle install --jobs $(nproc) --quiet
-
bin/rails db:prepare test
-
bin/rails db:prepare test
#rails_system_test:
rails_system_test
:
# image: ruby:$RUBY_VERSION
stage
:
test
# stage: test
image
:
ruby:$RUBY_VERSION
# tags:
tags
:
# - rails
-
rails
# #services:
services
:
# # - selenium/standalone-chrome:latest
-
postgres:16.4
# variables:
-
mariadb:10.1
# SELENIUM_URL: http://selenium__standalone-chrome:4444/wd/hub
-
selenium/standalone-chrome:latest
# artifacts:
variables
:
# when: on_failure
SELENIUM_URL
:
http://selenium__standalone-chrome:4444/wd/hub
# paths:
MYSQL_DATABASE
:
mysql
# - tmp/screenshots
MYSQL_USER
:
mysql
# - /tmp/chrome.log
MYSQL_PASSWORD
:
mysql
# - log/test.log
MYSQL_ROOT_PASSWORD
:
mysql
# expire_in: 1 week
MYSQL_URL
:
"
mysql://mysql:mysql@mysql:3306"
# script:
POSTGRES_DB
:
postgres
# - gem install bundler --silent && bundle install --quiet
POSTGRES_USER
:
postgres
# - bin/rails db:prepare test:system
POSTGRES_PASSWORD
:
postgres
POSTGRES_URL
:
"
postgresql://postgres:postgres@postgres:5432"
artifacts
:
when
:
on_failure
paths
:
-
tmp/screenshots
-
/tmp/chrome.log
-
log/test.log
expire_in
:
1 week
script
:
-
gem install bundler --silent && bundle install --jobs $(nproc) --quiet
-
bin/rails db:prepare test:system
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment