diff options
author | Bryan McLellan <btm@loftninjas.org> | 2020-05-13 10:56:48 -0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2020-05-13 15:36:37 -0400 |
commit | af7b453f86e8656a30f3f5fa43e6a74ca8741008 (patch) | |
tree | f972db73ab7d0700387e8174803eb81bf0192279 /.expeditor/verify.pipeline.yml | |
parent | df065cfc02f93872fc2e37263fa1c408eac471ca (diff) | |
download | chef-af7b453f86e8656a30f3f5fa43e6a74ca8741008.tar.gz |
Add private Windows 10 Azure e2e test to Expeditor
To have access to the vault for cloud credentials, we have to have a separate
private pipeline.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
Diffstat (limited to '.expeditor/verify.pipeline.yml')
-rw-r--r-- | .expeditor/verify.pipeline.yml | 569 |
1 files changed, 0 insertions, 569 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml deleted file mode 100644 index 1791e3228c..0000000000 --- a/.expeditor/verify.pipeline.yml +++ /dev/null @@ -1,569 +0,0 @@ ---- -expeditor: - cached_folders: - - vendor - defaults: - buildkite: - retry: - automatic: - limit: 1 - timeout_in_minutes: 30 - -steps: - -######################################################################### - # Tests Ruby 2.7 -######################################################################### - -- label: ":rspec: Integration :ubuntu: 18.04 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:integration - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.7 - privileged: true - -- label: ":rspec: Functional :ubuntu: 18.04 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - apt-get update -y - - apt-get install -y cron locales # needed for functional tests to pass - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:functional - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.7 - privileged: true - -- label: ":rspec: Unit :ubuntu: 18.04 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:unit - - bundle exec rake component_specs - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.7 - -- label: ":rspec: Integration :ubuntu: 20.04 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:integration - expeditor: - executor: - docker: - image: rubydistros/ubuntu-20.04:2.7 - privileged: true - -- label: ":rspec: Functional :ubuntu: 20.04 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - apt-get update -y - - apt-get install -y cron locales # needed for functional tests to pass - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:functional - expeditor: - executor: - docker: - image: rubydistros/ubuntu-20.04:2.7 - privileged: true - -- label: ":rspec: Unit :ubuntu: 20.04 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:unit - - bundle exec rake component_specs - expeditor: - executor: - docker: - image: rubydistros/ubuntu-20.04:2.7 - -- label: ":rspec: Integration :centos: 7 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:integration - expeditor: - executor: - docker: - image: rubydistros/centos-7:2.7 - privileged: true - -- label: ":rspec: Functional :centos: 7 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - yum install -y crontabs e2fsprogs util-linux - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:functional - expeditor: - executor: - docker: - image: rubydistros/centos-7:2.7 - privileged: true - -- label: ":rspec: Unit :centos: 7 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:unit - - bundle exec rake component_specs - expeditor: - executor: - docker: - image: rubydistros/centos-7:2.7 - -- label: ":rspec: Integration :lizard: openSUSE 15 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - zypper install -y cron insserv-compat - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:integration - expeditor: - executor: - docker: - image: rubydistros/opensuse-15:2.7 - privileged: true - -- label: ":rspec: Functional :lizard: openSUSE 15 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - zypper install -y cronie insserv-compat - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:functional - expeditor: - executor: - docker: - image: rubydistros/opensuse-15:2.7 - privileged: true - -- label: ":rspec: Unit :lizard: openSUSE 15 :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - zypper install -y cron insserv-compat - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:unit - - bundle exec rake component_specs - expeditor: - executor: - docker: - image: rubydistros/opensuse-15:2.7 - -- label: ":rspec: Integration :fedora: :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:integration - expeditor: - executor: - docker: - image: rubydistros/fedora-latest:2.7 - privileged: true - -- label: ":rspec: Functional :fedora: :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - yum install -y crontabs e2fsprogs util-linux - - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:functional - expeditor: - executor: - docker: - image: rubydistros/fedora-latest:2.7 - privileged: true - environment: - - FORCE_FFI_YAJL=ext - - CHEF_LICENSE=accept-no-persist - -- label: ":rspec: Unit :fedora: :ruby: 2.7" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake spec:unit - - bundle exec rake component_specs - expeditor: - executor: - docker: - image: rubydistros/fedora-latest:2.7 - -######################################################################### -# Tests Ruby 2.6 -######################################################################### - -- label: ":rspec: Integration :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: ":rspec: Functional :windows: :ruby: 2.6" - commands: - - scripts/bk_tests/bk_win_functional.ps1 - expeditor: - executor: - windows: - privileged: true - shell: ["powershell", "-Command"] - -- label: "Chocolatey :windows: :ruby: 2.6" - commands: - - /workdir/scripts/bk_tests/bk_run_choco.ps1 - expeditor: - executor: - docker: - host_os: windows - shell: ["powershell", "-Command"] - -- label: ":rspec: Unit :windows: :ruby: 2.6" - commands: - - /workdir/scripts/bk_tests/bk_win_unit.ps1 - expeditor: - 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 --path=vendor/bundle --without omnibus_package docgen ruby_prof - - bundle exec rake style - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - -- label: ":rspec: Integration :ruby: 2.6" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:integration - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - privileged: true - -- label: ":rspec: Functional :ruby: 2.6" - 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 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:functional - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - privileged: true - -- label: ":rspec: Unit :ruby: 2.6" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec rake spec:unit - - bundle exec rake component_specs - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - -######################################################################### - # 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 --path=vendor/bundle --without omnibus_package docgen - - bundle exec tasks/bin/run_external_test chef/chef-sugar master rake - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - -- label: "Test chef-zero gem :ruby: 2.6" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --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:2.6 - 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 --path=vendor/bundle --without omnibus_package docgen - - bundle exec tasks/bin/run_external_test chef/cheffish master rake spec - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - -- label: "Test chefspec gem :ruby: 2.6" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package docgen - - bundle exec tasks/bin/run_external_test chefspec/chefspec master rake - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - -- label: "Test knife-windows gem :ruby: 2.6" - commands: - - /workdir/scripts/bk_tests/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --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:2.6 - -- 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 --path=vendor/bundle --without omnibus_package docgen - - bundle exec tasks/bin/run_external_test berkshelf/berkshelf master rake - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:2.6 - -######################################################################### - # START TEST KITCHEN ONLY -######################################################################### - -- label: ":test-kitchen: Tests :aws-logo: 2" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :aws-logo: 201X" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :ubuntu: 16.04" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :ubuntu: 18.04" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :ubuntu: 20.04" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :debian: 8" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :debian: 9" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :debian: 10" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :centos: 6" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :centos: 7" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :centos: 8" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :oracle_linux: 7" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :fedora: latest" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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: ":test-kitchen: Tests :lizard: openSUSE Leap: 15" - commands: - - scripts/bk_tests/bk_linux_exec.sh - - cd kitchen-tests - - /opt/omnibus-toolchain/bin/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 |