1330 lines
74 KiB
YAML
1330 lines
74 KiB
YAML
### ***
|
|
### WARNING: DO NOT manually EDIT or MERGE this file, it is generated by 'make .circleci/config/@build-release.yml'.
|
|
### INSTEAD: Edit or merge the source in packages-oss.lock/pkgs.yml .circleci/config/@build-release.yml.tpl then run 'make .circleci/config/@build-release.yml'.
|
|
### ***
|
|
# Current cache version: cache002
|
|
|
|
executors:
|
|
releaser:
|
|
docker:
|
|
- image: circleci/buildpack-deps
|
|
environment:
|
|
PRODUCT_REVISION: ""
|
|
AUTO_INSTALL_TOOLS: 'YES'
|
|
shell: /usr/bin/env bash -euo pipefail -c
|
|
|
|
workflows:
|
|
build-standalone:
|
|
jobs:
|
|
- cache-builder-images:
|
|
filters:
|
|
branches:
|
|
only:
|
|
- /build-.*/
|
|
- /ci.*/
|
|
- darwin_386_package: { requires: [ cache-builder-images ] }
|
|
- darwin_amd64_package: { requires: [ cache-builder-images ] }
|
|
- freebsd_386_package: { requires: [ cache-builder-images ] }
|
|
- freebsd_amd64_package: { requires: [ cache-builder-images ] }
|
|
- freebsd_arm_package: { requires: [ cache-builder-images ] }
|
|
- linux_386_package: { requires: [ cache-builder-images ] }
|
|
- linux_amd64_package: { requires: [ cache-builder-images ] }
|
|
- linux_arm_package: { requires: [ cache-builder-images ] }
|
|
- linux_arm64_package: { requires: [ cache-builder-images ] }
|
|
- netbsd_386_package: { requires: [ cache-builder-images ] }
|
|
- netbsd_amd64_package: { requires: [ cache-builder-images ] }
|
|
- openbsd_386_package: { requires: [ cache-builder-images ] }
|
|
- openbsd_amd64_package: { requires: [ cache-builder-images ] }
|
|
- solaris_amd64_package: { requires: [ cache-builder-images ] }
|
|
- windows_386_package: { requires: [ cache-builder-images ] }
|
|
- windows_amd64_package: { requires: [ cache-builder-images ] }
|
|
- 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:
|
|
cache-builder-images:
|
|
executor: releaser
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
- write-build-layer-cache-keys
|
|
|
|
# Load best available cached image.
|
|
- restore_cache:
|
|
keys:
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run:
|
|
name: Finish early if loaded exact match from cache.
|
|
command: |
|
|
if [ -f .buildcache/archives/07-build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e.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: LAYER_SPEC_ID=07-build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e make -C packages*.lock load-builder-cache
|
|
|
|
# No exact match was found, so build each layer up to target type.
|
|
- run: make -f packages*.lock/layer.mk 00-base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9-image
|
|
- run: make -f packages*.lock/layer.mk 01-install-go-df55de749899e75ed655c4eab8cb2c22f1028590-image
|
|
- run: make -f packages*.lock/layer.mk 02-install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e-image
|
|
- run: make -f packages*.lock/layer.mk 03-set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049-image
|
|
- run: make -f packages*.lock/layer.mk 04-install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319-image
|
|
- run: make -f packages*.lock/layer.mk 05-ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81-image
|
|
- run: make -f packages*.lock/layer.mk 06-build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b-image
|
|
- run: make -f packages*.lock/layer.mk 07-build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e-image
|
|
|
|
# Save the target layer archive.
|
|
|
|
- run: make -f packages*.lock/layer.mk 07-build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e-save
|
|
|
|
# Store the target layer archive as all the relevant cache names.
|
|
- save_cache:
|
|
key: cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
paths:
|
|
- .buildcache/archives/07-build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e.tar.gz
|
|
- run: mv .buildcache/archives/07-build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e.tar.gz .buildcache/archives/06-build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b.tar.gz
|
|
- save_cache:
|
|
key: cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
paths:
|
|
- .buildcache/archives/06-build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b.tar.gz
|
|
- run: mv .buildcache/archives/06-build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b.tar.gz .buildcache/archives/05-ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81.tar.gz
|
|
- save_cache:
|
|
key: cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
paths:
|
|
- .buildcache/archives/05-ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81.tar.gz
|
|
- run: mv .buildcache/archives/05-ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81.tar.gz .buildcache/archives/04-install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319.tar.gz
|
|
- save_cache:
|
|
key: cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
paths:
|
|
- .buildcache/archives/04-install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319.tar.gz
|
|
- run: mv .buildcache/archives/04-install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319.tar.gz .buildcache/archives/03-set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049.tar.gz
|
|
- save_cache:
|
|
key: cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
paths:
|
|
- .buildcache/archives/03-set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049.tar.gz
|
|
- run: mv .buildcache/archives/03-set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049.tar.gz .buildcache/archives/02-install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e.tar.gz
|
|
- save_cache:
|
|
key: cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
paths:
|
|
- .buildcache/archives/02-install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e.tar.gz
|
|
- run: mv .buildcache/archives/02-install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e.tar.gz .buildcache/archives/01-install-go-df55de749899e75ed655c4eab8cb2c22f1028590.tar.gz
|
|
- save_cache:
|
|
key: cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
paths:
|
|
- .buildcache/archives/01-install-go-df55de749899e75ed655c4eab8cb2c22f1028590.tar.gz
|
|
- run: mv .buildcache/archives/01-install-go-df55de749899e75ed655c4eab8cb2c22f1028590.tar.gz .buildcache/archives/00-base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9.tar.gz
|
|
- save_cache:
|
|
key: cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
paths:
|
|
- .buildcache/archives/00-base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9.tar.gz
|
|
darwin_386_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: fd72b6498aa074c3530ec935fd49bf56faaf61e0
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-fd72b6498aa074c3530ec935fd49bf56faaf61e0-{{checksum ".buildcache/cache-keys/package-fd72b6498aa074c3530ec935fd49bf56faaf61e0"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_bfc9_{{checksum ".buildcache/cache-keys/copy-source-bfc92f40ed9ac5e09826cc8473f9bf7b7403bd60"}}
|
|
- cache002-warm-go-build-vendor-cache_e917_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-e91703d9d7092bb5c13b3569d75ca4bb34511607"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-fd72b6498aa074c3530ec935fd49bf56faaf61e0-{{checksum ".buildcache/cache-keys/package-fd72b6498aa074c3530ec935fd49bf56faaf61e0"}}'
|
|
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-e91703d9d7092bb5c13b3569d75ca4bb34511607.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-e91703d9d7092bb5c13b3569d75ca4bb34511607-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_e917_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-e91703d9d7092bb5c13b3569d75ca4bb34511607"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-e91703d9d7092bb5c13b3569d75ca4bb34511607.tar.gz
|
|
|
|
darwin_amd64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 6b9e722b2a190113b1ea80cd4805166706ce8002
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-6b9e722b2a190113b1ea80cd4805166706ce8002-{{checksum ".buildcache/cache-keys/package-6b9e722b2a190113b1ea80cd4805166706ce8002"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_f4f9_{{checksum ".buildcache/cache-keys/copy-source-f4f9d205876325505a719298391e7c233b5a1ac7"}}
|
|
- cache002-warm-go-build-vendor-cache_1c18_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-1c18a76adf11382eaf4b84b8403c66cf104174d7"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-6b9e722b2a190113b1ea80cd4805166706ce8002-{{checksum ".buildcache/cache-keys/package-6b9e722b2a190113b1ea80cd4805166706ce8002"}}'
|
|
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-1c18a76adf11382eaf4b84b8403c66cf104174d7.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-1c18a76adf11382eaf4b84b8403c66cf104174d7-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_1c18_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-1c18a76adf11382eaf4b84b8403c66cf104174d7"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-1c18a76adf11382eaf4b84b8403c66cf104174d7.tar.gz
|
|
|
|
freebsd_386_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 24db9b22a5fc7ddf23107592d03d1add7aec7455
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-24db9b22a5fc7ddf23107592d03d1add7aec7455-{{checksum ".buildcache/cache-keys/package-24db9b22a5fc7ddf23107592d03d1add7aec7455"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_9320_{{checksum ".buildcache/cache-keys/copy-source-93206299230604edb276a2550a83dec3324eb86f"}}
|
|
- cache002-warm-go-build-vendor-cache_0245_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-0245576886d78da53ffbd161a95bd0ca099e5fc1"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-24db9b22a5fc7ddf23107592d03d1add7aec7455-{{checksum ".buildcache/cache-keys/package-24db9b22a5fc7ddf23107592d03d1add7aec7455"}}'
|
|
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-0245576886d78da53ffbd161a95bd0ca099e5fc1.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-0245576886d78da53ffbd161a95bd0ca099e5fc1-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_0245_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-0245576886d78da53ffbd161a95bd0ca099e5fc1"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-0245576886d78da53ffbd161a95bd0ca099e5fc1.tar.gz
|
|
|
|
freebsd_amd64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 474301be0c13821c1c1256ffa59e2b8f25edf94b
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-474301be0c13821c1c1256ffa59e2b8f25edf94b-{{checksum ".buildcache/cache-keys/package-474301be0c13821c1c1256ffa59e2b8f25edf94b"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_ac4d_{{checksum ".buildcache/cache-keys/copy-source-ac4d6f4024842c4a8e5893d22c0dfff9153ff69f"}}
|
|
- cache002-warm-go-build-vendor-cache_596d_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-596df758f200592b1270d44ea6a1b934949913f4"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-474301be0c13821c1c1256ffa59e2b8f25edf94b-{{checksum ".buildcache/cache-keys/package-474301be0c13821c1c1256ffa59e2b8f25edf94b"}}'
|
|
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-596df758f200592b1270d44ea6a1b934949913f4.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-596df758f200592b1270d44ea6a1b934949913f4-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_596d_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-596df758f200592b1270d44ea6a1b934949913f4"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-596df758f200592b1270d44ea6a1b934949913f4.tar.gz
|
|
|
|
freebsd_arm_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 12242ab3b408df09197ce86344de135b24c8116f
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-12242ab3b408df09197ce86344de135b24c8116f-{{checksum ".buildcache/cache-keys/package-12242ab3b408df09197ce86344de135b24c8116f"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_28b4_{{checksum ".buildcache/cache-keys/copy-source-28b442b0f8382760addf43d2e9d4457f81e18592"}}
|
|
- cache002-warm-go-build-vendor-cache_0ae7_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-0ae71d132fc340d89dec170f4164e4eed2cab17e"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-12242ab3b408df09197ce86344de135b24c8116f-{{checksum ".buildcache/cache-keys/package-12242ab3b408df09197ce86344de135b24c8116f"}}'
|
|
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-0ae71d132fc340d89dec170f4164e4eed2cab17e.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-0ae71d132fc340d89dec170f4164e4eed2cab17e-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_0ae7_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-0ae71d132fc340d89dec170f4164e4eed2cab17e"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-0ae71d132fc340d89dec170f4164e4eed2cab17e.tar.gz
|
|
|
|
linux_386_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 43e48152f6f0d856a76146a8f144fbff8a0e6ca3
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-43e48152f6f0d856a76146a8f144fbff8a0e6ca3-{{checksum ".buildcache/cache-keys/package-43e48152f6f0d856a76146a8f144fbff8a0e6ca3"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_a750_{{checksum ".buildcache/cache-keys/copy-source-a750ca270a9586283d232f59f62b97733da7d3fb"}}
|
|
- cache002-warm-go-build-vendor-cache_6876_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-6876aa566f90846d4627c4a1c86ca155ccde2f1c"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-43e48152f6f0d856a76146a8f144fbff8a0e6ca3-{{checksum ".buildcache/cache-keys/package-43e48152f6f0d856a76146a8f144fbff8a0e6ca3"}}'
|
|
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-6876aa566f90846d4627c4a1c86ca155ccde2f1c.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-6876aa566f90846d4627c4a1c86ca155ccde2f1c-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_6876_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-6876aa566f90846d4627c4a1c86ca155ccde2f1c"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-6876aa566f90846d4627c4a1c86ca155ccde2f1c.tar.gz
|
|
|
|
linux_amd64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18-{{checksum ".buildcache/cache-keys/package-aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_679a_{{checksum ".buildcache/cache-keys/copy-source-679a76162b839df3b7ee21a5bac42c44533454c8"}}
|
|
- cache002-warm-go-build-vendor-cache_6f6a_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-6f6af7dce883f6e1b09b7c622ff1b527ea5f77f1"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18-{{checksum ".buildcache/cache-keys/package-aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18"}}'
|
|
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-6f6af7dce883f6e1b09b7c622ff1b527ea5f77f1.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-6f6af7dce883f6e1b09b7c622ff1b527ea5f77f1-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_6f6a_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-6f6af7dce883f6e1b09b7c622ff1b527ea5f77f1"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-6f6af7dce883f6e1b09b7c622ff1b527ea5f77f1.tar.gz
|
|
|
|
linux_arm_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 5fc70fb35be49468c3d2732757afc20caca5dcce
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-5fc70fb35be49468c3d2732757afc20caca5dcce-{{checksum ".buildcache/cache-keys/package-5fc70fb35be49468c3d2732757afc20caca5dcce"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_8490_{{checksum ".buildcache/cache-keys/copy-source-8490d401277a4001bbc44b278a91858049d76683"}}
|
|
- cache002-warm-go-build-vendor-cache_024e_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-024e5c62d2ad59cb7a139748ec3571828bc950a8"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-5fc70fb35be49468c3d2732757afc20caca5dcce-{{checksum ".buildcache/cache-keys/package-5fc70fb35be49468c3d2732757afc20caca5dcce"}}'
|
|
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-024e5c62d2ad59cb7a139748ec3571828bc950a8.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-024e5c62d2ad59cb7a139748ec3571828bc950a8-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_024e_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-024e5c62d2ad59cb7a139748ec3571828bc950a8"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-024e5c62d2ad59cb7a139748ec3571828bc950a8.tar.gz
|
|
|
|
linux_arm64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 6737c4f8e4c614fbc99462afb2f4ff38b4988a43
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-6737c4f8e4c614fbc99462afb2f4ff38b4988a43-{{checksum ".buildcache/cache-keys/package-6737c4f8e4c614fbc99462afb2f4ff38b4988a43"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_f976_{{checksum ".buildcache/cache-keys/copy-source-f976e4b1eb1e3dee4cbd089a1b97edc2f63f5d84"}}
|
|
- cache002-warm-go-build-vendor-cache_2863_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-28637de51e735a2eca5909e5685278b304ac5b15"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-6737c4f8e4c614fbc99462afb2f4ff38b4988a43-{{checksum ".buildcache/cache-keys/package-6737c4f8e4c614fbc99462afb2f4ff38b4988a43"}}'
|
|
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-28637de51e735a2eca5909e5685278b304ac5b15.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-28637de51e735a2eca5909e5685278b304ac5b15-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_2863_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-28637de51e735a2eca5909e5685278b304ac5b15"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-28637de51e735a2eca5909e5685278b304ac5b15.tar.gz
|
|
|
|
netbsd_386_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 50e6ecdc0a51b79de40d33564793e34eb70fed18
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-50e6ecdc0a51b79de40d33564793e34eb70fed18-{{checksum ".buildcache/cache-keys/package-50e6ecdc0a51b79de40d33564793e34eb70fed18"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_390a_{{checksum ".buildcache/cache-keys/copy-source-390a90074e7186bf31ffb8081efb4bdd47a1d052"}}
|
|
- cache002-warm-go-build-vendor-cache_4e5f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-4e5f0a9a53d17957205ff9c63cd50d3161af517a"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-50e6ecdc0a51b79de40d33564793e34eb70fed18-{{checksum ".buildcache/cache-keys/package-50e6ecdc0a51b79de40d33564793e34eb70fed18"}}'
|
|
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-4e5f0a9a53d17957205ff9c63cd50d3161af517a.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-4e5f0a9a53d17957205ff9c63cd50d3161af517a-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_4e5f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-4e5f0a9a53d17957205ff9c63cd50d3161af517a"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-4e5f0a9a53d17957205ff9c63cd50d3161af517a.tar.gz
|
|
|
|
netbsd_amd64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: e6359b008fa7e9559baa0fec727398bf389be883
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-e6359b008fa7e9559baa0fec727398bf389be883-{{checksum ".buildcache/cache-keys/package-e6359b008fa7e9559baa0fec727398bf389be883"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_1819_{{checksum ".buildcache/cache-keys/copy-source-18193d6bd814c6d4efbbc07eacb02c69434894e1"}}
|
|
- cache002-warm-go-build-vendor-cache_92c6_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-92c62793dfcc5b64255bfe2356532882a7d7b3aa"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-e6359b008fa7e9559baa0fec727398bf389be883-{{checksum ".buildcache/cache-keys/package-e6359b008fa7e9559baa0fec727398bf389be883"}}'
|
|
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-92c62793dfcc5b64255bfe2356532882a7d7b3aa.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-92c62793dfcc5b64255bfe2356532882a7d7b3aa-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_92c6_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-92c62793dfcc5b64255bfe2356532882a7d7b3aa"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-92c62793dfcc5b64255bfe2356532882a7d7b3aa.tar.gz
|
|
|
|
openbsd_386_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 7bc363eeb0b8b4cec485f790d6b444f14fdf41a6
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-7bc363eeb0b8b4cec485f790d6b444f14fdf41a6-{{checksum ".buildcache/cache-keys/package-7bc363eeb0b8b4cec485f790d6b444f14fdf41a6"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_9e44_{{checksum ".buildcache/cache-keys/copy-source-9e44025163546ef6ed36d41a77b027c8d02ae044"}}
|
|
- cache002-warm-go-build-vendor-cache_b4bd_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b4bd76934c25a387356bd1fb0e28c95124eef902"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-7bc363eeb0b8b4cec485f790d6b444f14fdf41a6-{{checksum ".buildcache/cache-keys/package-7bc363eeb0b8b4cec485f790d6b444f14fdf41a6"}}'
|
|
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-b4bd76934c25a387356bd1fb0e28c95124eef902.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-b4bd76934c25a387356bd1fb0e28c95124eef902-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_b4bd_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b4bd76934c25a387356bd1fb0e28c95124eef902"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-b4bd76934c25a387356bd1fb0e28c95124eef902.tar.gz
|
|
|
|
openbsd_amd64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: d89bf2091b71bb2274b7ea2c17f792d68331c22b
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-d89bf2091b71bb2274b7ea2c17f792d68331c22b-{{checksum ".buildcache/cache-keys/package-d89bf2091b71bb2274b7ea2c17f792d68331c22b"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_349c_{{checksum ".buildcache/cache-keys/copy-source-349c919c8e22d66bcd624b975da386c3fc5ab716"}}
|
|
- cache002-warm-go-build-vendor-cache_7d95_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-7d95ca17ed2ed063335c6fdfe31177f9d88dc293"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-d89bf2091b71bb2274b7ea2c17f792d68331c22b-{{checksum ".buildcache/cache-keys/package-d89bf2091b71bb2274b7ea2c17f792d68331c22b"}}'
|
|
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-7d95ca17ed2ed063335c6fdfe31177f9d88dc293.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-7d95ca17ed2ed063335c6fdfe31177f9d88dc293-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_7d95_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-7d95ca17ed2ed063335c6fdfe31177f9d88dc293"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-7d95ca17ed2ed063335c6fdfe31177f9d88dc293.tar.gz
|
|
|
|
solaris_amd64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: ad2fd7667226f4d7ea26287f9c393eef080fe615
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-ad2fd7667226f4d7ea26287f9c393eef080fe615-{{checksum ".buildcache/cache-keys/package-ad2fd7667226f4d7ea26287f9c393eef080fe615"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_60a5_{{checksum ".buildcache/cache-keys/copy-source-60a56a8f1d39f238d784cb1129f22ccaafe580de"}}
|
|
- cache002-warm-go-build-vendor-cache_a088_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-a0884ebd3bcd667787991bce276f3a9be2061998"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-ad2fd7667226f4d7ea26287f9c393eef080fe615-{{checksum ".buildcache/cache-keys/package-ad2fd7667226f4d7ea26287f9c393eef080fe615"}}'
|
|
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-a0884ebd3bcd667787991bce276f3a9be2061998.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-a0884ebd3bcd667787991bce276f3a9be2061998-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_a088_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-a0884ebd3bcd667787991bce276f3a9be2061998"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-a0884ebd3bcd667787991bce276f3a9be2061998.tar.gz
|
|
|
|
windows_386_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: 86c227afda2969746c8019babceb2f2ac26de190
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-86c227afda2969746c8019babceb2f2ac26de190-{{checksum ".buildcache/cache-keys/package-86c227afda2969746c8019babceb2f2ac26de190"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_3f89_{{checksum ".buildcache/cache-keys/copy-source-3f890eaccfc0039dc98cdcaa578bb355cfa43a57"}}
|
|
- cache002-warm-go-build-vendor-cache_8a05_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-8a055286bfdd3c2b0f3ce25f54f88375384a2400"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-86c227afda2969746c8019babceb2f2ac26de190-{{checksum ".buildcache/cache-keys/package-86c227afda2969746c8019babceb2f2ac26de190"}}'
|
|
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-8a055286bfdd3c2b0f3ce25f54f88375384a2400.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-8a055286bfdd3c2b0f3ce25f54f88375384a2400-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_8a05_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-8a055286bfdd3c2b0f3ce25f54f88375384a2400"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-8a055286bfdd3c2b0f3ce25f54f88375384a2400.tar.gz
|
|
|
|
windows_amd64_package:
|
|
executor: releaser
|
|
environment:
|
|
- PACKAGE_SPEC_ID: da55783c28f4762521338a2e906e1951625542b3
|
|
steps:
|
|
- setup_remote_docker
|
|
- checkout
|
|
|
|
# Restore the package cache first, we might not need to rebuild.
|
|
- write-package-cache-key
|
|
- restore_cache:
|
|
key: 'cache002-package-da55783c28f4762521338a2e906e1951625542b3-{{checksum ".buildcache/cache-keys/package-da55783c28f4762521338a2e906e1951625542b3"}}'
|
|
- 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:
|
|
keys:
|
|
- cache002-copy-source_226d_{{checksum ".buildcache/cache-keys/copy-source-226d84bde56c14526d6fce9bec6a47a9bef01ecb"}}
|
|
- cache002-warm-go-build-vendor-cache_487f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-487f59a5948b3519a6a17192f127e67b01b0fb6e"}}
|
|
- cache002-build-static-assets_33a6_{{checksum ".buildcache/cache-keys/build-static-assets-33a6e8f0029b730ae0a37427888d22c992a0824e"}}
|
|
- cache002-build-ui_5659_{{checksum ".buildcache/cache-keys/build-ui-5659d3f1f758c2f3a4c5fca4c1fcbaac3720693b"}}
|
|
- cache002-ui-dependencies_58f2_{{checksum ".buildcache/cache-keys/ui-dependencies-58f2ea77b8fe39e82bb587e5246d1b62f9a7cb81"}}
|
|
- cache002-install-yarn_aab7_{{checksum ".buildcache/cache-keys/install-yarn-aab71c56a60048647c1c6c4a7fd5649aee7f2319"}}
|
|
- cache002-set-workdir_8253_{{checksum ".buildcache/cache-keys/set-workdir-8253e91d0841cdc71fb0416f84f9eaa52bea9049"}}
|
|
- cache002-install-go-tools_b7a0_{{checksum ".buildcache/cache-keys/install-go-tools-b7a0056ff8c7f40e047993ec4b1c0a6eab3ab44e"}}
|
|
- cache002-install-go_df55_{{checksum ".buildcache/cache-keys/install-go-df55de749899e75ed655c4eab8cb2c22f1028590"}}
|
|
- cache002-base_a1d9_{{checksum ".buildcache/cache-keys/base-a1d961bcff31b1cdadaa9422452ba72d8b4a85a9"}}
|
|
- run: make -C packages*.lock load-builder-cache
|
|
- run: make -C packages*.lock package
|
|
- run: ls -lahR .buildcache/packages
|
|
# Save package cache.
|
|
- save_cache:
|
|
key: 'cache002-package-da55783c28f4762521338a2e906e1951625542b3-{{checksum ".buildcache/cache-keys/package-da55783c28f4762521338a2e906e1951625542b3"}}'
|
|
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-487f59a5948b3519a6a17192f127e67b01b0fb6e.tar.gz ]; then
|
|
echo "Builder image already cached, skipping cache step."
|
|
circleci-agent step halt
|
|
fi
|
|
- run: make -f packages*.lock/layer.mk 08-warm-go-build-vendor-cache-487f59a5948b3519a6a17192f127e67b01b0fb6e-save
|
|
- save_cache:
|
|
key: 'cache002-warm-go-build-vendor-cache_487f_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-487f59a5948b3519a6a17192f127e67b01b0fb6e"}}'
|
|
paths:
|
|
- .buildcache/archives/08-warm-go-build-vendor-cache-487f59a5948b3519a6a17192f127e67b01b0fb6e.tar.gz
|
|
|
|
|
|
bundle-releases:
|
|
executor: releaser
|
|
steps:
|
|
- checkout
|
|
- write-all-package-cache-keys
|
|
- load-darwin_386_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: fd72b6498aa074c3530ec935fd49bf56faaf61e0
|
|
name: Write package metadata for darwin_386_package
|
|
command: |
|
|
make package-meta
|
|
- load-darwin_amd64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 6b9e722b2a190113b1ea80cd4805166706ce8002
|
|
name: Write package metadata for darwin_amd64_package
|
|
command: |
|
|
make package-meta
|
|
- load-freebsd_386_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 24db9b22a5fc7ddf23107592d03d1add7aec7455
|
|
name: Write package metadata for freebsd_386_package
|
|
command: |
|
|
make package-meta
|
|
- load-freebsd_amd64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 474301be0c13821c1c1256ffa59e2b8f25edf94b
|
|
name: Write package metadata for freebsd_amd64_package
|
|
command: |
|
|
make package-meta
|
|
- load-freebsd_arm_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 12242ab3b408df09197ce86344de135b24c8116f
|
|
name: Write package metadata for freebsd_arm_package
|
|
command: |
|
|
make package-meta
|
|
- load-linux_386_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 43e48152f6f0d856a76146a8f144fbff8a0e6ca3
|
|
name: Write package metadata for linux_386_package
|
|
command: |
|
|
make package-meta
|
|
- load-linux_amd64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18
|
|
name: Write package metadata for linux_amd64_package
|
|
command: |
|
|
make package-meta
|
|
- load-linux_arm_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 5fc70fb35be49468c3d2732757afc20caca5dcce
|
|
name: Write package metadata for linux_arm_package
|
|
command: |
|
|
make package-meta
|
|
- load-linux_arm64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 6737c4f8e4c614fbc99462afb2f4ff38b4988a43
|
|
name: Write package metadata for linux_arm64_package
|
|
command: |
|
|
make package-meta
|
|
- load-netbsd_386_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 50e6ecdc0a51b79de40d33564793e34eb70fed18
|
|
name: Write package metadata for netbsd_386_package
|
|
command: |
|
|
make package-meta
|
|
- load-netbsd_amd64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: e6359b008fa7e9559baa0fec727398bf389be883
|
|
name: Write package metadata for netbsd_amd64_package
|
|
command: |
|
|
make package-meta
|
|
- load-openbsd_386_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 7bc363eeb0b8b4cec485f790d6b444f14fdf41a6
|
|
name: Write package metadata for openbsd_386_package
|
|
command: |
|
|
make package-meta
|
|
- load-openbsd_amd64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: d89bf2091b71bb2274b7ea2c17f792d68331c22b
|
|
name: Write package metadata for openbsd_amd64_package
|
|
command: |
|
|
make package-meta
|
|
- load-solaris_amd64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: ad2fd7667226f4d7ea26287f9c393eef080fe615
|
|
name: Write package metadata for solaris_amd64_package
|
|
command: |
|
|
make package-meta
|
|
- load-windows_386_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: 86c227afda2969746c8019babceb2f2ac26de190
|
|
name: Write package metadata for windows_386_package
|
|
command: |
|
|
make package-meta
|
|
- load-windows_amd64_package
|
|
- run:
|
|
environment:
|
|
PACKAGE_SPEC_ID: da55783c28f4762521338a2e906e1951625542b3
|
|
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
|
|
|
|
# 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 as an artifact.
|
|
- run: tar -czf packages-standalone.tar.gz .buildcache/packages
|
|
- 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
|
|
- store_artifacts:
|
|
path: meta-standalone.tar.gz
|
|
destination: meta-standalone.tar.gz
|
|
|
|
commands:
|
|
load-darwin_386_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-fd72b6498aa074c3530ec935fd49bf56faaf61e0-{{checksum ".buildcache/cache-keys/package-fd72b6498aa074c3530ec935fd49bf56faaf61e0"}}'
|
|
|
|
load-darwin_amd64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-6b9e722b2a190113b1ea80cd4805166706ce8002-{{checksum ".buildcache/cache-keys/package-6b9e722b2a190113b1ea80cd4805166706ce8002"}}'
|
|
|
|
load-freebsd_386_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-24db9b22a5fc7ddf23107592d03d1add7aec7455-{{checksum ".buildcache/cache-keys/package-24db9b22a5fc7ddf23107592d03d1add7aec7455"}}'
|
|
|
|
load-freebsd_amd64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-474301be0c13821c1c1256ffa59e2b8f25edf94b-{{checksum ".buildcache/cache-keys/package-474301be0c13821c1c1256ffa59e2b8f25edf94b"}}'
|
|
|
|
load-freebsd_arm_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-12242ab3b408df09197ce86344de135b24c8116f-{{checksum ".buildcache/cache-keys/package-12242ab3b408df09197ce86344de135b24c8116f"}}'
|
|
|
|
load-linux_386_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-43e48152f6f0d856a76146a8f144fbff8a0e6ca3-{{checksum ".buildcache/cache-keys/package-43e48152f6f0d856a76146a8f144fbff8a0e6ca3"}}'
|
|
|
|
load-linux_amd64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18-{{checksum ".buildcache/cache-keys/package-aa5dd448d415cc6e4fe8c8f0664e1c93c3fe0e18"}}'
|
|
|
|
load-linux_arm_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-5fc70fb35be49468c3d2732757afc20caca5dcce-{{checksum ".buildcache/cache-keys/package-5fc70fb35be49468c3d2732757afc20caca5dcce"}}'
|
|
|
|
load-linux_arm64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-6737c4f8e4c614fbc99462afb2f4ff38b4988a43-{{checksum ".buildcache/cache-keys/package-6737c4f8e4c614fbc99462afb2f4ff38b4988a43"}}'
|
|
|
|
load-netbsd_386_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-50e6ecdc0a51b79de40d33564793e34eb70fed18-{{checksum ".buildcache/cache-keys/package-50e6ecdc0a51b79de40d33564793e34eb70fed18"}}'
|
|
|
|
load-netbsd_amd64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-e6359b008fa7e9559baa0fec727398bf389be883-{{checksum ".buildcache/cache-keys/package-e6359b008fa7e9559baa0fec727398bf389be883"}}'
|
|
|
|
load-openbsd_386_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-7bc363eeb0b8b4cec485f790d6b444f14fdf41a6-{{checksum ".buildcache/cache-keys/package-7bc363eeb0b8b4cec485f790d6b444f14fdf41a6"}}'
|
|
|
|
load-openbsd_amd64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-d89bf2091b71bb2274b7ea2c17f792d68331c22b-{{checksum ".buildcache/cache-keys/package-d89bf2091b71bb2274b7ea2c17f792d68331c22b"}}'
|
|
|
|
load-solaris_amd64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-ad2fd7667226f4d7ea26287f9c393eef080fe615-{{checksum ".buildcache/cache-keys/package-ad2fd7667226f4d7ea26287f9c393eef080fe615"}}'
|
|
|
|
load-windows_386_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-86c227afda2969746c8019babceb2f2ac26de190-{{checksum ".buildcache/cache-keys/package-86c227afda2969746c8019babceb2f2ac26de190"}}'
|
|
|
|
load-windows_amd64_package:
|
|
steps:
|
|
- restore_cache:
|
|
key: 'cache002-package-da55783c28f4762521338a2e906e1951625542b3-{{checksum ".buildcache/cache-keys/package-da55783c28f4762521338a2e906e1951625542b3"}}'
|
|
|
|
|
|
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 package cache key
|
|
command: make -C packages*.lock write-all-package-cache-keys
|