summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel Kierpiec <nkierpiec@chef.io>2020-04-16 10:37:13 -0600
committerNathaniel Kierpiec <nkierpiec@chef.io>2020-04-16 10:37:13 -0600
commit31cb035169894599a51c6e264b73ad2cd0051c5d (patch)
treeca7f8c6cd4dbe12374d6e48e58cc88e5cb4c372b
parent7032ab2fc29db2611a5d3dae9f408c53e3c701fd (diff)
downloadchef-nkierpiec/test_cache.tar.gz
Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
-rw-r--r--.expeditor/verify.pipeline.yml517
1 files changed, 13 insertions, 504 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 8a62a30c82..1a625bd35a 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -11,22 +11,6 @@ expeditor:
limit: 1
steps:
-
-# #########################################################################
-# # Tests Ruby 2.6
-# #########################################################################
-
-# - label: "Integration Specs Ubuntu :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - cd /workdir; bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec rake spec:integration
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-# privileged: true
-
- label: "Functional Specs Ubuntu Priv :ruby: 2.6"
commands:
- /workdir/scripts/bk_tests/bk_container_prep.sh
@@ -55,123 +39,6 @@ steps:
docker:
image: rubydistros/ubuntu-18.04
-# - label: "Integration Specs CentOS :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - cd /workdir; bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec rake spec:integration
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/centos-7
-# privileged: true
-
-# - label: "Functional Specs CentOS :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - yum install -y crontabs e2fsprogs util-linux
-# - cd /workdir; bundle install --jobs=3 --retry=3 --without omnibus_package docgen ruby_prof
-# - bundle exec rake spec:functional
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/centos-7
-# privileged: true
-
-# - label: "Unit Specs CentOS :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen ruby_prof
-# - bundle exec rake spec:unit
-# - bundle exec rake component_specs
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/centos-7
-
-# - label: "Integration Specs openSUSE :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - cd /workdir; bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec rake spec:integration
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/opensuse-15
-# privileged: true
-
-# - label: "Functional Specs openSUSE :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - zypper install -y cronie
-# - cd /workdir; bundle install --jobs=3 --retry=3 --without omnibus_package docgen ruby_prof
-# - bundle exec rake spec:functional
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/opensuse-15
-# privileged: true
-
-# - label: "Unit Specs openSUSE :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen ruby_prof
-# - bundle exec rake spec:unit
-# - bundle exec rake component_specs
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/opensuse-15
-
-# - label: "Integration Specs Fedora :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - cd /workdir; bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec rake spec:integration
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/fedora-latest
-# privileged: true
-
-# - label: "Functional Specs Fedora :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - yum install -y crontabs e2fsprogs util-linux
-# - cd /workdir; bundle install --jobs=3 --retry=3 --without omnibus_package docgen ruby_prof
-# - bundle exec rake spec:functional
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/fedora-latest
-# privileged: true
-# environment:
-# - FORCE_FFI_YAJL=ext
-# - CHEF_LICENSE=accept-no-persist
-
-# - label: "Unit Specs Fedora :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen ruby_prof
-# - bundle exec rake spec:unit
-# - bundle exec rake component_specs
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/fedora-latest
-
-# - label: "Integration Specs Windows :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_win_integration.ps1
-# expeditor:
-# executor:
-# docker:
-# host_os: windows
-# environment:
-# - FORCE_FFI_YAJL=ext
-# - CHEF_LICENSE=accept-no-persist
-# shell: ["powershell", "-Command"]
-
- label: "Functional Specs Windows Priv :ruby: 2.6"
commands:
- scripts/bk_tests/bk_win_functional.ps1
@@ -183,374 +50,16 @@ steps:
privileged: true
shell: ["powershell", "-Command"]
-# - label: "Chocolatey Specs Windows :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_run_choco.ps1
-# expeditor:
-# executor:
-# docker:
-# host_os: windows
-# shell: ["powershell", "-Command"]
-
-- label: "Unit Specs Windows :ruby: 2.6"
- commands:
- - /workdir/scripts/bk_tests/bk_win_unit.ps1
- expeditor:
- cached_folders:
- - "vendor"
- executor:
- docker:
- host_os: windows
- environment:
- - FORCE_FFI_YAJL=ext
- - CHEF_LICENSE=accept-no-persist
- shell: ["powershell", "-Command"]
-
-# - label: "Chefstyle :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen ruby_prof
-# - bundle exec rake style
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-
-# #########################################################################
-# # Tests Ruby 2.7
-# #########################################################################
-
-# - label: "Integration Specs :ruby: 2.7"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec rake spec:integration
-# expeditor:
-# executor:
-# docker:
-# image: ruby:2.7-buster
-# privileged: true
-
-# - label: "Functional Specs :ruby: 2.7"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - apt-get update -y
-# - apt-get install -y cron locales net-tools # needed for functional tests to pass
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec rake spec:functional
-# expeditor:
-# executor:
-# docker:
-# image: ruby:2.7-buster
-# privileged: true
-
-# - label: "Unit Specs :ruby: 2.7"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec rake spec:unit
-# - bundle exec rake component_specs
-# expeditor:
-# executor:
-# docker:
-# image: ruby:2.7-buster
-
-# #########################################################################
-# # EXTERNAL GEM TESTING
-# #########################################################################
-
-# - label: "Test chef-sugar gem :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec tasks/bin/run_external_test chef/chef-sugar master rake
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-
-# - label: "Test chef-zero gem :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec tasks/bin/run_external_test chef/chef-zero master rake pedant
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-# environment:
-# - PEDANT_OPTS=--skip-oc_id
-# - CHEF_FS=true
-
-# - label: "Test cheffish gem :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec tasks/bin/run_external_test chef/cheffish master rake spec
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-
-# - label: "Test chefspec gem :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec tasks/bin/run_external_test chefspec/chefspec master rake
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-
-# - label: "Test knife-windows gem :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec tasks/bin/run_external_test chef/knife-windows master rake spec
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-
-# - label: "Test berkshelf gem :ruby: 2.6"
-# commands:
-# - /workdir/scripts/bk_tests/bk_container_prep.sh
-# - apt-get update -y
-# - apt-get install -y graphviz
-# - gem install bundler -v 1.17.3 # necessary for berks Gemfile.lock for now
-# - bundle install --jobs=3 --retry=3 --without omnibus_package docgen
-# - bundle exec tasks/bin/run_external_test berkshelf/berkshelf master rake
-# expeditor:
-# executor:
-# docker:
-# image: rubydistros/ubuntu-18.04
-
-# #########################################################################
-# # START TEST KITCHEN ONLY
-# #########################################################################
-
-# - label: "Kitchen Tests :amazon: 2"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-amazonlinux-2
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests :amazon: 201X"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-amazonlinux-2
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Ubuntu: 16.04"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-ubuntu-1604
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# UBUNTU: "16.04"
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Ubuntu: 18.04"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-ubuntu-1804
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Ubuntu: 20.04"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-ubuntu-2004
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Debian: 8"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-debian-8
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Debian: 9"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-debian-9
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Debian: 10"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-debian-10
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests CentOS: 6"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-centos-6
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests CentOS: 7"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-centos-7
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests CentOS: 8"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-centos-8
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Oracle Linux: 6"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-oraclelinux-6
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Oracle Linux: 7"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-oraclelinux-7
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests Fedora: latest"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-fedora-latest
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
-
-# - label: "Kitchen Tests openSUSE Leap: 15"
-# commands:
-# - scripts/bk_tests/bk_linux_exec.sh
-# - cd kitchen-tests
-# - ~/.asdf/shims/bundle exec kitchen test end-to-end-opensuse-leap-15
-# artifact_paths:
-# - $PWD/.kitchen/logs/kitchen.log
-# env:
-# KITCHEN_YAML: kitchen.yml
-# expeditor:
-# executor:
-# linux:
-# privileged: true
-# single-use: true
+ - label: "Unit Specs Windows :ruby: 2.6"
+ commands:
+ - /workdir/scripts/bk_tests/bk_win_unit.ps1
+ expeditor:
+ cached_folders:
+ - "vendor"
+ executor:
+ docker:
+ host_os: windows
+ environment:
+ - FORCE_FFI_YAJL=ext
+ - CHEF_LICENSE=accept-no-persist
+ shell: ["powershell", "-Command"] \ No newline at end of file