Always expire the git cache when running omnibus jobs

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2022-02-20 19:19:07 -05:00
parent b44ddb7666
commit ffe5d06722

View file

@ -19,10 +19,15 @@ pipelines:
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true" - HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
- docker/build - docker/build
- omnibus/release - omnibus/release
env:
# The git cache is corrupt more often than not. This always purges the cache.
# https://chefio.atlassian.net/wiki/spaces/RELENGKB/pages/2204336129/Resolving+git+cache+build+errors+in+Omnibus
- EXPIRE_CACHE: 1
- omnibus/adhoc: - omnibus/adhoc:
definition: .expeditor/release.omnibus.yml definition: .expeditor/release.omnibus.yml
env: env:
- ADHOC: true - ADHOC: true
- EXPIRE_CACHE: 1
- verify: - verify:
description: Pull Request validation tests description: Pull Request validation tests
public: true public: true