Verified Commit 5b45f8d7 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

try if i can now make use of finally again workign gitlab cacheing

parent c3fc694a
Pipeline #28203 passed with stage
in 49 minutes and 4 seconds
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment