Class: Suspenders::CiGenerator

Inherits:
Generators::Base show all
Defined in:
lib/suspenders/generators/ci_generator.rb

Instance Method Summary collapse

Methods inherited from Generators::Base

default_source_root

Methods included from Actions

#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #replace_in_file

Instance Method Details

#configure_ciObject



5
6
7
8
9
10
# File 'lib/suspenders/generators/ci_generator.rb', line 5

def configure_ci
  template 'gitlab-ci.yml.erb', '.gitlab-ci.yml'
  template 'Dockerfile.gitlab.erb', 'Dockerfile.gitlab'
  copy_file 'database.gitlab.yml', 'config/database.gitlab.yml'
  copy_file 'dockerignore', '.dockerignore'
end