Skip to content

Instantly share code, notes, and snippets.

@logicminds
Created October 21, 2020 14:39
Show Gist options
  • Save logicminds/fdfe4a7c50d931543e4baa30829a4360 to your computer and use it in GitHub Desktop.
Save logicminds/fdfe4a7c50d931543e4baa30829a4360 to your computer and use it in GitHub Desktop.
azure-pipelines.yml for puppet
# Ruby
# Package your Ruby project.
# Add steps that install rails, analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/ruby
trigger:
- testing
- prduction
pool:
vmImage: 'ubuntu-18.04'
steps:
- task: UseRubyVersion@0
inputs:
versionSpec: '>= 2.5'
- script: |
gem install bundler
bundle install --retry=3 --jobs=4
displayName: 'bundle install'
- script: bundle exec rake
displayName: 'bundle exec rake spec'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment