Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
0300815c
Verified
Commit
0300815c
authored
Oct 05, 2018
by
Kaspar Vollenweider
👻
Browse files
try if i can now make use of finally again workign gitlab cacheing
parent
fe977797
Pipeline
#28202
passed with stage
in 37 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0300815c
image
:
git.panter.ch:5001/panter/gitlab-ci-docker-images/ruby-and-rails:ruby-2.4.4-imagemagick-node-8-chrome
stages
:
-
test
services
:
-
postgres:9.6
cache
:
key
:
"
$CI_PROJECT_ID"
paths
:
-
tmp/cache/ruby
-
tmp/cache/yarn
variables
:
RAILS_ENV
:
test
POSTGRES_DB
:
aoz_test
DATABASE_URL
:
"
postgresql://postgres:postgres@localhost:5432/$POSTGRES_DB"
before_script
:
-
bundle install --without development --path /gems_cache
-
node --version
-
ruby --version
-
yarn --version
-
bundle install --without development --path tmp/cache
-
yarn install --cache-folder tmp/cache/yarn
-
bundle exec rails db:schema:load
test
:
image
:
git.panter.ch:5001/open-source/aoz-003/unit:2.4.4-0.3
stage
:
test
script
:
-
bundle exec rails test
cache
:
paths
:
-
/gems_cache
system
:
image
:
git.panter.ch:5001/open-source/aoz-003/system:2.36-0.3
stage
:
test
script
:
-
bundle exec rails test:system
...
...
@@ -34,5 +41,3 @@ system:
expire_in
:
1 week
cache
:
policy
:
pull
paths
:
-
/gems_cache
Write
Preview
Supports
Markdown
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