Created
October 21, 2020 14:39
-
-
Save logicminds/fdfe4a7c50d931543e4baa30829a4360 to your computer and use it in GitHub Desktop.
azure-pipelines.yml for puppet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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