.sync.yml 3.54 KB
Newer Older
Raphaël Pinson's avatar
Raphaël Pinson committed
1 2
---
.travis.yml:
Raphaël Pinson's avatar
Raphaël Pinson committed
3 4 5 6 7 8
  addons:
    apt:
      sources:
        - augeas
      packages:
        - libaugeas-dev
Raphaël Pinson's avatar
Raphaël Pinson committed
9 10 11 12 13 14
  branches:
    - master
    - /^\d/
  deploy_to_forge:
    enabled: true
    tag_regex: "^\\d"
Mickaël Canévet's avatar
Mickaël Canévet committed
15 16
  acceptance:
    - '*'
Raphaël Pinson's avatar
Raphaël Pinson committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
  user: camptocamp
  secure: "XAv4O363tng0KuRnu1ZhhwORy+2CF9UQwdwlFmS+NG9jOaTZZN+PMK8iC7OSIvZN6cfKlYjHRHNuxFBnYlnMrLsM9fVxt4NjjznOgIKQpQDleWk4UitZj5ntyHmUtYtofUd5Bhi/sdYXwGN9pVRCrcfFBmsIRq/dOhXD7Wy5KcQ="
  includes:
    -
      env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint"
      stage: static
    -
      env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
      rvm: 2.4.5
      stage: spec
    -
      env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
      rvm: 2.5.3
      stage: spec
    - rvm: default
      sudo: required
      services: docker
      env:
        - PUPPET_INSTALL_TYPE=agent
        - BEAKER_IS_PE=no
        - BEAKER_PUPPET_COLLECTION=puppet5
        - BEAKER_debug=true
        - BEAKER_setfile=debian8-64{hypervisor=docker}
      bundler_args:
      script: bundle exec rspec spec/acceptance/*_spec.rb
      stage: acceptance
    - rvm: default
      sudo: required
      services: docker
      env:
        - PUPPET_INSTALL_TYPE=agent
        - BEAKER_IS_PE=no
        - BEAKER_PUPPET_COLLECTION=puppet5
        - BEAKER_debug=true
        - BEAKER_setfile=debian9-64{hypervisor=docker}
      bundler_args:
      script: bundle exec rspec spec/acceptance/*_spec.rb
      stage: acceptance
    - rvm: default
      sudo: required
      services: docker
      env:
        - PUPPET_INSTALL_TYPE=agent
        - BEAKER_IS_PE=no
        - BEAKER_PUPPET_COLLECTION=puppet5
        - BEAKER_debug=true
        - BEAKER_setfile=ubuntu1404-64{hypervisor=docker}
      bundler_args:
      script: bundle exec rspec spec/acceptance/*_spec.rb
      stage: acceptance
    - rvm: default
      sudo: required
      services: docker
      env:
        - PUPPET_INSTALL_TYPE=agent
        - BEAKER_IS_PE=no
        - BEAKER_PUPPET_COLLECTION=puppet5
        - BEAKER_debug=true
        - BEAKER_setfile=ubuntu1604-64{hypervisor=docker}
      bundler_args:
      script: bundle exec rspec spec/acceptance/*_spec.rb
      stage: acceptance
    - rvm: default
      sudo: required
      services: docker
      env:
        - PUPPET_INSTALL_TYPE=agent
        - BEAKER_IS_PE=no
        - BEAKER_PUPPET_COLLECTION=puppet5
        - BEAKER_debug=true
        - BEAKER_setfile=ubuntu1804-64{hypervisor=docker}
      bundler_args:
      script: bundle exec rspec spec/acceptance/*_spec.rb
    - rvm: default
      sudo: required
      services: docker
      env:
        - PUPPET_INSTALL_TYPE=agent
        - BEAKER_IS_PE=no
        - BEAKER_PUPPET_COLLECTION=puppet5
        - BEAKER_debug=true
        - BEAKER_setfile=centos6-64{hypervisor=docker}
      bundler_args:
      script: bundle exec rspec spec/acceptance/*_spec.rb
      stage: acceptance
    - rvm: default
      sudo: required
      services: docker
      env:
        - PUPPET_INSTALL_TYPE=agent
        - BEAKER_IS_PE=no
        - BEAKER_PUPPET_COLLECTION=puppet5
        - BEAKER_debug=true
        - BEAKER_setfile=centos7-64{hypervisor=docker}
      bundler_args:
      script: bundle exec rspec spec/acceptance/*_spec.rb
      stage: acceptance
114

Raphaël Pinson's avatar
Raphaël Pinson committed
115 116 117 118 119 120 121
Gemfile:
  required:
    ':development':
      - gem: ruby-augeas
    ':system_tests':
      - gem: beaker-hostgenerator
      - gem: "puppet-module-posix-system-r#{minor_version}"
Raphaël Pinson's avatar
Raphaël Pinson committed
122 123 124 125 126
  optional:
    ':development':
      - gem: 'github_changelog_generator'
Rakefile:
  changelog_version_tag_pattern: '%s'