summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-06-09 11:42:15 -0700
committerTim Smith <tsmith@chef.io>2019-06-09 11:42:15 -0700
commit9de6e245f7f19b2a7456ed237bf439909e0e9804 (patch)
treed0c9392f41e9e08ab365a7fc22cf5404db286fd7
parentfd650ba4701f772ff9c7dc2f828d2acb34a1ffb2 (diff)
downloadchef-bk.tar.gz
Disable specs in Travis and dokken in BKbk
BK is having a hard time with Dokken so disable that for now, but skip all the specs in Travis since those run faster and reliably in BK Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.expeditor/verify.pipeline.yml330
-rw-r--r--.travis.yml143
2 files changed, 165 insertions, 308 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 87b05cdfd5..2cb076e10c 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -263,168 +263,168 @@ steps:
# 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 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 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: 42"
- commands:
- - scripts/bk_tests/bk_linux_exec.sh
- - cd kitchen-tests
- - ~/.asdf/shims/bundle exec kitchen test end-to-end-opensuse-leap
- artifact_paths:
- - $PWD/.kitchen/logs/kitchen.log
- env:
- KITCHEN_YAML: kitchen.yml
- expeditor:
- executor:
- linux:
- privileged: true
- single-use: true
+# - 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 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 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: 42"
+# commands:
+# - scripts/bk_tests/bk_linux_exec.sh
+# - cd kitchen-tests
+# - ~/.asdf/shims/bundle exec kitchen test end-to-end-opensuse-leap
+# artifact_paths:
+# - $PWD/.kitchen/logs/kitchen.log
+# env:
+# KITCHEN_YAML: kitchen.yml
+# expeditor:
+# executor:
+# linux:
+# privileged: true
+# single-use: true
diff --git a/.travis.yml b/.travis.yml
index 24b24082d6..6904a1da75 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,79 +34,6 @@ env:
matrix:
include:
- - env:
- INTEGRATION_SPECS_25: 1
- rvm: 2.5.5
- sudo: true
- script: sudo -E $(which bundle) exec rake spec:integration;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- INTEGRATION_SPECS_26: 1
- rvm: 2.6.3
- sudo: true
- script: sudo -E $(which bundle) exec rake spec:integration;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- FUNCTIONAL_SPECS_25: 1
- rvm: 2.5.5
- sudo: true
- # the travis apt proxy screws with our functional testing something fierce
- script: sudo rm -f /etc/apt/apt.conf.d/99-travis-apt-proxy; sudo -E $(which bundle) exec rake spec:functional;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- FUNCTIONAL_SPECS_26: 1
- rvm: 2.6.3
- sudo: true
- script: sudo rm -f /etc/apt/apt.conf.d/99-travis-apt-proxy; sudo -E $(which bundle) exec rake spec:functional;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- UNIT_SPECS_25: 1
- rvm: 2.5.5
- sudo: true
- script:
- - sudo -E $(which bundle) exec rake spec:unit;
- - sudo -E $(which bundle) exec rake component_specs
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- UNIT_SPECS_26: 1
- rvm: 2.6.3
- sudo: true
- script:
- - sudo -E $(which bundle) exec rake spec:unit;
- - sudo -E $(which bundle) exec rake component_specs
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- CHEFSTYLE: 1
- rvm: 2.6.3
- script: bundle exec rake style
- # also remove integration / external tests
- bundler_args: --without docgen integration omnibus_package --frozen
- #
- # External tests
- #
- - env:
- TEST_GEM: sethvargo/chef-sugar
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake
- rvm: 2.6.3
- - env:
- - PEDANT_OPTS=--skip-oc_id
- - TEST_GEM=chef/chef-zero
- - CHEF_FS=true
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake pedant
- rvm: 2.6.3
- - env:
- TEST_GEM: chef/cheffish
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake spec
- rvm: 2.6.3
- - env:
- TEST_GEM: chefspec/chefspec
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake
- rvm: 2.6.3
- - env:
- TEST_GEM: chef/knife-windows
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake unit_spec
- rvm: 2.6.3
- ### START TEST KITCHEN ONLY ###
- rvm: 2.5.5
services: docker
gemfile: kitchen-tests/Gemfile
@@ -301,76 +228,6 @@ matrix:
- cat /tmp/out.txt
- sudo cat /var/log/squid3/cache.log
- sudo cat /var/log/squid3/access.log
- # Use test-kitchen to launch a centos docker container to run the full rspec tests against. This catches
- # errors in travis, before PRs are merged, hopefully before they become errors in jenkins.
- - rvm: 2.5.5
- services: docker
- sudo: required
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test rspec-centos-7
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - RSPEC_CENTOS=7
- - KITCHEN_YAML=kitchen.yml
- - rvm: 2.5.5
- services: docker
- sudo: required
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test rspec-opensuse-leap
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - RSPEC_OPENSUSELEAP=42
- - KITCHEN_YAML=kitchen.yml
- allow_failures:
- - rvm: 2.5.5
- services: docker
- sudo: required
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test rspec-opensuse-leap
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - RSPEC_OPENSUSELEAP=42
- - KITCHEN_YAML=kitchen.yml
- - rvm: 2.5.5
- services: docker
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test end-to-end-opensuse-leap
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - OPENSUSELEAP=42
- - KITCHEN_YAML=kitchen.yml
notifications:
on_change: true