summaryrefslogtreecommitdiff
path: root/.expeditor/verify.pipeline.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-06 20:58:12 -0800
committerTim Smith <tsmith84@gmail.com>2020-03-06 20:58:12 -0800
commiteb3ec23aef28924290d004b88dea5f4cc9864c19 (patch)
treebfcb6ad654c4f42185887eb3bf1d1a6681d43fec /.expeditor/verify.pipeline.yml
parent7e6020c511fd92afef8f714426e52049db3fb133 (diff)
downloadchef-eb3ec23aef28924290d004b88dea5f4cc9864c19.tar.gz
Only run apt-get update when we need to
This shaves 5 seconds off the non-functional / berkshelf times Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.expeditor/verify.pipeline.yml')
-rw-r--r--.expeditor/verify.pipeline.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 9cd4837af6..9fe1f1898a 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -34,6 +34,7 @@ steps:
- label: "Functional Specs Ubuntu :ruby: 2.6"
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 --without omnibus_package docgen ruby_prof
- bundle exec rake spec:functional
@@ -262,10 +263,11 @@ steps:
- FORCE_FFI_YAJL=ext
- CHEF_LICENSE=accept-no-persist
- INTEGRATION_SPECS_27=1
-#
+
- 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
@@ -354,6 +356,7 @@ steps:
- 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