Sha256: 95c889ad9fba04d453526b0aa62e644d96c19f5470261250fde18c8864fd6060

Contents?: true

Size: 812 Bytes

Versions: 3

Compression:

Stored size: 812 Bytes

Contents

variables:
  RAILS_ENV: test

before_script:
  - rvm install $(cat .ruby-version)
  - rvm use $(cat .ruby-version)
  - gem install bundler --no-document
  - bundle config build.pg --with-pg-config=/usr/pgsql-9.4/bin/pg_config
  - bin/setup

cache:
  untracked: true
  paths:
    - node_modules

deploy to staging:
  stage: deploy
  script:
    - eval $(ssh-agent -s)
    - ssh-add <(echo -e "$SSH_STAGING_KEY")
    - bin/cap staging deploy
  only:
    refs: [develop]
  when: manual
  environment:
    name: staging
    url: http://staging.example.test

deploy to production:
  stage: deploy
  script:
   - eval $(ssh-agent -s)
   - ssh-add <(echo -e "$SSH_PRODUCTION_KEY")
   - bin/cap production deploy
  only:
    refs: [master]
  when: manual
  environment:
    name: production
    url: http://example.test

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/ci/.gitlab-ci.yml
adminos-1.0.0.pre.rc.4 lib/generators/templates/ci/.gitlab-ci.yml
adminos-1.0.0.pre.rc.3 lib/generators/templates/ci/.gitlab-ci.yml