Files
threshold/.circleci/config/@build-release.yml
T
2021-02-12 11:53:32 -05:00

1280 lines
55 KiB
YAML

version: "2.1"
executors:
builder:
docker:
- image: docker.mirror.hashicorp.services/circleci/buildpack-deps
shell: /usr/bin/env bash -euo pipefail -c
environment:
AUTO_INSTALL_TOOLS: "YES"
BUILDKIT_PROGRESS: plain
PRODUCT_REVISION: ""
builder-machine:
resource_class: xlarge
machine:
image: ubuntu-1604:202007-01
shell: /usr/bin/env bash -euo pipefail -c
environment:
AUTO_INSTALL_TOOLS: "YES"
BUILDKIT_PROGRESS: plain
PRODUCT_REVISION: ""
jobs:
build-common-layers:
executor: builder-machine
steps:
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Layer Cache: copy-source'
- run:
command: LAYER_SPEC_ID=03-copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
- run:
command: |2-
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-5d6560da565d7aaf001590c9ee19f099afda2fc9-image
name: Build base layer
- run:
command: |2-
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-ui-ee02eda076af5c8427789646d2c258cfa8a6e013-image
name: Build ui layer
- run:
command: |2-
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-go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad-image
name: Build go-modules layer
- run:
command: |2-
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-copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d-image
name: Build copy-source layer
- run:
command: |2-
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-copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d-save
name: Build copy-source layer
- save_cache:
paths:
- .buildcache/archives/03-copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d.tar.gz
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
name: 'Save Layer Cache: copy-source'
bundle-releases:
executor: builder
steps:
- checkout:
path: .
- run:
command: make -C packages*.lock write-all-package-cache-keys
name: Write all package cache keys
- run:
command: mkdir -p .buildcache && echo "*" > .buildcache/.gitignore
name: Ignore .buildcache
- restore_cache:
key: package-b13e14c5411bbcde09c0c45ff640430bcadf3555-{{checksum ".buildcache/cache-keys/package-b13e14c5411bbcde09c0c45ff640430bcadf3555"}}
name: Restore package cache
- restore_cache:
key: package-f47ffc099ea9a3aed49a7915e7a1581cf5069f3b-{{checksum ".buildcache/cache-keys/package-f47ffc099ea9a3aed49a7915e7a1581cf5069f3b"}}
name: Restore package cache
- restore_cache:
key: package-f37f78d4fb4e03ade534e032fee4106848f4c7b4-{{checksum ".buildcache/cache-keys/package-f37f78d4fb4e03ade534e032fee4106848f4c7b4"}}
name: Restore package cache
- restore_cache:
key: package-a2ce45b598cccf1de88ef56e6d4fc6be447a85e9-{{checksum ".buildcache/cache-keys/package-a2ce45b598cccf1de88ef56e6d4fc6be447a85e9"}}
name: Restore package cache
- restore_cache:
key: package-9482a944d360241325e338dfa9a851d0fe43a9b4-{{checksum ".buildcache/cache-keys/package-9482a944d360241325e338dfa9a851d0fe43a9b4"}}
name: Restore package cache
- restore_cache:
key: package-2d48eb2a33f72ce6fa062e4e564b233cacd43353-{{checksum ".buildcache/cache-keys/package-2d48eb2a33f72ce6fa062e4e564b233cacd43353"}}
name: Restore package cache
- restore_cache:
key: package-6b9210a5c1bad6003d87ea08ed5b94f18eae8ba9-{{checksum ".buildcache/cache-keys/package-6b9210a5c1bad6003d87ea08ed5b94f18eae8ba9"}}
name: Restore package cache
- restore_cache:
key: package-d99c8a3ef849508b565ebf4375111ebb457ddc17-{{checksum ".buildcache/cache-keys/package-d99c8a3ef849508b565ebf4375111ebb457ddc17"}}
name: Restore package cache
- restore_cache:
key: package-f026adc266342a85430aa9bdc60432dc8fade5c8-{{checksum ".buildcache/cache-keys/package-f026adc266342a85430aa9bdc60432dc8fade5c8"}}
name: Restore package cache
- restore_cache:
key: package-572f596d52077d585160c623ab53cfbe2ca0deff-{{checksum ".buildcache/cache-keys/package-572f596d52077d585160c623ab53cfbe2ca0deff"}}
name: Restore package cache
- restore_cache:
key: package-56f90069223fcddf591d33e53f5a0d0a9cce66d0-{{checksum ".buildcache/cache-keys/package-56f90069223fcddf591d33e53f5a0d0a9cce66d0"}}
name: Restore package cache
- restore_cache:
key: package-8d80f98dd76730118948c9144f3a3010d8427115-{{checksum ".buildcache/cache-keys/package-8d80f98dd76730118948c9144f3a3010d8427115"}}
name: Restore package cache
- restore_cache:
key: package-baccfdbb41289e59482379b843cb0ae5c28e4b86-{{checksum ".buildcache/cache-keys/package-baccfdbb41289e59482379b843cb0ae5c28e4b86"}}
name: Restore package cache
- restore_cache:
key: package-743af95c51d6e31d6c4eb36e6d93608bc321b145-{{checksum ".buildcache/cache-keys/package-743af95c51d6e31d6c4eb36e6d93608bc321b145"}}
name: Restore package cache
- restore_cache:
key: package-7e95e86a55a69831c64ea14a69d5367af7166366-{{checksum ".buildcache/cache-keys/package-7e95e86a55a69831c64ea14a69d5367af7166366"}}
name: Restore package cache
- run:
command: make package-meta-all
name: Write Package Metadata
- run:
command: make aliases
name: Write package aliases
- run:
command: ls -lahR .buildcache
name: List Build Cache
- run:
command: cp packages*.lock/pkgs.yml lockfile-b6fd42667bd7d0b6.yml
name: Update Lockfile Name
- run:
command: tar -czf packages-b6fd42667bd7d0b6.tar.gz .buildcache/packages lockfile-b6fd42667bd7d0b6.yml
name: Create Raw Package Tarball
- run:
command: tar -czf meta-b6fd42667bd7d0b6.tar.gz .buildcache/packages/store/*.json lockfile-b6fd42667bd7d0b6.yml
name: Create Metadata Tarball
- store_artifacts:
path: lockfile-b6fd42667bd7d0b6.yml
- store_artifacts:
path: packages-b6fd42667bd7d0b6.tar.gz
- store_artifacts:
path: meta-b6fd42667bd7d0b6.tar.gz
- store_artifacts:
path: .buildcache/packages
darwin_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-b13e14c5411bbcde09c0c45ff640430bcadf3555-{{checksum ".buildcache/cache-keys/package-b13e14c5411bbcde09c0c45ff640430bcadf3555"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-b13e14c5411bbcde09c0c45ff640430bcadf3555-{{checksum ".buildcache/cache-keys/package-b13e14c5411bbcde09c0c45ff640430bcadf3555"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: b13e14c5411bbcde09c0c45ff640430bcadf3555
freebsd_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-f47ffc099ea9a3aed49a7915e7a1581cf5069f3b-{{checksum ".buildcache/cache-keys/package-f47ffc099ea9a3aed49a7915e7a1581cf5069f3b"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-f47ffc099ea9a3aed49a7915e7a1581cf5069f3b-{{checksum ".buildcache/cache-keys/package-f47ffc099ea9a3aed49a7915e7a1581cf5069f3b"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: f47ffc099ea9a3aed49a7915e7a1581cf5069f3b
freebsd_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-f37f78d4fb4e03ade534e032fee4106848f4c7b4-{{checksum ".buildcache/cache-keys/package-f37f78d4fb4e03ade534e032fee4106848f4c7b4"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-f37f78d4fb4e03ade534e032fee4106848f4c7b4-{{checksum ".buildcache/cache-keys/package-f37f78d4fb4e03ade534e032fee4106848f4c7b4"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: f37f78d4fb4e03ade534e032fee4106848f4c7b4
freebsd_arm_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-a2ce45b598cccf1de88ef56e6d4fc6be447a85e9-{{checksum ".buildcache/cache-keys/package-a2ce45b598cccf1de88ef56e6d4fc6be447a85e9"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-a2ce45b598cccf1de88ef56e6d4fc6be447a85e9-{{checksum ".buildcache/cache-keys/package-a2ce45b598cccf1de88ef56e6d4fc6be447a85e9"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: a2ce45b598cccf1de88ef56e6d4fc6be447a85e9
linux_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-9482a944d360241325e338dfa9a851d0fe43a9b4-{{checksum ".buildcache/cache-keys/package-9482a944d360241325e338dfa9a851d0fe43a9b4"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-9482a944d360241325e338dfa9a851d0fe43a9b4-{{checksum ".buildcache/cache-keys/package-9482a944d360241325e338dfa9a851d0fe43a9b4"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 9482a944d360241325e338dfa9a851d0fe43a9b4
linux_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-2d48eb2a33f72ce6fa062e4e564b233cacd43353-{{checksum ".buildcache/cache-keys/package-2d48eb2a33f72ce6fa062e4e564b233cacd43353"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-2d48eb2a33f72ce6fa062e4e564b233cacd43353-{{checksum ".buildcache/cache-keys/package-2d48eb2a33f72ce6fa062e4e564b233cacd43353"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 2d48eb2a33f72ce6fa062e4e564b233cacd43353
linux_arm_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-6b9210a5c1bad6003d87ea08ed5b94f18eae8ba9-{{checksum ".buildcache/cache-keys/package-6b9210a5c1bad6003d87ea08ed5b94f18eae8ba9"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-6b9210a5c1bad6003d87ea08ed5b94f18eae8ba9-{{checksum ".buildcache/cache-keys/package-6b9210a5c1bad6003d87ea08ed5b94f18eae8ba9"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 6b9210a5c1bad6003d87ea08ed5b94f18eae8ba9
linux_arm64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-d99c8a3ef849508b565ebf4375111ebb457ddc17-{{checksum ".buildcache/cache-keys/package-d99c8a3ef849508b565ebf4375111ebb457ddc17"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-d99c8a3ef849508b565ebf4375111ebb457ddc17-{{checksum ".buildcache/cache-keys/package-d99c8a3ef849508b565ebf4375111ebb457ddc17"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: d99c8a3ef849508b565ebf4375111ebb457ddc17
netbsd_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-f026adc266342a85430aa9bdc60432dc8fade5c8-{{checksum ".buildcache/cache-keys/package-f026adc266342a85430aa9bdc60432dc8fade5c8"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-f026adc266342a85430aa9bdc60432dc8fade5c8-{{checksum ".buildcache/cache-keys/package-f026adc266342a85430aa9bdc60432dc8fade5c8"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: f026adc266342a85430aa9bdc60432dc8fade5c8
netbsd_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-572f596d52077d585160c623ab53cfbe2ca0deff-{{checksum ".buildcache/cache-keys/package-572f596d52077d585160c623ab53cfbe2ca0deff"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-572f596d52077d585160c623ab53cfbe2ca0deff-{{checksum ".buildcache/cache-keys/package-572f596d52077d585160c623ab53cfbe2ca0deff"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 572f596d52077d585160c623ab53cfbe2ca0deff
openbsd_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-56f90069223fcddf591d33e53f5a0d0a9cce66d0-{{checksum ".buildcache/cache-keys/package-56f90069223fcddf591d33e53f5a0d0a9cce66d0"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-56f90069223fcddf591d33e53f5a0d0a9cce66d0-{{checksum ".buildcache/cache-keys/package-56f90069223fcddf591d33e53f5a0d0a9cce66d0"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 56f90069223fcddf591d33e53f5a0d0a9cce66d0
openbsd_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-8d80f98dd76730118948c9144f3a3010d8427115-{{checksum ".buildcache/cache-keys/package-8d80f98dd76730118948c9144f3a3010d8427115"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-8d80f98dd76730118948c9144f3a3010d8427115-{{checksum ".buildcache/cache-keys/package-8d80f98dd76730118948c9144f3a3010d8427115"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 8d80f98dd76730118948c9144f3a3010d8427115
solaris_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-baccfdbb41289e59482379b843cb0ae5c28e4b86-{{checksum ".buildcache/cache-keys/package-baccfdbb41289e59482379b843cb0ae5c28e4b86"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-baccfdbb41289e59482379b843cb0ae5c28e4b86-{{checksum ".buildcache/cache-keys/package-baccfdbb41289e59482379b843cb0ae5c28e4b86"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: baccfdbb41289e59482379b843cb0ae5c28e4b86
windows_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-743af95c51d6e31d6c4eb36e6d93608bc321b145-{{checksum ".buildcache/cache-keys/package-743af95c51d6e31d6c4eb36e6d93608bc321b145"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-743af95c51d6e31d6c4eb36e6d93608bc321b145-{{checksum ".buildcache/cache-keys/package-743af95c51d6e31d6c4eb36e6d93608bc321b145"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 743af95c51d6e31d6c4eb36e6d93608bc321b145
windows_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-7e95e86a55a69831c64ea14a69d5367af7166366-{{checksum ".buildcache/cache-keys/package-7e95e86a55a69831c64ea14a69d5367af7166366"}}
name: Restore package cache
- run:
command: |2
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
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_30c9_{{checksum ".buildcache/cache-keys/copy-source-30c9ff65608c26f2b30c4133dc36d5c976e94d2d"}}
keys:
- go-modules_2560_{{checksum ".buildcache/cache-keys/go-modules-2560d6fc1e63067e058686961997fd8ee0bfa8ad"}}
- ui_ee02_{{checksum ".buildcache/cache-keys/ui-ee02eda076af5c8427789646d2c258cfa8a6e013"}}
- base_5d65_{{checksum ".buildcache/cache-keys/base-5d6560da565d7aaf001590c9ee19f099afda2fc9"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
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
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-7e95e86a55a69831c64ea14a69d5367af7166366-{{checksum ".buildcache/cache-keys/package-7e95e86a55a69831c64ea14a69d5367af7166366"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 7e95e86a55a69831c64ea14a69d5367af7166366
workflows:
build-b6fd42667bd7d0b6:
jobs:
- build-common-layers: {}
- darwin_amd64_package:
requires:
- build-common-layers
- bundle-releases:
requires:
- 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
- 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