open-vault/.circleci/config/@build-release.yml
Sam Salisbury 98fe5029b0
Packagespec v0.1.2/master (#9995)
* packagespec v0.1.2 - prep: remove unneeded code

* packagespec v0.1.2 - packagespec init

* packagespec v0.1.2 - make packages

* packagespec v0.1.3 - make packages
2020-09-28 13:53:39 +01:00

2058 lines
97 KiB
YAML

---
# ***
# WARNING: Do not EDIT or MERGE this file, it is generated by packagespec.
# ***
version: 2.1
executors:
builder:
docker:
- image: circleci/buildpack-deps
environment:
PRODUCT_REVISION: ""
AUTO_INSTALL_TOOLS: 'YES'
BUILDKIT_PROGRESS: plain
shell: /usr/bin/env bash -euo pipefail -c
builder-machine:
machine:
image: ubuntu-1604:202007-01
resource_class: xlarge
environment:
PRODUCT_REVISION: ""
AUTO_INSTALL_TOOLS: 'YES'
BUILDKIT_PROGRESS: plain
shell: /usr/bin/env bash -euo pipefail -c
workflows:
version: 2
build-standalone:
jobs:
- build-common-layers
- darwin_386_package: { requires: [ build-common-layers ] }
- darwin_amd64_package: { requires: [ build-common-layers ] }
- freebsd_386_package: { requires: [ build-common-layers ] }
- freebsd_amd64_package: { requires: [ build-common-layers ] }
- freebsd_arm_package: { requires: [ build-common-layers ] }
- linux_386_package: { requires: [ build-common-layers ] }
- linux_amd64_package: { requires: [ build-common-layers ] }
- linux_arm_package: { requires: [ build-common-layers ] }
- linux_arm64_package: { requires: [ build-common-layers ] }
- netbsd_386_package: { requires: [ build-common-layers ] }
- netbsd_amd64_package: { requires: [ build-common-layers ] }
- openbsd_386_package: { requires: [ build-common-layers ] }
- openbsd_amd64_package: { requires: [ build-common-layers ] }
- solaris_amd64_package: { requires: [ build-common-layers ] }
- windows_386_package: { requires: [ build-common-layers ] }
- windows_amd64_package: { requires: [ build-common-layers ] }
- bundle-releases:
requires:
- darwin_386_package
- darwin_amd64_package
- freebsd_386_package
- freebsd_amd64_package
- freebsd_arm_package
- linux_386_package
- linux_amd64_package
- linux_arm_package
- linux_arm64_package
- netbsd_386_package
- netbsd_amd64_package
- openbsd_386_package
- openbsd_amd64_package
- solaris_amd64_package
- windows_386_package
- windows_amd64_package
jobs:
build-common-layers:
executor: builder-machine
steps:
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
- write-build-layer-cache-keys
- restore_cache:
name: Restore build image cache
keys:
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Finish early if loaded exact match from cache.
command: |
if [ -f .buildcache/archives/06-build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8.tar.gz ]; then
echo "Exact match found in cache, skipping build."
circleci-agent step halt
else
echo "No exact match found, proceeding with build."
fi
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
LAYER_SPEC_ID=06-build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8 make -C packages*.lock load-builder-cache
- run:
name: Build base layer
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 00-base-cd50335c2217aa98d45d50d7ef941dfd1289b070-image
- run:
name: Build install-go layer
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 01-install-go-04fac374a5ab393a607df72e77bce85e18dd3856-image
- run:
name: Build install-go-tools layer
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 02-install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981-image
- run:
name: Build set-workdir layer
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 03-set-workdir-68217e0df446776a522c173819319331eab24bfd-image
- run:
name: Build install-yarn layer
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 04-install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347-image
- run:
name: Build ui-dependencies layer
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 05-ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537-image
- run:
name: Build build-ui layer
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 06-build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8-image
- run:
name: Export builder image
command: make -f packages*.lock/layer.mk 06-build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8-save
- save_cache:
name: Save layer build-ui to cache.
key: cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
paths:
- .buildcache/archives/06-build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8.tar.gz
- run:
name: Prepare layer ui-dependencies for caching
command: mv .buildcache/archives/06-build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8.tar.gz .buildcache/archives/05-ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537.tar.gz
- save_cache:
name: Save layer ui-dependencies to cache.
key: cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
paths:
- .buildcache/archives/05-ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537.tar.gz
- run:
name: Prepare layer install-yarn for caching
command: mv .buildcache/archives/05-ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537.tar.gz .buildcache/archives/04-install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347.tar.gz
- save_cache:
name: Save layer install-yarn to cache.
key: cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
paths:
- .buildcache/archives/04-install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347.tar.gz
- run:
name: Prepare layer set-workdir for caching
command: mv .buildcache/archives/04-install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347.tar.gz .buildcache/archives/03-set-workdir-68217e0df446776a522c173819319331eab24bfd.tar.gz
- save_cache:
name: Save layer set-workdir to cache.
key: cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
paths:
- .buildcache/archives/03-set-workdir-68217e0df446776a522c173819319331eab24bfd.tar.gz
- run:
name: Prepare layer install-go-tools for caching
command: mv .buildcache/archives/03-set-workdir-68217e0df446776a522c173819319331eab24bfd.tar.gz .buildcache/archives/02-install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981.tar.gz
- save_cache:
name: Save layer install-go-tools to cache.
key: cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
paths:
- .buildcache/archives/02-install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981.tar.gz
- run:
name: Prepare layer install-go for caching
command: mv .buildcache/archives/02-install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981.tar.gz .buildcache/archives/01-install-go-04fac374a5ab393a607df72e77bce85e18dd3856.tar.gz
- save_cache:
name: Save layer install-go to cache.
key: cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
paths:
- .buildcache/archives/01-install-go-04fac374a5ab393a607df72e77bce85e18dd3856.tar.gz
- run:
name: Prepare layer base for caching
command: mv .buildcache/archives/01-install-go-04fac374a5ab393a607df72e77bce85e18dd3856.tar.gz .buildcache/archives/00-base-cd50335c2217aa98d45d50d7ef941dfd1289b070.tar.gz
- save_cache:
name: Save layer base to cache.
key: cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
paths:
- .buildcache/archives/00-base-cd50335c2217aa98d45d50d7ef941dfd1289b070.tar.gz
darwin_386_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 4100a546c7a2deb7ac3bea5970bedfed2eebe64c
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-4100a546c7a2deb7ac3bea5970bedfed2eebe64c-{{checksum ".buildcache/cache-keys/package-4100a546c7a2deb7ac3bea5970bedfed2eebe64c"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_21dd_{{checksum ".buildcache/cache-keys/copy-source-21dd30d3110c6bd6831b9295d43d6007a276763f"}}
- cache006-warm-go-build-vendor-cache_202e_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-202ef0ffb92864c99426f3bbcf24097abf79b796"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-4100a546c7a2deb7ac3bea5970bedfed2eebe64c-{{checksum ".buildcache/cache-keys/package-4100a546c7a2deb7ac3bea5970bedfed2eebe64c"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-202ef0ffb92864c99426f3bbcf24097abf79b796.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-202ef0ffb92864c99426f3bbcf24097abf79b796-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_202e_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-202ef0ffb92864c99426f3bbcf24097abf79b796"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-202ef0ffb92864c99426f3bbcf24097abf79b796.tar.gz
darwin_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: f0a38bf7dac73fa7d95360f7864e1488de1af94b
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-f0a38bf7dac73fa7d95360f7864e1488de1af94b-{{checksum ".buildcache/cache-keys/package-f0a38bf7dac73fa7d95360f7864e1488de1af94b"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_137b_{{checksum ".buildcache/cache-keys/copy-source-137b41f69eedb5c72701865851015bdf792fe20f"}}
- cache006-warm-go-build-vendor-cache_ee41_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-ee412438fddc780f742015d41883229589ca8f84"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-f0a38bf7dac73fa7d95360f7864e1488de1af94b-{{checksum ".buildcache/cache-keys/package-f0a38bf7dac73fa7d95360f7864e1488de1af94b"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-ee412438fddc780f742015d41883229589ca8f84.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-ee412438fddc780f742015d41883229589ca8f84-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_ee41_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-ee412438fddc780f742015d41883229589ca8f84"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-ee412438fddc780f742015d41883229589ca8f84.tar.gz
freebsd_386_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60-{{checksum ".buildcache/cache-keys/package-beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_bf33_{{checksum ".buildcache/cache-keys/copy-source-bf3395f720fd39ee12ee1bdda6d9ff3de1f9b025"}}
- cache006-warm-go-build-vendor-cache_f071_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-f071c4c6ddd555cce3092b98f8b19115eb23f372"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60-{{checksum ".buildcache/cache-keys/package-beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-f071c4c6ddd555cce3092b98f8b19115eb23f372.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-f071c4c6ddd555cce3092b98f8b19115eb23f372-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_f071_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-f071c4c6ddd555cce3092b98f8b19115eb23f372"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-f071c4c6ddd555cce3092b98f8b19115eb23f372.tar.gz
freebsd_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: d5a2eed6cd62f28a96e9966923d4a3319c143b09
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-d5a2eed6cd62f28a96e9966923d4a3319c143b09-{{checksum ".buildcache/cache-keys/package-d5a2eed6cd62f28a96e9966923d4a3319c143b09"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_5267_{{checksum ".buildcache/cache-keys/copy-source-5267866774b268cf9a62123148a091787d930b6a"}}
- cache006-warm-go-build-vendor-cache_dbf4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-dbf4add3b5adae072d1b2aa03b81ca3ea68bdf40"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-d5a2eed6cd62f28a96e9966923d4a3319c143b09-{{checksum ".buildcache/cache-keys/package-d5a2eed6cd62f28a96e9966923d4a3319c143b09"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-dbf4add3b5adae072d1b2aa03b81ca3ea68bdf40.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-dbf4add3b5adae072d1b2aa03b81ca3ea68bdf40-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_dbf4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-dbf4add3b5adae072d1b2aa03b81ca3ea68bdf40"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-dbf4add3b5adae072d1b2aa03b81ca3ea68bdf40.tar.gz
freebsd_arm_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 05e17ce0ee458742bbcad189c58cd709ead699e3
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-05e17ce0ee458742bbcad189c58cd709ead699e3-{{checksum ".buildcache/cache-keys/package-05e17ce0ee458742bbcad189c58cd709ead699e3"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_810a_{{checksum ".buildcache/cache-keys/copy-source-810ab6ed75ddab8380a8142c74d41360619b0c29"}}
- cache006-warm-go-build-vendor-cache_4f40_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-4f409d29ffae0b3ec57b8459021b3c67105e257a"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-05e17ce0ee458742bbcad189c58cd709ead699e3-{{checksum ".buildcache/cache-keys/package-05e17ce0ee458742bbcad189c58cd709ead699e3"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-4f409d29ffae0b3ec57b8459021b3c67105e257a.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-4f409d29ffae0b3ec57b8459021b3c67105e257a-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_4f40_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-4f409d29ffae0b3ec57b8459021b3c67105e257a"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-4f409d29ffae0b3ec57b8459021b3c67105e257a.tar.gz
linux_386_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 281190f33a5f3e27aa6bcd886810bcdd7e0160e2
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-281190f33a5f3e27aa6bcd886810bcdd7e0160e2-{{checksum ".buildcache/cache-keys/package-281190f33a5f3e27aa6bcd886810bcdd7e0160e2"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_b31f_{{checksum ".buildcache/cache-keys/copy-source-b31f38efa9553e222b791fa52d76ab248f318d6a"}}
- cache006-warm-go-build-vendor-cache_eac3_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-eac34e5daaf2ee2e27fe39448b62d8cdff4e800e"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-281190f33a5f3e27aa6bcd886810bcdd7e0160e2-{{checksum ".buildcache/cache-keys/package-281190f33a5f3e27aa6bcd886810bcdd7e0160e2"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-eac34e5daaf2ee2e27fe39448b62d8cdff4e800e.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-eac34e5daaf2ee2e27fe39448b62d8cdff4e800e-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_eac3_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-eac34e5daaf2ee2e27fe39448b62d8cdff4e800e"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-eac34e5daaf2ee2e27fe39448b62d8cdff4e800e.tar.gz
linux_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: e244c2d20b9417e0abadb35e73997f117916e00c
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-e244c2d20b9417e0abadb35e73997f117916e00c-{{checksum ".buildcache/cache-keys/package-e244c2d20b9417e0abadb35e73997f117916e00c"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_9f9c_{{checksum ".buildcache/cache-keys/copy-source-9f9caeebd82a6346d02c04066e8739ec3701ff9f"}}
- cache006-warm-go-build-vendor-cache_e3b9_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-e3b9c5412c92965e6f51f2a069a104754bb8247c"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-e244c2d20b9417e0abadb35e73997f117916e00c-{{checksum ".buildcache/cache-keys/package-e244c2d20b9417e0abadb35e73997f117916e00c"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-e3b9c5412c92965e6f51f2a069a104754bb8247c.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-e3b9c5412c92965e6f51f2a069a104754bb8247c-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_e3b9_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-e3b9c5412c92965e6f51f2a069a104754bb8247c"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-e3b9c5412c92965e6f51f2a069a104754bb8247c.tar.gz
linux_arm_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: f6da1ed126cbd8ed4119da63c1fab12b6e758cf8
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-f6da1ed126cbd8ed4119da63c1fab12b6e758cf8-{{checksum ".buildcache/cache-keys/package-f6da1ed126cbd8ed4119da63c1fab12b6e758cf8"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_4302_{{checksum ".buildcache/cache-keys/copy-source-43020c5d846d94f2fc5526c8a2dda0c3909bcc25"}}
- cache006-warm-go-build-vendor-cache_e13f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-e13f21965c46bfa4c74795563a55268fe8a732c8"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-f6da1ed126cbd8ed4119da63c1fab12b6e758cf8-{{checksum ".buildcache/cache-keys/package-f6da1ed126cbd8ed4119da63c1fab12b6e758cf8"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-e13f21965c46bfa4c74795563a55268fe8a732c8.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-e13f21965c46bfa4c74795563a55268fe8a732c8-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_e13f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-e13f21965c46bfa4c74795563a55268fe8a732c8"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-e13f21965c46bfa4c74795563a55268fe8a732c8.tar.gz
linux_arm64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 5d98fd6000f50430ded790d9356a8253395305ec
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-5d98fd6000f50430ded790d9356a8253395305ec-{{checksum ".buildcache/cache-keys/package-5d98fd6000f50430ded790d9356a8253395305ec"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_91e8_{{checksum ".buildcache/cache-keys/copy-source-91e8bb278d25180dcb516f63189718f0280f5625"}}
- cache006-warm-go-build-vendor-cache_bd9c_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-bd9cb1ba0e74a62a1d117e827fa88e80f256a746"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-5d98fd6000f50430ded790d9356a8253395305ec-{{checksum ".buildcache/cache-keys/package-5d98fd6000f50430ded790d9356a8253395305ec"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-bd9cb1ba0e74a62a1d117e827fa88e80f256a746.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-bd9cb1ba0e74a62a1d117e827fa88e80f256a746-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_bd9c_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-bd9cb1ba0e74a62a1d117e827fa88e80f256a746"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-bd9cb1ba0e74a62a1d117e827fa88e80f256a746.tar.gz
netbsd_386_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: bf75cfc6c5d05271cff63ed817f7e09f9540eef3
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-bf75cfc6c5d05271cff63ed817f7e09f9540eef3-{{checksum ".buildcache/cache-keys/package-bf75cfc6c5d05271cff63ed817f7e09f9540eef3"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_c016_{{checksum ".buildcache/cache-keys/copy-source-c01601ec6ea0f60a2403cb5a29d70b0c08241428"}}
- cache006-warm-go-build-vendor-cache_66e5_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-66e5f57dc50bf5c80b57f8aa5c77147b1a188f8c"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-bf75cfc6c5d05271cff63ed817f7e09f9540eef3-{{checksum ".buildcache/cache-keys/package-bf75cfc6c5d05271cff63ed817f7e09f9540eef3"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-66e5f57dc50bf5c80b57f8aa5c77147b1a188f8c.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-66e5f57dc50bf5c80b57f8aa5c77147b1a188f8c-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_66e5_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-66e5f57dc50bf5c80b57f8aa5c77147b1a188f8c"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-66e5f57dc50bf5c80b57f8aa5c77147b1a188f8c.tar.gz
netbsd_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 9c418ea86d484862e6a7dfd55fecab8b86bbb708
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-9c418ea86d484862e6a7dfd55fecab8b86bbb708-{{checksum ".buildcache/cache-keys/package-9c418ea86d484862e6a7dfd55fecab8b86bbb708"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_f351_{{checksum ".buildcache/cache-keys/copy-source-f35125307b0be0b9878bbe88776ef811deab97e5"}}
- cache006-warm-go-build-vendor-cache_2daf_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-2daf717df8a6c95f32d3420ccd3be4752ad38011"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-9c418ea86d484862e6a7dfd55fecab8b86bbb708-{{checksum ".buildcache/cache-keys/package-9c418ea86d484862e6a7dfd55fecab8b86bbb708"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-2daf717df8a6c95f32d3420ccd3be4752ad38011.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-2daf717df8a6c95f32d3420ccd3be4752ad38011-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_2daf_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-2daf717df8a6c95f32d3420ccd3be4752ad38011"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-2daf717df8a6c95f32d3420ccd3be4752ad38011.tar.gz
openbsd_386_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef-{{checksum ".buildcache/cache-keys/package-8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_464e_{{checksum ".buildcache/cache-keys/copy-source-464e219313ce099f513f930c71907cf6703efae6"}}
- cache006-warm-go-build-vendor-cache_c945_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-c945f0cf094b431ff2e9ad299e0ea277f805a848"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef-{{checksum ".buildcache/cache-keys/package-8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-c945f0cf094b431ff2e9ad299e0ea277f805a848.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-c945f0cf094b431ff2e9ad299e0ea277f805a848-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_c945_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-c945f0cf094b431ff2e9ad299e0ea277f805a848"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-c945f0cf094b431ff2e9ad299e0ea277f805a848.tar.gz
openbsd_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: ae352f28d92b71e59f987251061b200622136b91
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-ae352f28d92b71e59f987251061b200622136b91-{{checksum ".buildcache/cache-keys/package-ae352f28d92b71e59f987251061b200622136b91"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_c18c_{{checksum ".buildcache/cache-keys/copy-source-c18cc2367cdc431088468688b8baf5d7cc8a5c9b"}}
- cache006-warm-go-build-vendor-cache_12bf_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-12bf088afd7426b615e6193316c7efeda43120b4"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-ae352f28d92b71e59f987251061b200622136b91-{{checksum ".buildcache/cache-keys/package-ae352f28d92b71e59f987251061b200622136b91"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-12bf088afd7426b615e6193316c7efeda43120b4.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-12bf088afd7426b615e6193316c7efeda43120b4-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_12bf_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-12bf088afd7426b615e6193316c7efeda43120b4"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-12bf088afd7426b615e6193316c7efeda43120b4.tar.gz
solaris_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 573d1e91d855d987e7c7f1179074a88ec04b69e0
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-573d1e91d855d987e7c7f1179074a88ec04b69e0-{{checksum ".buildcache/cache-keys/package-573d1e91d855d987e7c7f1179074a88ec04b69e0"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_4528_{{checksum ".buildcache/cache-keys/copy-source-4528b4536c148202824ecd0e713084a662aa86d9"}}
- cache006-warm-go-build-vendor-cache_f424_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-f42498429cc80394af1aea1ae8261b59f98d4bfd"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-573d1e91d855d987e7c7f1179074a88ec04b69e0-{{checksum ".buildcache/cache-keys/package-573d1e91d855d987e7c7f1179074a88ec04b69e0"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-f42498429cc80394af1aea1ae8261b59f98d4bfd.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-f42498429cc80394af1aea1ae8261b59f98d4bfd-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_f424_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-f42498429cc80394af1aea1ae8261b59f98d4bfd"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-f42498429cc80394af1aea1ae8261b59f98d4bfd.tar.gz
windows_386_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 355fcfc2936dcac87610bc5060591586299471d8
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-355fcfc2936dcac87610bc5060591586299471d8-{{checksum ".buildcache/cache-keys/package-355fcfc2936dcac87610bc5060591586299471d8"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_59bd_{{checksum ".buildcache/cache-keys/copy-source-59bd4f6e79bfea922ea2e2b209e7dc151e8fd719"}}
- cache006-warm-go-build-vendor-cache_947f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-947f07f88a16ac9f143b6db2b240187e51034442"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-355fcfc2936dcac87610bc5060591586299471d8-{{checksum ".buildcache/cache-keys/package-355fcfc2936dcac87610bc5060591586299471d8"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-947f07f88a16ac9f143b6db2b240187e51034442.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-947f07f88a16ac9f143b6db2b240187e51034442-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_947f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-947f07f88a16ac9f143b6db2b240187e51034442"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-947f07f88a16ac9f143b6db2b240187e51034442.tar.gz
windows_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 91b9f04147548016ff75ff09603178cf650ff352
steps:
- setup_remote_docker:
version: 19.03.12
- add_ssh_keys:
fingerprints:
# hashicorp-ci github user.
- "c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98"
- checkout
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
name: Restore package cache
key: 'cache006-package-91b9f04147548016ff75ff09603178cf650ff352-{{checksum ".buildcache/cache-keys/package-91b9f04147548016ff75ff09603178cf650ff352"}}'
- run:
name: Check the cache status.
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
# We need to rebuild, so load the builder cache.
- write-build-layer-cache-keys
- restore_cache:
name: Restore build layer cache
keys:
- cache006-copy-source_68b9_{{checksum ".buildcache/cache-keys/copy-source-68b94ea302e6776db837cd8ed34c15b8cdcc0aab"}}
- cache006-warm-go-build-vendor-cache_796e_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-796e8ac227854e08a3a3394f23dee54006eb40eb"}}
- cache006-build-static-assets_5d03_{{checksum ".buildcache/cache-keys/build-static-assets-5d03b27bdb30353a4b10b43aaeed34d1843ea016"}}
- cache006-build-ui_8c08_{{checksum ".buildcache/cache-keys/build-ui-8c0888ac60d74cc3c80ff1e66f92529854029bb8"}}
- cache006-ui-dependencies_a323_{{checksum ".buildcache/cache-keys/ui-dependencies-a323ed865ff8f01132ebbcfdb26cd46637ee0537"}}
- cache006-install-yarn_f6bc_{{checksum ".buildcache/cache-keys/install-yarn-f6bc3cf1c8120fc6fbc6a7815f1414ea4a92b347"}}
- cache006-set-workdir_6821_{{checksum ".buildcache/cache-keys/set-workdir-68217e0df446776a522c173819319331eab24bfd"}}
- cache006-install-go-tools_4930_{{checksum ".buildcache/cache-keys/install-go-tools-493003a45b9bf13a3740054d1ed1e50aa66e0981"}}
- cache006-install-go_04fa_{{checksum ".buildcache/cache-keys/install-go-04fac374a5ab393a607df72e77bce85e18dd3856"}}
- cache006-base_cd50_{{checksum ".buildcache/cache-keys/base-cd50335c2217aa98d45d50d7ef941dfd1289b070"}}
- run:
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
command: |
make -C packages*.lock load-builder-cache
- run:
name: Compile Package
command: |
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
- run:
name: List packages
command: ls -lahR .buildcache/packages
- save_cache:
name: Saving package cache
key: 'cache006-package-91b9f04147548016ff75ff09603178cf650ff352-{{checksum ".buildcache/cache-keys/package-91b9f04147548016ff75ff09603178cf650ff352"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
# The range should only iterate over a single layer.
- run:
name: Check builder cache status
command: |
if [ -f .buildcache/archives/08-warm-go-build-vendor-cache-796e8ac227854e08a3a3394f23dee54006eb40eb.tar.gz ]; then
echo "Builder image already cached, skipping cache step."
circleci-agent step halt
fi
- run:
name: Prepare build layers for caching
command: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-796e8ac227854e08a3a3394f23dee54006eb40eb-save
- save_cache:
name: Save build layer cache
key: 'cache006-warm-go-build-vendor-cache_796e_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-796e8ac227854e08a3a3394f23dee54006eb40eb"}}'
paths:
- .buildcache/archives/08-warm-go-build-vendor-cache-796e8ac227854e08a3a3394f23dee54006eb40eb.tar.gz
bundle-releases:
executor: builder
steps:
- checkout
- write-all-package-cache-keys
- load-darwin_386_package
- run:
environment:
PACKAGE_SPEC_ID: 4100a546c7a2deb7ac3bea5970bedfed2eebe64c
name: Write package metadata for darwin_386_package
command: |
make package-meta
- load-darwin_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: f0a38bf7dac73fa7d95360f7864e1488de1af94b
name: Write package metadata for darwin_amd64_package
command: |
make package-meta
- load-freebsd_386_package
- run:
environment:
PACKAGE_SPEC_ID: beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60
name: Write package metadata for freebsd_386_package
command: |
make package-meta
- load-freebsd_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: d5a2eed6cd62f28a96e9966923d4a3319c143b09
name: Write package metadata for freebsd_amd64_package
command: |
make package-meta
- load-freebsd_arm_package
- run:
environment:
PACKAGE_SPEC_ID: 05e17ce0ee458742bbcad189c58cd709ead699e3
name: Write package metadata for freebsd_arm_package
command: |
make package-meta
- load-linux_386_package
- run:
environment:
PACKAGE_SPEC_ID: 281190f33a5f3e27aa6bcd886810bcdd7e0160e2
name: Write package metadata for linux_386_package
command: |
make package-meta
- load-linux_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: e244c2d20b9417e0abadb35e73997f117916e00c
name: Write package metadata for linux_amd64_package
command: |
make package-meta
- load-linux_arm_package
- run:
environment:
PACKAGE_SPEC_ID: f6da1ed126cbd8ed4119da63c1fab12b6e758cf8
name: Write package metadata for linux_arm_package
command: |
make package-meta
- load-linux_arm64_package
- run:
environment:
PACKAGE_SPEC_ID: 5d98fd6000f50430ded790d9356a8253395305ec
name: Write package metadata for linux_arm64_package
command: |
make package-meta
- load-netbsd_386_package
- run:
environment:
PACKAGE_SPEC_ID: bf75cfc6c5d05271cff63ed817f7e09f9540eef3
name: Write package metadata for netbsd_386_package
command: |
make package-meta
- load-netbsd_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: 9c418ea86d484862e6a7dfd55fecab8b86bbb708
name: Write package metadata for netbsd_amd64_package
command: |
make package-meta
- load-openbsd_386_package
- run:
environment:
PACKAGE_SPEC_ID: 8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef
name: Write package metadata for openbsd_386_package
command: |
make package-meta
- load-openbsd_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: ae352f28d92b71e59f987251061b200622136b91
name: Write package metadata for openbsd_amd64_package
command: |
make package-meta
- load-solaris_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: 573d1e91d855d987e7c7f1179074a88ec04b69e0
name: Write package metadata for solaris_amd64_package
command: |
make package-meta
- load-windows_386_package
- run:
environment:
PACKAGE_SPEC_ID: 355fcfc2936dcac87610bc5060591586299471d8
name: Write package metadata for windows_386_package
command: |
make package-meta
- load-windows_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: 91b9f04147548016ff75ff09603178cf650ff352
name: Write package metadata for windows_amd64_package
command: |
make package-meta
- run:
name: Write package aliases
command:
make aliases
- run:
name: List Build Cache
command: ls -lahR .buildcache
# Give the lockfile a name store_artifacts can work with.
- run: cp packages*.lock/pkgs.yml lockfile-standalone.yml
# Surface the lock file as an artifact.
- store_artifacts:
path: lockfile-standalone.yml
destination: lockfile-standalone.yml
# Surface the package store directory as an artifact.
# This makes each zipped package separately downloadable.
- store_artifacts:
path: .buildcache/packages
destination: packages-standalone
# Surface a tarball of the whole package store plus lockfile as an artifact.
- run: tar -czf packages-standalone.tar.gz .buildcache/packages lockfile-standalone.yml
- store_artifacts:
path: packages-standalone.tar.gz
destination: packages-standalone.tar.gz
# Surface a tarball of just the metadata files.
- run: tar -czf meta-standalone.tar.gz .buildcache/packages/store/*.json lockfile-standalone.yml
- store_artifacts:
path: meta-standalone.tar.gz
destination: meta-standalone.tar.gz
commands:
load-darwin_386_package:
steps:
- restore_cache:
key: 'cache006-package-4100a546c7a2deb7ac3bea5970bedfed2eebe64c-{{checksum ".buildcache/cache-keys/package-4100a546c7a2deb7ac3bea5970bedfed2eebe64c"}}'
load-darwin_amd64_package:
steps:
- restore_cache:
key: 'cache006-package-f0a38bf7dac73fa7d95360f7864e1488de1af94b-{{checksum ".buildcache/cache-keys/package-f0a38bf7dac73fa7d95360f7864e1488de1af94b"}}'
load-freebsd_386_package:
steps:
- restore_cache:
key: 'cache006-package-beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60-{{checksum ".buildcache/cache-keys/package-beaf7ce640bd8bbb15ddfdb3c7b199032dbd0b60"}}'
load-freebsd_amd64_package:
steps:
- restore_cache:
key: 'cache006-package-d5a2eed6cd62f28a96e9966923d4a3319c143b09-{{checksum ".buildcache/cache-keys/package-d5a2eed6cd62f28a96e9966923d4a3319c143b09"}}'
load-freebsd_arm_package:
steps:
- restore_cache:
key: 'cache006-package-05e17ce0ee458742bbcad189c58cd709ead699e3-{{checksum ".buildcache/cache-keys/package-05e17ce0ee458742bbcad189c58cd709ead699e3"}}'
load-linux_386_package:
steps:
- restore_cache:
key: 'cache006-package-281190f33a5f3e27aa6bcd886810bcdd7e0160e2-{{checksum ".buildcache/cache-keys/package-281190f33a5f3e27aa6bcd886810bcdd7e0160e2"}}'
load-linux_amd64_package:
steps:
- restore_cache:
key: 'cache006-package-e244c2d20b9417e0abadb35e73997f117916e00c-{{checksum ".buildcache/cache-keys/package-e244c2d20b9417e0abadb35e73997f117916e00c"}}'
load-linux_arm_package:
steps:
- restore_cache:
key: 'cache006-package-f6da1ed126cbd8ed4119da63c1fab12b6e758cf8-{{checksum ".buildcache/cache-keys/package-f6da1ed126cbd8ed4119da63c1fab12b6e758cf8"}}'
load-linux_arm64_package:
steps:
- restore_cache:
key: 'cache006-package-5d98fd6000f50430ded790d9356a8253395305ec-{{checksum ".buildcache/cache-keys/package-5d98fd6000f50430ded790d9356a8253395305ec"}}'
load-netbsd_386_package:
steps:
- restore_cache:
key: 'cache006-package-bf75cfc6c5d05271cff63ed817f7e09f9540eef3-{{checksum ".buildcache/cache-keys/package-bf75cfc6c5d05271cff63ed817f7e09f9540eef3"}}'
load-netbsd_amd64_package:
steps:
- restore_cache:
key: 'cache006-package-9c418ea86d484862e6a7dfd55fecab8b86bbb708-{{checksum ".buildcache/cache-keys/package-9c418ea86d484862e6a7dfd55fecab8b86bbb708"}}'
load-openbsd_386_package:
steps:
- restore_cache:
key: 'cache006-package-8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef-{{checksum ".buildcache/cache-keys/package-8de43fa1e99a3de7d649ba2949bbf83a7f0b55ef"}}'
load-openbsd_amd64_package:
steps:
- restore_cache:
key: 'cache006-package-ae352f28d92b71e59f987251061b200622136b91-{{checksum ".buildcache/cache-keys/package-ae352f28d92b71e59f987251061b200622136b91"}}'
load-solaris_amd64_package:
steps:
- restore_cache:
key: 'cache006-package-573d1e91d855d987e7c7f1179074a88ec04b69e0-{{checksum ".buildcache/cache-keys/package-573d1e91d855d987e7c7f1179074a88ec04b69e0"}}'
load-windows_386_package:
steps:
- restore_cache:
key: 'cache006-package-355fcfc2936dcac87610bc5060591586299471d8-{{checksum ".buildcache/cache-keys/package-355fcfc2936dcac87610bc5060591586299471d8"}}'
load-windows_amd64_package:
steps:
- restore_cache:
key: 'cache006-package-91b9f04147548016ff75ff09603178cf650ff352-{{checksum ".buildcache/cache-keys/package-91b9f04147548016ff75ff09603178cf650ff352"}}'
write-build-layer-cache-keys:
steps:
- run:
name: Write builder layer cache keys
command: make -C packages*.lock write-builder-cache-keys
write-package-cache-key:
steps:
- run:
name: Write package cache key
command: make -C packages*.lock write-package-cache-key
write-all-package-cache-keys:
steps:
- run:
name: Write all package cache keys
command: make -C packages*.lock write-all-package-cache-keys