summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-07-01 13:21:16 -0700
committerTim Smith <tsmith@chef.io>2021-07-01 13:21:16 -0700
commitefc60ae53c1c10c753e78feedbcc0f80cd9c81c5 (patch)
treeeff4f3b2ac2b7e43481859b6f39f06077821ae82
parent9fd9308d7f88adc5ed19ca3fabf33adffcbaea09 (diff)
downloadchef-efc60ae53c1c10c753e78feedbcc0f80cd9c81c5.tar.gz
Remove the Azure pipeline config
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--azure-pipelines.yml94
1 files changed, 0 insertions, 94 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
deleted file mode 100644
index 7128e6361c..0000000000
--- a/azure-pipelines.yml
+++ /dev/null
@@ -1,94 +0,0 @@
-# End-to-End Test of Chef in macOS
-
-variables:
- FORCE_FFI_YAJL: 'ext'
- CHEF_LICENSE: 'accept-no-persist'
-
-trigger:
-- master
-- chef-16
-
-pr:
-- master
-- chef-16
-
-pool:
- vmImage: $(imageName)
-
-jobs:
- - job:
- strategy:
- matrix:
- mac_kitchen_tests:
- imageName: 'macos-latest'
-
- steps:
- - script: |
- curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current
- /opt/chef/bin/chef-client -v
- /opt/chef/bin/ohai -v
- /opt/chef/embedded/bin/rake --version
- /opt/chef/embedded/bin/bundle -v
- displayName: 'Install Chef/Ohai from Omnitruck'
-
- - script: |
- OHAI_VERSION=$(sed -n '/ohai .[0-9]/{s/.*(//;s/)//;p;}' Gemfile.lock)
- sudo /opt/chef/embedded/bin/gem install appbundler appbundle-updater --no-doc
- sudo /opt/chef/embedded/bin/appbundle-updater chef ohai v${OHAI_VERSION} --tarball --github chef/ohai
- sudo /opt/chef/embedded/bin/appbundle-updater chef chef $BUILD_SOURCEVERSION --tarball --github chef/chef
- echo "Installed Chef / Ohai release:"
- /opt/chef/bin/chef-client -v
- /opt/chef/bin/ohai -v
- displayName: 'Upgrade Chef/Ohai via Appbundler'
-
- - script: |
- cd kitchen-tests
- sudo /opt/chef/embedded/bin/bundle config set without 'omnibus_package ruby_prof'
- sudo /opt/chef/embedded/bin/bundle install --jobs=3 --retry=3 --path=vendor/bundle
- sudo /opt/chef/embedded/bin/gem install berkshelf --no-doc
- sudo /opt/chef/embedded/bin/berks vendor cookbooks
- sudo /opt/chef/bin/chef-client -z -o end_to_end --chef-license accept-no-persist
- displayName: 'Run end_to_end::default recipe'
-
- - job:
- strategy:
- matrix:
- windows_kitchen_tests:
- imageName: 'windows-latest'
-
- steps:
- - powershell: |
- . { Invoke-WebRequest -useb https://omnitruck.chef.io/install.ps1 } | Invoke-Expression; Install-Project -project chef -channel current
- $env:PATH = "C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;" + $env:PATH
- chef-client -v
- ohai -v
- rake --version
- bundle -v
- displayName: 'Install Chef/Ohai from Omnitruck'
-
- - powershell: |
- $env:PATH = "C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;" + $env:PATH
- $env:OHAI_VERSION = ( Select-String -Path .\Gemfile.lock -Pattern '(?<=ohai \()\d.*(?=\))' | ForEach-Object { $_.Matches[0].Value } )
- gem install appbundler appbundle-updater --no-doc
- appbundle-updater chef ohai v$env:OHAI_VERSION --tarball --github chef/ohai
- appbundle-updater chef chef $env:BUILD_SOURCEVERSION --tarball --github chef/chef
- Write-Output "Installed Chef / Ohai release:"
- chef-client -v
- ohai -v
- displayName: 'Upgrade Chef/Ohai via Appbundler'
-
- - powershell: |
- cd kitchen-tests
- $env:PATH = "C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;" + $env:PATH
- bundle config set without 'omnibus_package ruby_prof'
- bundle install --jobs=3 --retry=3 --path=vendor/bundle
- gem install berkshelf --no-doc
- # berks emits a ruby warning when it loads net/http due to a previously
- # defined constant. Even though it is just a warning, powershell immediately
- # exits 1. I'm not sure why but this just suppresses the warnings.
- $env:RUBYOPT="-W0"
- berks vendor cookbooks
- # restore the default warning level
- $env:RUBYOPT="-W1"
- chef-client -z -o end_to_end --chef-license accept-no-persist
- displayName: 'Run end_to_end::default recipe'